@@ -51,15 +51,15 @@ def _get_objs_combined_axis(objs, intersect=False, axis=0, sort=True):
51
51
52
52
Parameters
53
53
----------
54
- objs: list of objects
54
+ objs : list of objects
55
55
Each object will only be considered if it has a _get_axis
56
56
attribute
57
- intersect: boolean, default False
57
+ intersect : boolean, default False
58
58
If True, calculate the intersection between indexes. Otherwise,
59
59
calculate the union
60
- axis: {0 or 'index', 1 or 'outer'}, default 0
60
+ axis : {0 or 'index', 1 or 'outer'}, default 0
61
61
The axis to extract indexes from
62
- sort: boolean, default True
62
+ sort : boolean, default True
63
63
Whether the result index should come out sorted or not
64
64
65
65
Returns
@@ -78,12 +78,12 @@ def _get_combined_index(indexes, intersect=False, sort=False):
78
78
79
79
Parameters
80
80
----------
81
- indexes: a list of Index or list objects
81
+ indexes : a list of Index or list objects
82
82
When intersect=True, do not accept list of lists
83
- intersect: boolean, default False
83
+ intersect : boolean, default False
84
84
If True, calculate the intersection between indexes. Otherwise,
85
85
calculate the union
86
- sort: boolean, default False
86
+ sort : boolean, default False
87
87
Whether the result index should come out sorted or not
88
88
89
89
Returns
@@ -121,8 +121,8 @@ def _union_indexes(indexes, sort=True):
121
121
122
122
Parameters
123
123
----------
124
- indexes: a list of Index or list objects
125
- sort: boolean, default True
124
+ indexes : a list of Index or list objects
125
+ sort : boolean, default True
126
126
Whether the result index should come out sorted or not
127
127
128
128
Returns
@@ -147,7 +147,7 @@ def _unique_indices(inds):
147
147
148
148
Parameters
149
149
----------
150
- inds: a list of Index or list objects
150
+ inds : a list of Index or list objects
151
151
152
152
Returns
153
153
-------
@@ -204,12 +204,12 @@ def _sanitize_and_check(indexes):
204
204
205
205
Parameters
206
206
----------
207
- indexes: a list of Index or list objects
207
+ indexes : a list of Index or list objects
208
208
209
209
Returns
210
210
-------
211
- sanitized_indexes: list of Index or list objects
212
- type: {'list', 'array', 'special'}
211
+ sanitized_indexes : list of Index or list objects
212
+ type : {'list', 'array', 'special'}
213
213
"""
214
214
kinds = list ({type (index ) for index in indexes })
215
215
@@ -237,7 +237,7 @@ def _get_consensus_names(indexes):
237
237
238
238
Parameters
239
239
----------
240
- indexes: a list of index objects
240
+ indexes : a list of index objects
241
241
242
242
Returns
243
243
-------
@@ -260,7 +260,7 @@ def _all_indexes_same(indexes):
260
260
261
261
Parameters
262
262
----------
263
- indexes: a list of Index objects
263
+ indexes : a list of Index objects
264
264
265
265
Returns
266
266
-------
0 commit comments