From e8ea0bd1101b4b1712ddbb1bf6a5416eb5982c92 Mon Sep 17 00:00:00 2001 From: phofl Date: Fri, 12 Nov 2021 23:43:05 +0100 Subject: [PATCH] DOC: Add how=cross description to join --- pandas/core/frame.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pandas/core/frame.py b/pandas/core/frame.py index b01de5dec610d..212bb63693d56 100644 --- a/pandas/core/frame.py +++ b/pandas/core/frame.py @@ -9155,6 +9155,11 @@ def join( * inner: form intersection of calling frame's index (or column if on is specified) with `other`'s index, preserving the order of the calling's one. + * cross: creates the cartesian product from both frames, preserves the order + of the left keys. + + .. versionadded:: 1.2.0 + lsuffix : str, default '' Suffix to use from left frame's overlapping columns. rsuffix : str, default ''