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 f95a7bf commit 76eb112Copy full SHA for 76eb112
vb_suite/frame_methods.py
@@ -145,6 +145,20 @@ def f(x):
145
frame_to_string_floats = Benchmark('df.to_string()', setup,
146
start_date=datetime(2010, 6, 1))
147
148
+#----------------------------------------------------------------------
149
+# to_html
150
+
151
+setup = common_setup + """
152
+nrows=500
153
+df = DataFrame(randn(nrows, 10))
154
+df[0]=period_range("2000","2010",nrows)
155
+df[1]=range(nrows)
156
157
+"""
158
159
+frame_to_html_mixed = Benchmark('df.to_html()', setup,
160
+ start_date=datetime(2010, 6, 1))
161
162
# insert many columns
163
164
setup = common_setup + """
0 commit comments