We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d7076a8 commit c61edb0Copy full SHA for c61edb0
1 file changed
dataframe_sql/tests/pandas_sql_functionality_test.py
@@ -1442,10 +1442,10 @@ def test_boolean_order_of_operations_with_parens():
1442
)
1443
1444
pandas_frame = FOREST_FIRES.copy()
1445
- pandas_frame = pandas_frame[((pandas_frame['month'] == 'oct') &
1446
- (pandas_frame['day'] == 'fri')) |
1447
- ((pandas_frame['month'] == 'nov') &
1448
- (pandas_frame['day'] == 'tue'))].reset_index(drop=True)
+ pandas_frame = pandas_frame[
+ ((pandas_frame["month"] == "oct") & (pandas_frame["day"] == "fri"))
+ | ((pandas_frame["month"] == "nov") & (pandas_frame["day"] == "tue"))
+ ].reset_index(drop=True)
1449
1450
tm.assert_frame_equal(pandas_frame, my_frame)
1451
0 commit comments