@@ -743,7 +743,8 @@ def repr_class(x):
743743
744744
745745def assert_attr_equal (attr , left , right , obj = "Attributes" ):
746- """checks attributes are equal. Both objects must have attribute.
746+ """
747+ checks attributes are equal. Both objects must have attribute.
747748
748749 Parameters
749750 ----------
@@ -820,7 +821,8 @@ def assert_is_sorted(seq):
820821def assert_categorical_equal (
821822 left , right , check_dtype = True , check_category_order = True , obj = "Categorical"
822823):
823- """Test that Categoricals are equivalent.
824+ """
825+ Test that Categoricals are equivalent.
824826
825827 Parameters
826828 ----------
@@ -860,7 +862,8 @@ def assert_categorical_equal(
860862
861863
862864def assert_interval_array_equal (left , right , exact = "equiv" , obj = "IntervalArray" ):
863- """Test that two IntervalArrays are equivalent.
865+ """
866+ Test that two IntervalArrays are equivalent.
864867
865868 Parameters
866869 ----------
@@ -1009,7 +1012,8 @@ def _raise(left, right, err_msg):
10091012def assert_extension_array_equal (
10101013 left , right , check_dtype = True , check_less_precise = False , check_exact = False
10111014):
1012- """Check that left and right ExtensionArrays are equal.
1015+ """
1016+ Check that left and right ExtensionArrays are equal.
10131017
10141018 Parameters
10151019 ----------
@@ -1489,7 +1493,8 @@ def assert_sp_array_equal(
14891493 check_fill_value = True ,
14901494 consolidate_block_indices = False ,
14911495):
1492- """Check that the left and right SparseArray are equal.
1496+ """
1497+ Check that the left and right SparseArray are equal.
14931498
14941499 Parameters
14951500 ----------
@@ -1724,7 +1729,8 @@ def _make_timeseries(start="2000-01-01", end="2000-12-31", freq="1D", seed=None)
17241729
17251730
17261731def all_index_generator (k = 10 ):
1727- """Generator which can be iterated over to get instances of all the various
1732+ """
1733+ Generator which can be iterated over to get instances of all the various
17281734 index classes.
17291735
17301736 Parameters
@@ -1763,7 +1769,8 @@ def index_subclass_makers_generator():
17631769
17641770
17651771def all_timeseries_index_generator (k = 10 ):
1766- """Generator which can be iterated over to get instances of all the classes
1772+ """
1773+ Generator which can be iterated over to get instances of all the classes
17671774 which represent time-series.
17681775
17691776 Parameters
@@ -1854,7 +1861,8 @@ def makePeriodFrame(nper=None):
18541861def makeCustomIndex (
18551862 nentries , nlevels , prefix = "#" , names = False , ndupe_l = None , idx_type = None
18561863):
1857- """Create an index/multindex with given dimensions, levels, names, etc'
1864+ """
1865+ Create an index/multindex with given dimensions, levels, names, etc'
18581866
18591867 nentries - number of entries in index
18601868 nlevels - number of levels (> 1 produces multindex)
@@ -2144,7 +2152,8 @@ def makeMissingDataframe(density=0.9, random_state=None):
21442152
21452153
21462154def optional_args (decorator ):
2147- """allows a decorator to take optional positional and keyword arguments.
2155+ """
2156+ allows a decorator to take optional positional and keyword arguments.
21482157 Assumes that taking a single, callable, positional argument means that
21492158 it is decorating a function, i.e. something like this::
21502159
@@ -2216,7 +2225,8 @@ def _get_default_network_errors():
22162225
22172226
22182227def can_connect (url , error_classes = None ):
2219- """Try to connect to the given url. True if succeeds, False if IOError
2228+ """
2229+ Try to connect to the given url. True if succeeds, False if IOError
22202230 raised
22212231
22222232 Parameters
@@ -2584,7 +2594,8 @@ def use_numexpr(use, min_elements=None):
25842594
25852595
25862596def test_parallel (num_threads = 2 , kwargs_list = None ):
2587- """Decorator to run the same function multiple times in parallel.
2597+ """
2598+ Decorator to run the same function multiple times in parallel.
25882599
25892600 Parameters
25902601 ----------
0 commit comments