Skip to content

Commit 55b453f

Browse files
committed
fix(histogram): prevent creating new df
1 parent 7e37e67 commit 55b453f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

superset/utils/pandas_postprocessing/histogram.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ def histogram(
4949
groupby = []
5050

5151
# drop empty values from the target column
52-
df = df.dropna(subset=[column])
52+
df.dropna(subset=[column], inplace=True)
5353
if df.empty:
5454
return df
5555

0 commit comments

Comments
 (0)