Skip to content

DOC: Fix 10min.rst flake8 issues #24189

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

Merged
merged 2 commits into from
Dec 10, 2018
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
14 changes: 7 additions & 7 deletions doc/source/10min.rst
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ Creating a ``DataFrame`` by passing a dict of objects that can be converted to s
'F': 'foo'})
df2

The columns of the resulting ``DataFrame`` have different
The columns of the resulting ``DataFrame`` have different
:ref:`dtypes <basics.dtypes>`.

.. ipython:: python
Expand All @@ -65,7 +65,7 @@ will be completed:
.. ipython::

@verbatim
In [1]: df2.<TAB>
In [1]: df2.<TAB> # noqa: E225, E999
df2.A df2.bool
df2.abs df2.boxplot
df2.add df2.C
Expand Down Expand Up @@ -495,7 +495,7 @@ Another example that can be given is:
Append
~~~~~~

Append rows to a dataframe. See the :ref:`Appending <merging.concatenation>`
Append rows to a dataframe. See the :ref:`Appending <merging.concatenation>`
section.

.. ipython:: python
Expand Down Expand Up @@ -528,14 +528,14 @@ See the :ref:`Grouping section <groupby>`.
'D': np.random.randn(8)})
df

Grouping and then applying the :meth:`~DataFrame.sum` function to the resulting
Grouping and then applying the :meth:`~DataFrame.sum` function to the resulting
groups.

.. ipython:: python

df.groupby('A').sum()

Grouping by multiple columns forms a hierarchical index, and again we can
Grouping by multiple columns forms a hierarchical index, and again we can
apply the ``sum`` function.

.. ipython:: python
Expand Down Expand Up @@ -671,7 +671,7 @@ Convert the raw grades to a categorical data type.
df["grade"] = df["raw_grade"].astype("category")
df["grade"]

Rename the categories to more meaningful names (assigning to
Rename the categories to more meaningful names (assigning to
``Series.cat.categories`` is inplace!).

.. ipython:: python
Expand Down Expand Up @@ -720,7 +720,7 @@ See the :ref:`Plotting <visualization>` docs.
@savefig series_plot_basic.png
ts.plot()

On a DataFrame, the :meth:`~DataFrame.plot` method is a convenience to plot all
On a DataFrame, the :meth:`~DataFrame.plot` method is a convenience to plot all
of the columns with labels:

.. ipython:: python
Expand Down
1 change: 0 additions & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,6 @@ exclude =
doc/source/whatsnew/v0.23.1.rst
doc/source/whatsnew/v0.23.2.rst
doc/source/whatsnew/v0.24.0.rst
doc/source/10min.rst
doc/source/basics.rst
doc/source/contributing_docstring.rst
doc/source/dsintro.rst
Expand Down