Skip to content

Commit

Permalink
fix pylint
Browse files Browse the repository at this point in the history
  • Loading branch information
zhaoyongjie committed Apr 14, 2022
1 parent 49c2395 commit 51aa319
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion superset/utils/pandas_postprocessing/flatten.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,6 @@ def flatten(
1 2021-01-02 1 1 1 1
2 2021-01-03 1 1 1 1
"""

if _is_multi_index_on_columns(df):
df.columns = df.columns.droplevel(drop_levels)
# every cell should be converted to string
Expand Down

0 comments on commit 51aa319

Please sign in to comment.