Skip to content

Commit 9190775

Browse files
Fixed pandas-dev#12661: more clarification in the where statement
Improvement in the documentation w.r.t to issue pandas-dev#12661
1 parent bc3ad9a commit 9190775

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

doc/source/10min.rst

+6
Original file line numberDiff line numberDiff line change
@@ -284,6 +284,12 @@ Using a single column's values to select data.
284284
285285
A ``where`` operation for getting.
286286

287+
.. ipython:: python
288+
289+
df.where(df>0)
290+
291+
It is similar to the statement.
292+
287293
.. ipython:: python
288294
289295
df[df > 0]

0 commit comments

Comments
 (0)