-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Pandas 2 compability: Fix a bug regarding timedelta64[ms] representation #4102 #4103
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -102,7 +102,8 @@ def plot(data_frame, kind, **kwargs): | |
if kind == "line": | ||
return line(data_frame, **kwargs) | ||
if kind == "area": | ||
return area(data_frame, **kwargs) | ||
new_kwargs = {k: kwargs[k] for k in kwargs if k not in ["stacked"]} | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Maybe a question for @nicolaskruchten as much as for you @kaibir - since there are already other examples of these exclusions in other There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. It raised in a test 🙈 There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. yeah in principle the Pandas team isn't meant to add kwargs or mess with that API much any more but if/when they do (by e.g. adding upstream kwargs) then our tests will fail. |
||
return area(data_frame, **new_kwargs) | ||
if kind == "bar": | ||
return bar(data_frame, **kwargs) | ||
if kind == "barh": | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
requests==2.25.1 | ||
tenacity==6.2.0 | ||
pandas==2.0.0 | ||
numpy==1.20.3 | ||
xarray==0.17.0 | ||
statsmodels | ||
Pillow==8.2.0 | ||
pytest==6.2.3 | ||
pytz==2021.1 | ||
ipython[all]==7.22.0 | ||
ipywidgets==8.0.2 | ||
ipykernel==5.5.3 | ||
jupyter==1.0.0 | ||
scipy==1.6.2 | ||
Shapely==1.7.1 | ||
geopandas==0.9.0 | ||
pyshp==2.1.3 | ||
matplotlib==2.2.3 | ||
scikit-image==0.18.1 | ||
psutil==5.7.0 | ||
kaleido |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@alexcjohnson Python 2.0 forbids creating float16 indxes:
The easiest thing to do would be to drop this line here.