Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 12 additions & 6 deletions python/ray/dataframe/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,13 @@
from __future__ import print_function

import pandas as pd
from pandas import (eval, MultiIndex, CategoricalIndex, Series, Panel, unique,
value_counts, date_range, Timedelta, Timestamp,
to_datetime, NaT)
# TODO: In the future `set_option` or similar needs to run on every node
# in order to keep all pandas instances across nodes consistent
from pandas import (eval, unique, value_counts, cut, to_numeric, factorize,
test, qcut, match, Panel, date_range, Index, MultiIndex,
CategoricalIndex, Series, bdate_range, DatetimeIndex,
Timedelta, Timestamp, to_timedelta, set_eng_float_format,
set_option, NaT)
import threading

pd_version = pd.__version__
Expand Down Expand Up @@ -41,9 +45,11 @@ def get_npartitions():

__all__ = [
"DataFrame", "Series", "read_csv", "read_parquet", "concat", "eval",
"Panel", "unique", "get_dummies", "value_counts", "MultiIndex",
"CategoricalIndex", "Timedelta", "Timestamp", "date_range", "to_datetime",
"NaT"
"unique", "value_counts", "cut", "to_numeric", "factorize", "test", "qcut",
"match", "to_datetime", "get_dummies", "Panel", "date_range", "Index",
"MultiIndex", "Series", "bdate_range", "DatetimeIndex", "to_timedelta",
"set_eng_float_format", "set_option", "CategoricalIndex", "Timedelta",
"Timestamp", "NaT"
]

try:
Expand Down