We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 18d3433 commit 8719675Copy full SHA for 8719675
pandas/core/indexes/base.py
@@ -181,6 +181,9 @@ class Index(IndexOpsMixin, PandasObject):
181
----------
182
data : array-like (1-dimensional)
183
dtype : NumPy dtype (default: object)
184
+ If dtype is None, we find the dtype that best fits the data.
185
+ If an actual dtype is provided, we coerce to that dtype if it's safe.
186
+ Otherwise, an error will be raised.
187
copy : bool
188
Make a copy of input ndarray
189
name : object
0 commit comments