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

FIX-#5196: Support pandas tseries and offsets. #5197

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

mvashishtha
Copy link
Collaborator

Signed-off-by: mvashishtha [email protected]

What do these changes do?

  • first commit message and PR title follow format outlined here

    NOTE: If you edit the PR title to match this format, you need to add another commit (even if it's empty) or amend your last commit for the CI job that checks the PR title to pick up the new PR title.

  • passes flake8 modin/ asv_bench/benchmarks scripts/doc_checker.py
  • passes black --check modin/ asv_bench/benchmarks scripts/doc_checker.py
  • signed commit with git commit -s
  • Resolves FIX: Support pandas.tseries and pandas.offsets #5196
  • tests added and passing
  • module layout described at docs/development/architecture.rst is up-to-date

@mvashishtha mvashishtha requested a review from a team as a code owner November 4, 2022 19:47
Copy link
Collaborator

@pyrito pyrito left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@mvashishtha you're hitting a flake, need to re-run CI

@@ -33,11 +33,9 @@ def test_top_level_api_equality():
"core",
"compat",
"util",
"offsets",
"datetime",
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Datetime and np are not in the namespace in main anymore

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

datetime isn't in dir(pandas), but I can do from pandas import datetime. Not sure how that works. I removed np.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

but I can do from pandas import datetime

sure you're using main?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I just tried main-- I get ImportError: cannot import name 'get_supported_reso' from 'pandas._libs.tslibs.dtypes'. But Modin CI isn't using main pandas, so we can't change this yet.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you likely need to re-build

anmyachev
anmyachev previously approved these changes Nov 10, 2022
mvashishtha added 3 commits November 10, 2022 08:14
Comment on lines +99 to +100
tseries,
offsets,
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Don't these modules return objects that Modin should wrap in Series or DataFrame?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not offsets. some other stuff in tseries yes

Copy link
Collaborator

@anmyachev anmyachev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@mvashishtha please note on #5197 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

FIX: Support pandas.tseries and pandas.offsets
4 participants