File tree 4 files changed +6
-6
lines changed
4 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -3204,7 +3204,7 @@ argument to ``to_excel`` and to ``ExcelWriter``. The built-in engines are:
3204
3204
writer = pd.ExcelWriter(' path_to_file.xlsx' , engine = ' xlsxwriter' )
3205
3205
3206
3206
# Or via pandas configuration.
3207
- from pandas import options # noqa: E402
3207
+ from pandas import options. # noqa: E402
3208
3208
options.io.excel.xlsx.writer = ' xlsxwriter'
3209
3209
3210
3210
df.to_excel(' path_to_file.xlsx' , sheet_name = ' Sheet1' )
Original file line number Diff line number Diff line change 37
37
import pandas .util .testing as tm
38
38
from pandas .util .testing import assert_frame_equal , assert_series_equal , set_timezone
39
39
40
- from pandas .io import pytables as pytables # noqa:E402
40
+ from pandas .io import pytables as pytables # noqa: E402 isort:skip
41
41
from pandas .io .formats .printing import pprint_thing
42
42
from pandas .io .pytables import (
43
43
ClosedFileError ,
46
46
Term ,
47
47
read_hdf ,
48
48
)
49
- from pandas .io .pytables import TableIterator # noqa:E402
49
+ from pandas .io .pytables import TableIterator # noqa: E402 isort:skip
50
50
51
51
tables = pytest .importorskip ("tables" )
52
52
Original file line number Diff line number Diff line change 8
8
import pandas .util .testing as tm
9
9
from pandas .util .testing import assert_frame_equal , ensure_clean
10
10
11
- from pandas .io .feather_format import read_feather , to_feather # noqa:E402
11
+ from pandas .io .feather_format import read_feather , to_feather # noqa: E402 isort:skip
12
12
13
13
pyarrow = pytest .importorskip ("pyarrow" )
14
14
Original file line number Diff line number Diff line change @@ -58,8 +58,8 @@ def is_platform_mac():
58
58
# The import of Extension must be after the import of Cython, otherwise
59
59
# we do not get the appropriately patched class.
60
60
# See https://cython.readthedocs.io/en/latest/src/reference/compilation.html
61
- from distutils .extension import Extension # noqa:E402
62
- from distutils .command .build import build # noqa:E402
61
+ from distutils .extension import Extension # noqa: E402 isort:skip
62
+ from distutils .command .build import build # noqa: E402 isort:skip
63
63
64
64
try :
65
65
if not _CYTHON_INSTALLED :
You can’t perform that action at this time.
0 commit comments