@@ -936,24 +936,19 @@ def test_assign_callable_lambda(scalars_dfs):
936
936
937
937
@skip_legacy_pandas
938
938
@pytest .mark .parametrize (
939
- ("axis" , "how" , "ignore_index" , "subset" ),
939
+ ("axis" , "how" , "ignore_index" ),
940
940
[
941
- (0 , "any" , False , None ),
942
- (0 , "any" , True , None ),
943
- (0 , "all" , False , ["bool_col" , "time_col" ]),
944
- (0 , "any" , False , ["bool_col" , "time_col" ]),
945
- (0 , "all" , False , "time_col" ),
946
- (1 , "any" , False , None ),
947
- (1 , "all" , False , None ),
941
+ (0 , "any" , False ),
942
+ (0 , "any" , True ),
943
+ (1 , "any" , False ),
944
+ (1 , "all" , False ),
948
945
],
949
946
)
950
- def test_df_dropna (scalars_dfs , axis , how , ignore_index , subset ):
947
+ def test_df_dropna (scalars_dfs , axis , how , ignore_index ):
951
948
scalars_df , scalars_pandas_df = scalars_dfs
952
- df = scalars_df .dropna (axis = axis , how = how , ignore_index = ignore_index , subset = subset )
949
+ df = scalars_df .dropna (axis = axis , how = how , ignore_index = ignore_index )
953
950
bf_result = df .to_pandas ()
954
- pd_result = scalars_pandas_df .dropna (
955
- axis = axis , how = how , ignore_index = ignore_index , subset = subset
956
- )
951
+ pd_result = scalars_pandas_df .dropna (axis = axis , how = how , ignore_index = ignore_index )
957
952
958
953
# Pandas uses int64 instead of Int64 (nullable) dtype.
959
954
pd_result .index = pd_result .index .astype (pd .Int64Dtype ())
0 commit comments