Skip to content
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

Pandas Deprecation Warning: Converting Datetime to Int #96

Closed
shakedzy opened this issue Aug 23, 2021 · 0 comments · Fixed by #114
Closed

Pandas Deprecation Warning: Converting Datetime to Int #96

shakedzy opened this issue Aug 23, 2021 · 0 comments · Fixed by #114
Labels
versioning Raise awareness to issues arising from versions of dependencies

Comments

@shakedzy
Copy link
Owner

Pandas 1.3.2 throws the following deprecation when using nominal.associations with datetime data:

.../dython/nominal.py:341: FutureWarning: casting datetime64[ns] values to int64 with .astype(...) is deprecated and will raise in a future version. Use .view(...) instead.
  dataset[datetime_cols] = dataset[datetime_cols].astype(np.int64)
@shakedzy shakedzy added the versioning Raise awareness to issues arising from versions of dependencies label Aug 23, 2021
@shakedzy shakedzy changed the title Handle New Pandas Deprecation Warning Pandas Deprecation Warning: Converting Datetime to Int Aug 23, 2021
@shakedzy shakedzy linked a pull request Jan 20, 2022 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
versioning Raise awareness to issues arising from versions of dependencies
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant