Skip to content

Commit 8111cb6

Browse files
Fix imports
Signed-off-by: sfc-gh-mvashishtha <[email protected]>
1 parent f59fdae commit 8111cb6

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

modin/pandas/dataframe.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,6 @@
5959
from pandas.util._validators import validate_bool_kwarg
6060

6161
from modin.config import PersistentPickle
62-
from modin.core.computation.eval import _check_engine
63-
from modin.core.computation.parsing import clean_column_name
6462
from modin.core.storage_formats.pandas.query_compiler_caster import (
6563
EXTENSION_DICT_TYPE,
6664
EXTENSION_NO_LOOKUP,
@@ -902,6 +900,8 @@ def eval(self, expr, inplace=False, **kwargs): # noqa: PR01, RT01, D200
902900
"""
903901
Evaluate a string describing operations on ``DataFrame`` columns.
904902
"""
903+
from modin.core.computation.eval import _check_engine
904+
905905
self._update_var_dicts_in_kwargs(expr, kwargs)
906906
inplace = validate_bool_kwarg(inplace, "inplace")
907907

@@ -1758,6 +1758,8 @@ def _get_cleaned_column_resolvers(self) -> dict[Hashable, Series]: # noqa: RT01
17581758
-----
17591759
Copied from pandas.
17601760
"""
1761+
from modin.core.computation.parsing import clean_column_name
1762+
17611763
return {
17621764
clean_column_name(k): v for k, v in self.items() if not isinstance(k, int)
17631765
}

0 commit comments

Comments
 (0)