Skip to content

Commit 9e95c09

Browse files
committed
DOC: fix style (pandas-dev#39313)
1 parent 011906e commit 9e95c09

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pandas/core/frame.py

+1
Original file line numberDiff line numberDiff line change
@@ -3872,6 +3872,7 @@ def insert(self, loc, column, value, allow_duplicates: bool = False) -> None:
38723872
1 100 2 99 4
38733873
38743874
Notice that Pandas uses index alignment in case of `value` from type `Series`:
3875+
38753876
>>> df.insert(0, "col0", pd.Series([5, 6], index=[1, 2]))
38763877
>>> df
38773878
col0 col1 col1 newcol col2

0 commit comments

Comments
 (0)