Skip to content

Commit ec20c27

Browse files
author
araraonline
committed
Comment _union_indexes
1 parent 4360846 commit ec20c27

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

pandas/core/indexes/api.py

+4
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,10 @@ def _get_combined_index(indexes, intersect=False, sort=False):
7777

7878

7979
def _union_indexes(indexes, sort=True):
80+
"""Return the union of indexes
81+
82+
The behavior of sort and names is not consistent.
83+
"""
8084
if len(indexes) == 0:
8185
raise AssertionError('Must have at least 1 Index to union')
8286
if len(indexes) == 1:

0 commit comments

Comments
 (0)