-
Notifications
You must be signed in to change notification settings - Fork 64
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
replace is_datetime_or_timedelta_dtype
#316
replace is_datetime_or_timedelta_dtype
#316
Conversation
Signed-off-by: kalyan <[email protected]>
Signed-off-by: kalyan <[email protected]>
Signed-off-by: kalyan <[email protected]>
Could you please check if this change works with panda version |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #316 +/- ##
==========================================
- Coverage 91.47% 90.68% -0.79%
==========================================
Files 40 40
Lines 4339 4339
==========================================
- Hits 3969 3935 -34
- Misses 370 404 +34 ☔ View full report in Codecov by Sentry. |
From what i see, this is a breaking change only after 2.1. If we stick to 2.0.3, it worked without issues. Can i update nox tests to just use the pandas from requirements.txt instead of pinning it to 1.5.3? |
Looks like this should work with 2.1.0 version also: https://pandas.pydata.org/docs/reference/api/pandas.api.types.is_timedelta64_dtype.html. That's good then. |
I think this is a vital change. Could you please update the changelog. Section 1.2.0 and add details in the Update section. |
Signed-off-by: kalyan <[email protected]>
Updated changelog. |
…ch-py-ml into kalyan/263-fix-pandas-import-issue Signed-off-by: kalyanr <[email protected]>
Hitting this now
Not sure whether it's my environment or something else. I also tried various versions of Pandas from 2.0.0 through 2.2.1, same problem. I seem to have the latest version of opensearch-py-ml (and opensearch-py) |
Also hitting the same issue. This PR gets merged after 1.1.0 release of opensearch-py-ml. Do we have a newer version to include this PR? |
I tried to manually pick up the changes in this PR to file |
This solution also works for me: #306 (comment) |
I'm still getting this issue on |
Because 1.1.0 version does not include this pull request. You can check my comment above. |
Description
removes deprecated
is_datetime_or_timedelta_dtype
usageIssues Resolved
#263
Check List
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.