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-#7195: Implement DataFrame API standard #7196

Closed
wants to merge 13 commits into from

Conversation

anmyachev
Copy link
Collaborator

@anmyachev anmyachev commented Apr 17, 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 DataFrame API standard #7195
  • 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>
Signed-off-by: Anatoly Myachev <anatoly.myachev@intel.com>
Signed-off-by: Anatoly Myachev <anatoly.myachev@intel.com>
Signed-off-by: Anatoly Myachev <anatoly.myachev@intel.com>
Signed-off-by: Anatoly Myachev <anatoly.myachev@intel.com>
Signed-off-by: Anatoly Myachev <anatoly.myachev@intel.com>
Signed-off-by: Anatoly Myachev <anatoly.myachev@intel.com>
Signed-off-by: Anatoly Myachev <anatoly.myachev@intel.com>
Signed-off-by: Anatoly Myachev <anatoly.myachev@intel.com>
modin/dataframe_api_standard/column_object.py Dismissed Show dismissed Hide dismissed
modin/dataframe_api_standard/column_object.py Dismissed Show dismissed Hide dismissed
modin/dataframe_api_standard/dataframe_object.py Dismissed Show dismissed Hide dismissed
modin/dataframe_api_standard/dataframe_object.py Dismissed Show dismissed Hide dismissed
modin/dataframe_api_standard/dataframe_object.py Dismissed Show dismissed Hide dismissed
df = integer_dataframe_1(library)
df = df.persist()
df1 = df.filter(df.col("a") > 1)
df2 = df.filter(df.col("a") <= 1)

Check notice

Code scanning / CodeQL

Unused local variable Note test

Variable df2 is not used.
df1 = df.filter(df.col("a") > 1)
df2 = df.filter(df.col("a") <= 1)

df1 = df1.persist()

Check notice

Code scanning / CodeQL

Unused local variable Note test

Variable df1 is not used.
kwargs: dict[str, Any],
) -> None:
df = integer_dataframe_1(library)
ns = df.__dataframe_namespace__()

Check warning

Code scanning / CodeQL

Variable defined multiple times Warning test

This assignment to 'ns' is unnecessary as it is
redefined
before this value is used.
pytest.skip("TODO: enable for modin")
df1 = integer_dataframe_1(library)
df2 = integer_dataframe_2(library)
ns = df1.__dataframe_namespace__()

Check warning

Code scanning / CodeQL

Variable defined multiple times Warning test

This assignment to 'ns' is unnecessary as it is
redefined
before this value is used.

def test_column_to_array_object(library: BaseHandler) -> None:
col = integer_dataframe_1(library).col("a")
result = np.asarray(col.persist().to_array())

Check warning

Code scanning / CodeQL

Variable defined multiple times Warning test

This assignment to 'result' is unnecessary as it is
redefined
before this value is used.
Signed-off-by: Anatoly Myachev <anatoly.myachev@intel.com>
Signed-off-by: Anatoly Myachev <anatoly.myachev@intel.com>
Signed-off-by: Anatoly Myachev <anatoly.myachev@intel.com>
@anmyachev anmyachev marked this pull request as ready for review April 17, 2024 18:07
@anmyachev anmyachev marked this pull request as draft April 18, 2024 14:36
@anmyachev
Copy link
Collaborator Author

Closed in favour of #7216

@anmyachev anmyachev closed this Apr 25, 2024
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 DataFrame API standard
1 participant