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

FEAT-#6832: Implement read_xml_glob, to_xml_glob #6930

Merged
merged 3 commits into from Feb 14, 2024

Conversation

anmyachev
Copy link
Collaborator

@anmyachev anmyachev commented Feb 13, 2024

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 Implement read_xml_glob #6832
  • tests added and passing
  • module layout described at docs/development/architecture.rst is up-to-date

Signed-off-by: Anatoly Myachev <anatoly.myachev@intel.com>
@anmyachev anmyachev marked this pull request as ready for review February 13, 2024 18:21
modin/pandas/dataframe.py Outdated Show resolved Hide resolved
@@ -44,6 +44,7 @@
read_parquet_glob,
read_pickle_distributed,
read_sql,
read_xml_glob,
to_pickle_distributed,
Copy link
Collaborator

Choose a reason for hiding this comment

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

Do we have an issue to remove the deprecated to_pickle_distributed?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

It would be great to deprecate it already in this release.

Signed-off-by: Anatoly Myachev <anatoly.myachev@intel.com>
YarShev
YarShev previously approved these changes Feb 13, 2024
Signed-off-by: Anatoly Myachev <anatoly.myachev@intel.com>
def test_to_xml():
# `lxml` is a required dependency for `to_xml`, but optional for Modin.
# For some engines we do not install it (like for HDK).
pytest.importorskip("lxml")
Copy link
Collaborator

Choose a reason for hiding this comment

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

Why can't we add it to development dependencies?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

We can, but it's not strictly necessary. I don’t really want to complicate HDK environment, since it has the same code used for defaulting into pandas.

Copy link
Collaborator

Choose a reason for hiding this comment

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

I don't think we will complicate HDK env with a new dep. Maybe we could do this in a separate issue.

@YarShev YarShev merged commit 180143a into modin-project:master Feb 14, 2024
53 checks passed
@anmyachev anmyachev deleted the issue6832 branch February 14, 2024 11:33
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.

Implement read_xml_glob
2 participants