We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cf48036 commit e78ebd3Copy full SHA for e78ebd3
doc/source/user_guide/dsintro.rst
@@ -87,8 +87,9 @@ index will be pulled out.
87
88
**From scalar value**
89
90
-If ``data`` is a scalar value, an index must be
91
-provided. The value will be repeated to match the length of **index**.
+If ``data`` is a scalar value, the value will be repeated to match
+the length of **index**. If the **index** is not provided, it defaults
92
+to ``RangeIndex(1)``.
93
94
.. ipython:: python
95
0 commit comments