@@ -381,16 +381,22 @@ Experimental
381
381
382
382
.. ipython:: python
383
383
384
+ # eval with NumExpr backend
384
385
%timeit pd.eval('df1 + df2 + df3 + df4')
385
386
387
+ .. ipython:: python
388
+
389
+ # pure Python evaluation
390
+ %timeit df1 + df2 + df3 + df4
391
+
386
392
For more details, see the :ref:`enhancing performance documentation on eval
387
393
<enhancingperf.eval>`
388
394
389
- - :meth:`~pandas. DataFrame.eval`
395
+ - `` DataFrame.eval` `
390
396
391
- - Similar to :func:`~ pandas.eval`, :class:`~pandas.DataFrame` has a new
392
- :meth:`~pandas. DataFrame.eval` that evaluates an expression in the context
393
- of the ``DataFrame``. For example,
397
+ - Similar to `` pandas.eval` `, :class:`~pandas.DataFrame` has a new
398
+ `` DataFrame.eval`` method that evaluates an expression in the context of
399
+ the ``DataFrame``. For example,
394
400
395
401
.. ipython:: python
396
402
:suppress:
@@ -450,9 +456,10 @@ Experimental
450
456
Internal Refactoring
451
457
~~~~~~~~~~~~~~~~~~~~
452
458
453
- In 0.13.0 there is a major refactor primarily to subclass ``Series`` from ``NDFrame``,
454
- which is the base class currently for ``DataFrame`` and ``Panel``, to unify methods
455
- and behaviors. Series formerly subclassed directly from ``ndarray``. (:issue:`4080`, :issue:`3862`, :issue:`816`)
459
+ In 0.13.0 there is a major refactor primarily to subclass ``Series`` from
460
+ ``NDFrame``, which is the base class currently for ``DataFrame`` and ``Panel``,
461
+ to unify methods and behaviors. Series formerly subclassed directly from
462
+ ``ndarray``. (:issue:`4080`, :issue:`3862`, :issue:`816`)
456
463
457
464
.. warning::
458
465
0 commit comments