Skip to content

Commit

Permalink
REFACTOR-modin-project#6958: Remove DataFrame.to_pickle_distributed i…
Browse files Browse the repository at this point in the history
…n favour of DataFrame.modin.to_pickle_distributed

Signed-off-by: Anatoly Myachev <anatoly.myachev@intel.com>
  • Loading branch information
anmyachev committed Feb 22, 2024
1 parent 6dfe13f commit 13bda66
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions modin/experimental/pandas/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,20 +45,4 @@
read_pickle_distributed,
read_sql,
read_xml_glob,
to_pickle_distributed,
)

old_to_pickle_distributed = to_pickle_distributed


@functools.wraps(to_pickle_distributed)
def to_pickle_distributed(*args, **kwargs):
warnings.warn(
"`DataFrame.to_pickle_distributed` is deprecated and will be removed in a future version. "
+ "Please use `DataFrame.modin.to_pickle_distributed` instead.",
category=FutureWarning,
)
return old_to_pickle_distributed(*args, **kwargs)


setattr(DataFrame, "to_pickle_distributed", to_pickle_distributed) # noqa: F405

0 comments on commit 13bda66

Please sign in to comment.