Skip to content

Commit ba9bc75

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

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/source/whatsnew/v2.0.0.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -314,7 +314,7 @@ The new behavior, as for datetime64, either gives exactly the requested dtype or
314314
Empty DataFrames/Series will now default to have a ``RangeIndex``
315315
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
316316

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

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

0 commit comments

Comments
 (0)