Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DOC: Fix missing parentheses in documentation #16862

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion doc/source/groupby.rst
Original file line number Diff line number Diff line change
Expand Up @@ -933,7 +933,7 @@ The dimension of the returned result can also change:
d = pd.DataFrame({"a":["x", "y"], "b":[1,2]})
def identity(df):
print df
print(df)
return df
d.groupby("a").apply(identity)
Expand Down
4 changes: 2 additions & 2 deletions doc/source/io.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3194,7 +3194,7 @@ You can pass ``iterator=True`` to iterate over the unpacked results
.. ipython:: python
for o in pd.read_msgpack('foo.msg',iterator=True):
print o
print(o)
You can pass ``append=True`` to the writer to append to an existing pack

Expand Down Expand Up @@ -3912,7 +3912,7 @@ chunks.
evens = [2,4,6,8,10]
coordinates = store.select_as_coordinates('dfeq','number=evens')
for c in chunks(coordinates, 2):
print store.select('dfeq',where=c)
print(store.select('dfeq',where=c))
Advanced Queries
++++++++++++++++
Expand Down
2 changes: 1 addition & 1 deletion doc/source/whatsnew/v0.13.0.txt
Original file line number Diff line number Diff line change
Expand Up @@ -790,7 +790,7 @@ Experimental
.. ipython:: python

for o in pd.read_msgpack('foo.msg',iterator=True):
print o
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would revert this one. I see no reason to update really OLD documentation that we don't use anymore.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

no we need to update all of the docs as they are built with py3.

print(o)

.. ipython:: python
:suppress:
Expand Down