Skip to content

Commit 07c858e

Browse files
committed
lints
1 parent 6bc1811 commit 07c858e

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

modin/config/envvars.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1349,12 +1349,12 @@ class NativePandasTransferThreshold(EnvironmentVariable, type=int):
13491349
class NativePandasDeepCopy(EnvironmentVariable, type=bool):
13501350
"""
13511351
Whether the native pandas backend performs a deep copy of the wrapped pandas DataFrame when
1352-
constructing a modin frame from a native pandas object, or when creating a native pandas
1353-
frame from a modin one via `df.modin.to_pandas()`.
1352+
constructing a Modin frame from a native pandas object, or when creating a native pandas
1353+
frame from a Modin one via `df.modin.to_pandas()`.
13541354
13551355
Disabling this flag produces significant performance improvements by reducing the number of
13561356
copy operations performed. However, it may create unexpected results if the user mutates
1357-
the modin frame or native pandas frame in-place while pandas's copy-on-write option is disabled:
1357+
the Modin frame or native pandas frame in-place while pandas's copy-on-write option is disabled:
13581358
13591359
>>> import pandas # doctest: +SKIP
13601360
>>> import modin.pandas as pd # doctest: +SKIP

modin/core/storage_formats/pandas/native_query_compiler.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,9 @@
2525
from pandas.core.dtypes.common import is_scalar
2626

2727
from modin.config.envvars import (
28+
NativePandasDeepCopy,
2829
NativePandasMaxRows,
2930
NativePandasTransferThreshold,
30-
NativePandasDeepCopy,
3131
)
3232
from modin.core.dataframe.base.interchange.dataframe_protocol.dataframe import (
3333
ProtocolDataframe,

0 commit comments

Comments
 (0)