We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 112fd0b commit feca574Copy full SHA for feca574
asv_bench/benchmarks/indexing.py
@@ -515,6 +515,18 @@ def time_setitem_list(self):
515
self.df[[100, 200, 300]] = 100
516
517
518
+class SetitemObjectDtype:
519
+ # GH#19299
520
+
521
+ def setup(self):
522
+ N = 1000
523
+ cols = 500
524
+ self.df = DataFrame(index=range(N), columns=range(cols), dtype=object)
525
526
+ def time_setitem_object_dtype(self):
527
+ self.df.loc[0, 1] = 1.0
528
529
530
class ChainIndexing:
531
params = [None, "warn"]
532
param_names = ["mode"]
0 commit comments