Skip to content

Commit c3e4828

Browse files
Chang Shewesm
Chang She
authored andcommitted
TST: vbench for drop_duplicate with skipna set to False
1 parent 56637d0 commit c3e4828

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

vb_suite/reindex.py

+5
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,11 @@ def backfill():
135135
name='frame_drop_duplicates',
136136
start_date=datetime(2011, 11, 15))
137137

138+
statement2 = "df.drop_duplicates(['key1', 'key2'], skipna=False)"
139+
frame_drop_duplicates_na = Benchmark(statement, setup,
140+
name='frame_drop_duplicates',
141+
start_date=datetime(2012, 5, 15))
142+
138143
#----------------------------------------------------------------------
139144
# fillna, many columns
140145

0 commit comments

Comments
 (0)