Skip to content

Commit 5fb5dd4

Browse files
author
araraonline
committed
Start content on next line
1 parent 2e30318 commit 5fb5dd4

File tree

1 file changed

+14
-7
lines changed

1 file changed

+14
-7
lines changed

pandas/core/indexes/api.py

+14-7
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,8 @@
4444

4545

4646
def _get_objs_combined_axis(objs, intersect=False, axis=0, sort=True):
47-
"""Extract combined index: return intersection or union (depending on the
47+
"""
48+
Extract combined index: return intersection or union (depending on the
4849
value of "intersect") of indexes on given axis, or None if all objects
4950
lack indexes (e.g. they are numpy arrays)
5051
@@ -72,7 +73,8 @@ def _get_objs_combined_axis(objs, intersect=False, axis=0, sort=True):
7273

7374

7475
def _get_combined_index(indexes, intersect=False, sort=False):
75-
"""Return the union or intersection of indexes
76+
"""
77+
Return the union or intersection of indexes
7678
7779
Parameters
7880
----------
@@ -112,7 +114,8 @@ def _get_combined_index(indexes, intersect=False, sort=False):
112114

113115

114116
def _union_indexes(indexes, sort=True):
115-
"""Return the union of indexes
117+
"""
118+
Return the union of indexes
116119
117120
The behavior of sort and names is not consistent.
118121
@@ -137,7 +140,8 @@ def _union_indexes(indexes, sort=True):
137140
indexes, kind = _sanitize_and_check(indexes)
138141

139142
def _unique_indices(inds):
140-
"""Convert indexes to lists and concatenate them, removing duplicates
143+
"""
144+
Convert indexes to lists and concatenate them, removing duplicates
141145
142146
The final dtype is inferred.
143147
@@ -187,7 +191,8 @@ def conv(i):
187191

188192

189193
def _sanitize_and_check(indexes):
190-
"""Verify the type of indexes and convert lists to Index
194+
"""
195+
Verify the type of indexes and convert lists to Index
191196
192197
Cases:
193198
@@ -224,7 +229,8 @@ def _sanitize_and_check(indexes):
224229

225230

226231
def _get_consensus_names(indexes):
227-
"""Give a consensus 'names' to indexes
232+
"""
233+
Give a consensus 'names' to indexes
228234
229235
If there's exactly one non-empty 'names', return this,
230236
otherwise, return empty.
@@ -249,7 +255,8 @@ def _get_consensus_names(indexes):
249255

250256

251257
def _all_indexes_same(indexes):
252-
"""Determine if all indexes contain the same elements
258+
"""
259+
Determine if all indexes contain the same elements
253260
254261
Parameters
255262
----------

0 commit comments

Comments
 (0)