Skip to content

Commit 50502fb

Browse files
committed
CLN/DOC: remove __getitem__ from docs
1 parent e55fa07 commit 50502fb

File tree

7 files changed

+486
-465
lines changed

7 files changed

+486
-465
lines changed

doc/source/comparison_with_r.rst

-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,6 @@ index/slice as well as standard boolean indexing:
4949
5050
df = DataFrame({'a': randn(10), 'b': randn(10)})
5151
df.query('a <= b')
52-
df['a <= b']
5352
df[df.a <= df.b]
5453
df.loc[df.a <= df.b]
5554

doc/source/enhancingperf.rst

+5-7
Original file line numberDiff line numberDiff line change
@@ -292,8 +292,8 @@ Read more in the `cython docs <http://docs.cython.org/>`__.
292292

293293
.. _enhancingperf.eval:
294294

295-
Expression Evaluation via :func:`~pandas.eval`
296-
----------------------------------------------
295+
Expression Evaluation via :func:`~pandas.eval` (Experimental)
296+
-------------------------------------------------------------
297297

298298
.. versionadded:: 0.13
299299

@@ -392,8 +392,8 @@ Now let's do the same thing but with comparisons:
392392
includes bitwise operations on scalars.* You should perform these kinds of
393393
operations in Python.
394394

395-
The ``DataFrame.eval`` method
396-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
395+
The ``DataFrame.eval`` method (Experimental)
396+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
397397

398398
In addition to the top level :func:`~pandas.eval` function you can also
399399
evaluate an expression in the "context" of a ``DataFrame``.
@@ -447,13 +447,11 @@ You can refer to local variables the same way you would in vanilla Python
447447
448448
df.eval('@a + b')
449449
450-
The same is true for :meth:`~pandas.DataFrame.query` and
451-
:meth:`~pandas.DataFrame.__getitem__` passed an expression
450+
The same is true for :meth:`~pandas.DataFrame.query`
452451

453452
.. ipython:: python
454453
455454
df.query('@a < b')
456-
df['@a < b']
457455
458456
.. ipython:: python
459457
:suppress:

0 commit comments

Comments
 (0)