File tree 1 file changed +6
-6
lines changed
1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -325,12 +325,12 @@ class Index(IndexOpsMixin, PandasObject):
325
325
Parameters
326
326
----------
327
327
data : array-like (1-dimensional)
328
- dtype : NumPy dtype (default: object)
329
- If dtype is None, we find the dtype that best fits the data.
330
- If an actual dtype is provided, we coerce to that dtype if it's safe .
331
- Otherwise, an error will be raised .
332
- copy : bool
333
- Make a copy of input ndarray .
328
+ dtype : str, numpy. dtype, or ExtensionDtype, optional
329
+ Data type for the output Index. If not specified, this will be
330
+ inferred from `data` .
331
+ See the :ref:`user guide <basics.dtypes>` for more usages .
332
+ copy : bool, default False
333
+ Copy input data .
334
334
name : object
335
335
Name to be stored in the index.
336
336
tupleize_cols : bool (default: True)
You can’t perform that action at this time.
0 commit comments