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

fix minor typos in dsintro.rst #25579

Merged
merged 1 commit into from
Mar 7, 2019
Merged
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
12 changes: 6 additions & 6 deletions doc/source/getting_started/dsintro.rst
Original file line number Diff line number Diff line change
Expand Up @@ -576,14 +576,14 @@ To write code compatible with all versions of Python, split the assignment in tw

.. warning::

Dependent assignment maybe subtly change the behavior of your code between
Dependent assignment may subtly change the behavior of your code between
Python 3.6 and older versions of Python.

If you wish write code that supports versions of python before and after 3.6,
If you wish to write code that supports versions of python before and after 3.6,
you'll need to take care when passing ``assign`` expressions that

* Updating an existing column
* Referring to the newly updated column in the same ``assign``
* Update an existing column
* Refer to the newly updated column in the same ``assign``

For example, we'll update column "A" and then refer to it when creating "B".

Expand Down Expand Up @@ -665,8 +665,8 @@ row-wise. For example:

df - df.iloc[0]

In the special case of working with time series data, and the DataFrame index
also contains dates, the broadcasting will be column-wise:
In the special case of working with time series data, if the DataFrame index
contains dates, the broadcasting will be column-wise:

.. ipython:: python
:okwarning:
Expand Down