We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3065ac5 commit bfd6c07Copy full SHA for bfd6c07
bisect/38616.py
@@ -0,0 +1,10 @@
1
+import pandas as pd
2
+
3
+pd.__version__
4
5
+left = pd.DataFrame({"x": [1, 1], "z": ["foo", "foo"]})
6
+right = pd.DataFrame({"x": [1, 1], "z": ["foo", "foo"]})
7
8
+result = pd.merge(left, right, how="right", left_index=True, right_on="x")
9
10
+print(result)
0 commit comments