Skip to content

Commit

Permalink
DOC: Fix intro to datastructures Series constructor behavior (#59793)
Browse files Browse the repository at this point in the history
  • Loading branch information
fbourgey authored Sep 30, 2024
1 parent cf48036 commit e78ebd3
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions doc/source/user_guide/dsintro.rst
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,9 @@ index will be pulled out.

**From scalar value**

If ``data`` is a scalar value, an index must be
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
to ``RangeIndex(1)``.

.. ipython:: python
Expand Down

0 comments on commit e78ebd3

Please sign in to comment.