def set_experimental_env(mode): from modin.config import IsExperimental IsExperimental.put(mode == "experimental")
performance. * Although the use of experimental backends and engines is available through the `modin.pandas` module when defining environment variable `MODIN_EXPERIMENTAL=true`, the use of experimental I/O functions is available only through the `modin.experimental.pandas` module. Examples -------- >>> import modin.experimental.pandas as pd >>> df = pd.read_csv_glob("data*.csv") """ from modin.config import IsExperimental IsExperimental.put(True) # import numpy_wrap as early as possible to intercept all "import numpy" statements # in the user code from .numpy_wrap import _CAUGHT_NUMPY # noqa F401 from modin.pandas import * # noqa F401, F403 from .io_exp import ( # noqa F401 read_sql, read_csv_glob, read_pickle_distributed, to_pickle_distributed, ) import warnings setattr(DataFrame, "to_pickle_distributed", to_pickle_distributed) # noqa: F405 warnings.warn( "Thank you for using the Modin Experimental pandas API."