Skip to content

Commit e624495

Browse files
author
araraonline
committed
Add space after parameter names
1 parent 5fb5dd4 commit e624495

File tree

1 file changed

+15
-15
lines changed

1 file changed

+15
-15
lines changed

pandas/core/indexes/api.py

+15-15
Original file line numberDiff line numberDiff line change
@@ -51,15 +51,15 @@ def _get_objs_combined_axis(objs, intersect=False, axis=0, sort=True):
5151
5252
Parameters
5353
----------
54-
objs: list of objects
54+
objs : list of objects
5555
Each object will only be considered if it has a _get_axis
5656
attribute
57-
intersect: boolean, default False
57+
intersect : boolean, default False
5858
If True, calculate the intersection between indexes. Otherwise,
5959
calculate the union
60-
axis: {0 or 'index', 1 or 'outer'}, default 0
60+
axis : {0 or 'index', 1 or 'outer'}, default 0
6161
The axis to extract indexes from
62-
sort: boolean, default True
62+
sort : boolean, default True
6363
Whether the result index should come out sorted or not
6464
6565
Returns
@@ -78,12 +78,12 @@ def _get_combined_index(indexes, intersect=False, sort=False):
7878
7979
Parameters
8080
----------
81-
indexes: a list of Index or list objects
81+
indexes : a list of Index or list objects
8282
When intersect=True, do not accept list of lists
83-
intersect: boolean, default False
83+
intersect : boolean, default False
8484
If True, calculate the intersection between indexes. Otherwise,
8585
calculate the union
86-
sort: boolean, default False
86+
sort : boolean, default False
8787
Whether the result index should come out sorted or not
8888
8989
Returns
@@ -121,8 +121,8 @@ def _union_indexes(indexes, sort=True):
121121
122122
Parameters
123123
----------
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
126126
Whether the result index should come out sorted or not
127127
128128
Returns
@@ -147,7 +147,7 @@ def _unique_indices(inds):
147147
148148
Parameters
149149
----------
150-
inds: a list of Index or list objects
150+
inds : a list of Index or list objects
151151
152152
Returns
153153
-------
@@ -204,12 +204,12 @@ def _sanitize_and_check(indexes):
204204
205205
Parameters
206206
----------
207-
indexes: a list of Index or list objects
207+
indexes : a list of Index or list objects
208208
209209
Returns
210210
-------
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'}
213213
"""
214214
kinds = list({type(index) for index in indexes})
215215

@@ -237,7 +237,7 @@ def _get_consensus_names(indexes):
237237
238238
Parameters
239239
----------
240-
indexes: a list of index objects
240+
indexes : a list of index objects
241241
242242
Returns
243243
-------
@@ -260,7 +260,7 @@ def _all_indexes_same(indexes):
260260
261261
Parameters
262262
----------
263-
indexes: a list of Index objects
263+
indexes : a list of Index objects
264264
265265
Returns
266266
-------

0 commit comments

Comments
 (0)