We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bf54041 commit d0b7f18Copy full SHA for d0b7f18
doc/source/whatsnew/v2.0.0.rst
@@ -318,7 +318,7 @@ When users don't specify indexes or columns when instantiating :class:`DataFrame
318
objects, pandas infers the index type for them. Previously, if it was not possible to
319
infer the index type from the data, pandas used to infer the index to be a :class:`RangeIndex`,
320
except when the frame/series was empty, then the index was inferred to be an :class:`Index`
321
-with dtype `object`.
+with dtype ``object``.
322
323
This has been changed, so the type of index/columns will always be :class:`RangeIndex`,
324
when users don't declare the index and it's not possible to infer the index type from the data (:issue:`49572`).
0 commit comments