Skip to content

Commit 131dfef

Browse files
topper-123mroeschke
authored and
Terji Petersen
committed
Update doc/source/whatsnew/v2.0.0.rst
Co-authored-by: Matthew Roeschke <[email protected]>
1 parent 3f478f4 commit 131dfef

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
@@ -316,7 +316,7 @@ The new behavior, as for datetime64, either gives exactly the requested dtype or
316316
Empty DataFrames/Series will now default to have a ``RangeIndex``
317317
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
318318

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

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

0 commit comments

Comments
 (0)