File tree Expand file tree Collapse file tree 1 file changed +7
-8
lines changed Expand file tree Collapse file tree 1 file changed +7
-8
lines changed Original file line number Diff line number Diff line change 233233copy : bool, default True
234234 If False, avoid copy if possible.
235235indicator : bool or str, default False
236- If True, adds a column to output DataFrame called "_merge" with
237- information on the source of each row.
238- If string, column with information on source of each row will be added to
239- output DataFrame, and column will be named value of string.
240- Information column is Categorical-type and takes on a value of "left_only"
241- for observations whose merge key only appears in 'left' DataFrame,
242- "right_only" for observations whose merge key only appears in 'right'
243- DataFrame, and "both" if the observation's merge key is found in both.
236+ If True, adds a column to the output DataFrame called "_merge" with
237+ information on the source of each row. The column can be given a different
238+ name by providing a string argument. The column will have a Categorical
239+ type with the value of "left_only" for observations whose merge key only
240+ appears in the left DataFrame, "right_only" for observations
241+ whose merge key only appears in the right DataFrame, and "both"
242+ if the observation's merge key is found in both DataFrames.
244243
245244validate : str, optional
246245 If specified, checks if merge is of specified type.
You can’t perform that action at this time.
0 commit comments