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

Method setup

asv_bench/benchmarks/frame_methods.py:248–252  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

246
247class ToHTML:
248 def setup(self):
249 nrows = 500
250 self.df2 = DataFrame(np.random.randn(nrows, 10))
251 self.df2[0] = period_range("2000", periods=nrows)
252 self.df2[1] = range(nrows)
253
254 def time_to_html_mixed(self):
255 self.df2.to_html()

Callers

nothing calls this directly

Calls 2

DataFrameClass · 0.90
period_rangeFunction · 0.90

Tested by

no test coverage detected