Skip to content

Commit af3615e

Browse files
fix(histogram): create new df
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 55b453f commit af3615e

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.dropna(subset=[column], inplace=True)
52+
df = df.dropna(subset=[column])
5353
if df.empty:
5454
return df
5555

0 commit comments

Comments
 (0)