Skip to content

Commit 991634e

Browse files
Fix formatting
1 parent f59390a commit 991634e

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

pandas/util/testing.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1736,7 +1736,10 @@ def makeUnicodeIndex(k=10, name=None):
17361736
def makeCategoricalIndex(k=10, n=3, name=None, **kwargs):
17371737
""" make a length k index or n categories """
17381738
x = rands_array(nchars=4, size=n)
1739-
return CategoricalIndex(Categorical.from_codes(np.arange(k) % n, categories=x), name=name, **kwargs)
1739+
return CategoricalIndex(
1740+
Categorical.from_codes(np.arange(k) % n, categories=x),
1741+
name=name, **kwargs
1742+
)
17401743

17411744

17421745
def makeIntervalIndex(k=10, name=None, **kwargs):

0 commit comments

Comments
 (0)