diff --git a/modin/experimental/pandas/__init__.py b/modin/experimental/pandas/__init__.py index 0825a5bb202..edb1eff496d 100644 --- a/modin/experimental/pandas/__init__.py +++ b/modin/experimental/pandas/__init__.py @@ -33,7 +33,6 @@ """ from modin.pandas import * # noqa F401, F403 -from modin.utils import func_from_deprecated_location from .io import ( # noqa F401 read_csv_glob, @@ -44,10 +43,3 @@ read_sql, read_xml_glob, ) - -read_pickle_distributed = func_from_deprecated_location( - "read_pickle_glob", - "modin.experimental.pandas.io", - "`modin.experimental.pandas.read_pickle_distributed` is deprecated and will be removed in a future version. " - + "Please use `modin.experimental.pandas.to_pickle_glob` instead.", -) diff --git a/modin/pandas/accessor.py b/modin/pandas/accessor.py index 0f59b7718e3..64676abb8fe 100644 --- a/modin/pandas/accessor.py +++ b/modin/pandas/accessor.py @@ -331,22 +331,6 @@ def to_pickle_glob( storage_options=storage_options, ) - def to_pickle_distributed( - self, - filepath_or_buffer, - compression: CompressionOptions = "infer", - protocol: int = pickle.HIGHEST_PROTOCOL, - storage_options: StorageOptions = None, - ) -> None: # noqa - warnings.warn( - "`DataFrame.modin.to_pickle_distributed` is deprecated and will be removed in a future version. " - + "Please use `DataFrame.modin.to_pickle_glob` instead.", - category=FutureWarning, - ) - return self.to_pickle_glob( - filepath_or_buffer, compression, protocol, storage_options - ) - def to_parquet_glob( self, path, diff --git a/modin/tests/experimental/test_io_exp.py b/modin/tests/experimental/test_io_exp.py index 30447164e5a..bc6830731ad 100644 --- a/modin/tests/experimental/test_io_exp.py +++ b/modin/tests/experimental/test_io_exp.py @@ -253,8 +253,8 @@ def _pandas_read_csv_glob(path, storage_options): @pytest.mark.parametrize( "filename", ["test_default_to_pickle.pkl", "test_to_pickle*.pkl"] ) -@pytest.mark.parametrize("read_func", ["read_pickle_glob", "read_pickle_distributed"]) -@pytest.mark.parametrize("to_func", ["to_pickle_glob", "to_pickle_distributed"]) +@pytest.mark.parametrize("read_func", ["read_pickle_glob"]) +@pytest.mark.parametrize("to_func", ["to_pickle_glob"]) def test_distributed_pickling( tmp_path, filename, compression, pathlike, read_func, to_func ):