Skip to content

Commit 3ccd284

Browse files
Update doc/source/whatsnew/v2.0.0.rst
Co-authored-by: Matthew Roeschke <[email protected]>
1 parent cfbd267 commit 3ccd284

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/source/whatsnew/v2.0.0.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -296,7 +296,7 @@ The new behavior, as for datetime64, either gives exactly the requested dtype or
296296
Empty DataFrames/Series will now default to have a ``RangeIndex``
297297
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
298298

299-
Before, constructing an empty (length 0) :class:`Series` or :class:`DataFrame` without
299+
Before, constructing an empty (where ``data`` is ``None`` or an empty list-like argument) :class:`Series` or :class:`DataFrame` without
300300
specifying the axes (``index=None``, ``columns=None``) would return the axes as empty :class:`Index` with object dtype.
301301

302302
Now, the axes return an empty :class:`RangeIndex`.

0 commit comments

Comments
 (0)