Skip to content

Commit b9bea59

Browse files
meeseeksmachinejorisvandenbossche
authored andcommitted
Backport PR pandas-dev#28029: DOC: Change document code prun in a row (pandas-dev#28054)
1 parent 3ac5bba commit b9bea59

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

doc/source/user_guide/enhancingperf.rst

+3-3
Original file line numberDiff line numberDiff line change
@@ -243,9 +243,9 @@ We've gotten another big improvement. Let's check again where the time is spent:
243243

244244
.. ipython:: python
245245
246-
%prun -l 4 apply_integrate_f(df['a'].to_numpy(),
247-
df['b'].to_numpy(),
248-
df['N'].to_numpy())
246+
%%prun -l 4 apply_integrate_f(df['a'].to_numpy(),
247+
df['b'].to_numpy(),
248+
df['N'].to_numpy())
249249
250250
As one might expect, the majority of the time is now spent in ``apply_integrate_f``,
251251
so if we wanted to make anymore efficiencies we must continue to concentrate our

0 commit comments

Comments
 (0)