MCPcopy
hub / github.com/pandas-dev/pandas / time_frame_drop_dups

Method time_frame_drop_dups

asv_bench/benchmarks/reindex.py:113–114  ·  view source on GitHub ↗
(self, inplace)

Source from the content-addressed store, hash-verified

111 self.df_bool = DataFrame(np.random.randint(0, 2, size=(K, 10), dtype=bool))
112
113 def time_frame_drop_dups(self, inplace):
114 self.df.drop_duplicates(["key1", "key2"], inplace=inplace)
115
116 def time_frame_drop_dups_na(self, inplace):
117 self.df_nan.drop_duplicates(["key1", "key2"], inplace=inplace)

Callers

nothing calls this directly

Calls 1

drop_duplicatesMethod · 0.45

Tested by

no test coverage detected