You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So if we want to import some util functions in BaseQueryCompiler we will create a circular import which will lead to an ImportError, because when inside BaseQueryCompiler we want to
frommodin.pandas.utilsimporttry_cast_to_pandas
it will trigger to import BaseQueryCompiler inside BaseQueryCompiler
The text was updated successfully, but these errors were encountered:
dchigarev
changed the title
Move non-dependent on pandas utils from modin/pandas/utils.py to modin/utils.py
Move non-dependent on modin.DataFrame utils from modin/pandas/utils.py to modin/utils.py
Sep 9, 2020
Currently importing anything from
modin/pandas/utils.py
will trigger the execution ofmodin/pandas/__init__.py
which importsmodin/pandas/concat.py
in its scope, which in its turn importsBaseQueryCompiler
.So if we want to import some util functions in
BaseQueryCompiler
we will create a circular import which will lead to anImportError
, because when insideBaseQueryCompiler
we want toit will trigger to import
BaseQueryCompiler
insideBaseQueryCompiler
The text was updated successfully, but these errors were encountered: