Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
Signed-off-by: Anatoly Myachev <anatoly.myachev@intel.com>
  • Loading branch information
anmyachev committed Feb 12, 2024
1 parent f63997a commit d6a3ab9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion modin/pandas/dataframe.py
Original file line number Diff line number Diff line change
Expand Up @@ -2818,7 +2818,9 @@ def __dataframe_consortium_standard__(
This is developed and maintained outside of Modin.
Please report any issues to https://github.com/data-apis/dataframe-api-compat.
"""
dataframe_api_compat = import_optional_dependency("dataframe_api_compat")
dataframe_api_compat = import_optional_dependency(
"dataframe_api_compat", "implementation"
)
convert_to_standard_compliant_dataframe = (
dataframe_api_compat.modin_standard.convert_to_standard_compliant_dataframe
)
Expand Down
4 changes: 3 additions & 1 deletion modin/pandas/series.py
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,9 @@ def __column_consortium_standard__(
This is developed and maintained outside of Modin.
Please report any issues to https://github.com/data-apis/dataframe-api-compat.
"""
dataframe_api_compat = import_optional_dependency("dataframe_api_compat")
dataframe_api_compat = import_optional_dependency(
"dataframe_api_compat", "implementation"
)
return dataframe_api_compat.modin_standard.convert_to_standard_compliant_column(
self, api_version=api_version
)
Expand Down

0 comments on commit d6a3ab9

Please sign in to comment.