Skip to content

Commit 436bd54

Browse files
committed
add text when index no provided
1 parent 1a4b09a commit 436bd54

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

doc/source/user_guide/dsintro.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,8 @@ index will be pulled out.
8888
**From scalar value**
8989

9090
If ``data`` is a scalar value, the value will be repeated to match
91-
the length of **index**.
91+
the length of **index**. If the index is not provided, it defaults
92+
to ``RangeIndex (0, 1, 2, …, n)``.
9293

9394
.. ipython:: python
9495

0 commit comments

Comments
 (0)