Skip to content

Commit

Permalink
fix protocol tests
Browse files Browse the repository at this point in the history
Signed-off-by: Dmitry Chigarev <[email protected]>
  • Loading branch information
dchigarev committed Dec 6, 2023
1 parent f3af9b1 commit f815ebd
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions modin/pandas/io.py
Original file line number Diff line number Diff line change
Expand Up @@ -1033,9 +1033,7 @@ def from_dataframe(df):
"""
from modin.core.execution.dispatching.factories.dispatcher import FactoryDispatcher

return ModinObjects.DataFrame(
query_compiler=FactoryDispatcher.from_ModinObjects.DataFrame(df)
)
return ModinObjects.DataFrame(query_compiler=FactoryDispatcher.from_dataframe(df))


def to_pandas(modin_obj: SupportsPrivateToPandas) -> Any:
Expand Down

0 comments on commit f815ebd

Please sign in to comment.