question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Pandas 1.2.0 compatibility - `std()` for the `datetime64[ns]` dtype

See original GitHub issue

This 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:closed
  • Created 2 years ago
  • Comments:10 (10 by maintainers)

github_iconTop GitHub Comments

1reaction
bglossnercommented, Jan 1, 2022

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 doing axis=1.

1reaction
bglossnercommented, Nov 28, 2021

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 the include for what I already had).

Read more comments on GitHub >

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

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found