We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d801c9c commit a078c89Copy full SHA for a078c89
bisect/45554.py
@@ -0,0 +1,14 @@
1
+# BUG: Parameter check_flags is ignored in assert_frame_equal #45554
2
+
3
+import pandas as pd
4
5
+print(pd.__version__)
6
7
+import pandas._testing as tm
8
9
+df1 = pd.DataFrame([[1, 2], [3, 4]])
10
+df1.flags.allows_duplicate_labels = False
11
+df2 = pd.DataFrame([[1, 2], [3, 4]])
12
+df2.flags.allows_duplicate_labels = True
13
14
+tm.assert_frame_equal(df1, df2, check_flags=False)
0 commit comments