Skip to content

Commit 02a8159

Browse files
committed
add result variable for consistency with other examples
1 parent 4182dba commit 02a8159

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/source/user_guide/merging.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -742,7 +742,7 @@ as shown in the following example.
742742
)
743743
ser
744744
745-
pd.merge(df, ser.reset_index(), on=['Let', 'Num'])
745+
result = pd.merge(df, ser.reset_index(), on=['Let', 'Num'])
746746
747747
748748
Here is another example with duplicate join keys in DataFrames:

0 commit comments

Comments
 (0)