Skip to content

Commit

Permalink
chore: Bump pandas to 1.4.4 (#21285)
Browse files Browse the repository at this point in the history
  • Loading branch information
EugeneTorap committed Sep 2, 2022
1 parent f71ee2e commit 60db0bb
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 5 deletions.
2 changes: 1 addition & 1 deletion requirements/base.txt
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ packaging==21.3
# via
# bleach
# deprecation
pandas==1.4.3
pandas==1.4.4
# via apache-superset
parsedatetime==2.6
# via apache-superset
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ def get_git_sha() -> str:
"markdown>=3.0",
"msgpack>=1.0.0, <1.1",
"numpy==1.22.1",
"pandas>=1.4.3, <1.5",
"pandas>=1.4.4, <1.5",
"parsedatetime",
"pgsanity",
"polyline",
Expand Down
3 changes: 0 additions & 3 deletions superset/utils/pandas_postprocessing/contribution.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,6 @@ def contribution(
"""
contribution_df = df.copy()
numeric_df = contribution_df.select_dtypes(include=["number", Decimal])
# TODO: copy needed due to following regression in 1.4, remove if not needed:
# https://github.com/pandas-dev/pandas/issues/48090
numeric_df = numeric_df.copy()
numeric_df.fillna(0, inplace=True)
# verify column selections
if columns:
Expand Down

0 comments on commit 60db0bb

Please sign in to comment.