Skip to content

Commit d01561f

Browse files
authored
force grid-wrap (#39780)
1 parent 4f14b24 commit d01561f

File tree

828 files changed

+7855
-1607
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

828 files changed

+7855
-1607
lines changed

asv_bench/benchmarks/arithmetic.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,13 @@
44
import numpy as np
55

66
import pandas as pd
7-
from pandas import DataFrame, Series, Timestamp, date_range, to_timedelta
7+
from pandas import (
8+
DataFrame,
9+
Series,
10+
Timestamp,
11+
date_range,
12+
to_timedelta,
13+
)
814
import pandas._testing as tm
915
from pandas.core.algorithms import checked_add_with_arr
1016

asv_bench/benchmarks/ctors.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
11
import numpy as np
22

3-
from pandas import DatetimeIndex, Index, MultiIndex, Series, Timestamp
3+
from pandas import (
4+
DatetimeIndex,
5+
Index,
6+
MultiIndex,
7+
Series,
8+
Timestamp,
9+
)
410

511
from .pandas_vb_common import tm
612

asv_bench/benchmarks/dtypes.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,10 @@
55
import pandas as pd
66
from pandas import DataFrame
77
import pandas._testing as tm
8-
from pandas.api.types import is_extension_array_dtype, pandas_dtype
8+
from pandas.api.types import (
9+
is_extension_array_dtype,
10+
pandas_dtype,
11+
)
912

1013
from .pandas_vb_common import (
1114
datetime_dtypes,

asv_bench/benchmarks/frame_ctor.py

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,21 @@
11
import numpy as np
22

33
import pandas as pd
4-
from pandas import DataFrame, MultiIndex, Series, Timestamp, date_range
4+
from pandas import (
5+
DataFrame,
6+
MultiIndex,
7+
Series,
8+
Timestamp,
9+
date_range,
10+
)
511

612
from .pandas_vb_common import tm
713

814
try:
9-
from pandas.tseries.offsets import Hour, Nano
15+
from pandas.tseries.offsets import (
16+
Hour,
17+
Nano,
18+
)
1019
except ImportError:
1120
# For compatibility with older versions
1221
from pandas.core.datetools import * # noqa

asv_bench/benchmarks/frame_methods.py

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,15 @@
33

44
import numpy as np
55

6-
from pandas import DataFrame, MultiIndex, NaT, Series, date_range, isnull, period_range
6+
from pandas import (
7+
DataFrame,
8+
MultiIndex,
9+
NaT,
10+
Series,
11+
date_range,
12+
isnull,
13+
period_range,
14+
)
715

816
from .pandas_vb_common import tm
917

asv_bench/benchmarks/gil.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
11
import numpy as np
22

3-
from pandas import DataFrame, Series, date_range, factorize, read_csv
3+
from pandas import (
4+
DataFrame,
5+
Series,
6+
date_range,
7+
factorize,
8+
read_csv,
9+
)
410
from pandas.core.algorithms import take_nd
511

612
from .pandas_vb_common import tm

asv_bench/benchmarks/inference.py

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,14 @@
11
import numpy as np
22

3-
from pandas import Series, to_numeric
4-
5-
from .pandas_vb_common import lib, tm
3+
from pandas import (
4+
Series,
5+
to_numeric,
6+
)
7+
8+
from .pandas_vb_common import (
9+
lib,
10+
tm,
11+
)
612

713

814
class ToNumeric:

asv_bench/benchmarks/io/csv.py

Lines changed: 16 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,24 @@
1-
from io import BytesIO, StringIO
1+
from io import (
2+
BytesIO,
3+
StringIO,
4+
)
25
import random
36
import string
47

58
import numpy as np
69

7-
from pandas import Categorical, DataFrame, date_range, read_csv, to_datetime
8-
9-
from ..pandas_vb_common import BaseIO, tm
10+
from pandas import (
11+
Categorical,
12+
DataFrame,
13+
date_range,
14+
read_csv,
15+
to_datetime,
16+
)
17+
18+
from ..pandas_vb_common import (
19+
BaseIO,
20+
tm,
21+
)
1022

1123

1224
class ToCSV(BaseIO):

asv_bench/benchmarks/io/excel.py

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,19 @@
22

33
import numpy as np
44
from odf.opendocument import OpenDocumentSpreadsheet
5-
from odf.table import Table, TableCell, TableRow
5+
from odf.table import (
6+
Table,
7+
TableCell,
8+
TableRow,
9+
)
610
from odf.text import P
711

8-
from pandas import DataFrame, ExcelWriter, date_range, read_excel
12+
from pandas import (
13+
DataFrame,
14+
ExcelWriter,
15+
date_range,
16+
read_excel,
17+
)
918

1019
from ..pandas_vb_common import tm
1120

asv_bench/benchmarks/io/hdf.py

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,16 @@
11
import numpy as np
22

3-
from pandas import DataFrame, HDFStore, date_range, read_hdf
4-
5-
from ..pandas_vb_common import BaseIO, tm
3+
from pandas import (
4+
DataFrame,
5+
HDFStore,
6+
date_range,
7+
read_hdf,
8+
)
9+
10+
from ..pandas_vb_common import (
11+
BaseIO,
12+
tm,
13+
)
614

715

816
class HDFStoreDataFrame(BaseIO):

0 commit comments

Comments
 (0)