chore: Bump pandas to 1.4.4 (#21285)

This commit is contained in:
EugeneTorap 2022-09-02 13:05:22 +03:00 committed by GitHub
parent f71ee2e7bc
commit 60db0bb47e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 2 additions and 5 deletions

View File

@ -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

View File

@ -100,7 +100,7 @@ setup(
"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",

View File

@ -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: