Skip to content

Commit e78ebd3

Browse files
authored
DOC: Fix intro to datastructures Series constructor behavior (#59793)
1 parent cf48036 commit e78ebd3

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

doc/source/user_guide/dsintro.rst

+3-2
Original file line numberDiff line numberDiff line change
@@ -87,8 +87,9 @@ index will be pulled out.
8787

8888
**From scalar value**
8989

90-
If ``data`` is a scalar value, an index must be
91-
provided. The value will be repeated to match the length of **index**.
90+
If ``data`` is a scalar value, the value will be repeated to match
91+
the length of **index**. If the **index** is not provided, it defaults
92+
to ``RangeIndex(1)``.
9293

9394
.. ipython:: python
9495

0 commit comments

Comments
 (0)