Pandas 1.2.0 compatibility - `std()` for the `datetime64[ns]` dtype
See original GitHub issueThis doesn’t work yet in dask because here the implementation of std
generally depends on var
, which doesn’t work for datetimes.
Some tests are skipped for this in dask/dataframe/tests/test_arithmetics_reduction.py
Issue Analytics
- State:
- Created 2 years ago
- Comments:10 (10 by maintainers)
Top Results From Across the Web
What's new in 1.2.0 (December 26, 2020) - Pandas
all() with bool_only=True now determines whether to exclude object-dtype columns on a column-by-column basis, instead of checking if all object-dtype columns ...
Read more >Follow-up compatibility issues with pandas #7100 - GitHub
In #6996 we ensured that CI passes with pandas 1.1, 1.2 and master ... Pandas 1.2.0 compatibility - std() for the datetime64[ns] dtype...
Read more >Pandas | Kaggle
Explore and run machine learning code with Kaggle Notebooks | Using data from Video Game Sales.
Read more >pandas 1.2.0 - PyPI
pandas is well suited for many different kinds of data: Tabular data with heterogeneously-typed columns, as in an SQL table or Excel spreadsheet....
Read more >apache_beam.dataframe.frames module - Apache Beam
Note that we aim for the Beam DataFrame API to be completely compatible with the pandas API, but there are some features that...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Sorry for the long break! Created a PR when you have the time. It addresses the
dtype
error I was getting and also has code for doingaxis=1
.Hi there again! Sorry for not getting back to this sooner.
This isn’t done but I’d rather not do more work on it until I have some feedback on how I am doing it, since I think y’all may have some good feedback to where I should be doing things differently.
Here’s the commit: https://github.com/bglossner/dask/commit/922d7a1e28a7452153d3b72f54aa48f91d871acc. I’ll probably have more questions after this. Thanks a bunch and let me know if you’d rather have a PR instead!
I originally included timedelta in this as well but figured that might be feature creeping. Hopefully not hard to add, though (was just adding
np.timedelta64
to theinclude
for what I already had).