We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6e32e25 commit cd3c25bCopy full SHA for cd3c25b
vb_suite/frame_methods.py
@@ -150,8 +150,17 @@ def f(K=500):
150
151
##
152
setup = common_setup + """
153
+from pandas.core.config import option_context
154
+
155
+def interactive_repr(frame):
156
+ with option_context('mode.sim_interactive', True):
157
+ repr(frame)
158
159
df = pandas.DataFrame(np.random.randn(10,10000))
160
"""
-
161
162
frame_wide_repr = Benchmark('repr(df)', setup,
- start_date=datetime(2012, 8, 1))
163
+ start_date=datetime(2012, 8, 1))
164
165
+frame_wide_repr_interactive = Benchmark('interactive_repr(df)', setup,
166
0 commit comments