Skip to content

Commit 72d436d

Browse files
addisonlynchjreback
authored andcommitted
DOC: Fix 10min.rst flake8 issues (#24189)
1 parent 029cde2 commit 72d436d

File tree

2 files changed

+7
-8
lines changed

2 files changed

+7
-8
lines changed

doc/source/10min.rst

+7-7
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ Creating a ``DataFrame`` by passing a dict of objects that can be converted to s
5151
'F': 'foo'})
5252
df2
5353
54-
The columns of the resulting ``DataFrame`` have different
54+
The columns of the resulting ``DataFrame`` have different
5555
:ref:`dtypes <basics.dtypes>`.
5656

5757
.. ipython:: python
@@ -65,7 +65,7 @@ will be completed:
6565
.. ipython::
6666

6767
@verbatim
68-
In [1]: df2.<TAB>
68+
In [1]: df2.<TAB> # noqa: E225, E999
6969
df2.A df2.bool
7070
df2.abs df2.boxplot
7171
df2.add df2.C
@@ -495,7 +495,7 @@ Another example that can be given is:
495495
Append
496496
~~~~~~
497497

498-
Append rows to a dataframe. See the :ref:`Appending <merging.concatenation>`
498+
Append rows to a dataframe. See the :ref:`Appending <merging.concatenation>`
499499
section.
500500

501501
.. ipython:: python
@@ -528,14 +528,14 @@ See the :ref:`Grouping section <groupby>`.
528528
'D': np.random.randn(8)})
529529
df
530530
531-
Grouping and then applying the :meth:`~DataFrame.sum` function to the resulting
531+
Grouping and then applying the :meth:`~DataFrame.sum` function to the resulting
532532
groups.
533533

534534
.. ipython:: python
535535
536536
df.groupby('A').sum()
537537
538-
Grouping by multiple columns forms a hierarchical index, and again we can
538+
Grouping by multiple columns forms a hierarchical index, and again we can
539539
apply the ``sum`` function.
540540

541541
.. ipython:: python
@@ -671,7 +671,7 @@ Convert the raw grades to a categorical data type.
671671
df["grade"] = df["raw_grade"].astype("category")
672672
df["grade"]
673673
674-
Rename the categories to more meaningful names (assigning to
674+
Rename the categories to more meaningful names (assigning to
675675
``Series.cat.categories`` is inplace!).
676676

677677
.. ipython:: python
@@ -720,7 +720,7 @@ See the :ref:`Plotting <visualization>` docs.
720720
@savefig series_plot_basic.png
721721
ts.plot()
722722
723-
On a DataFrame, the :meth:`~DataFrame.plot` method is a convenience to plot all
723+
On a DataFrame, the :meth:`~DataFrame.plot` method is a convenience to plot all
724724
of the columns with labels:
725725

726726
.. ipython:: python

setup.cfg

-1
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,6 @@ exclude =
7676
doc/source/whatsnew/v0.23.1.rst
7777
doc/source/whatsnew/v0.23.2.rst
7878
doc/source/whatsnew/v0.24.0.rst
79-
doc/source/10min.rst
8079
doc/source/basics.rst
8180
doc/source/contributing_docstring.rst
8281
doc/source/dsintro.rst

0 commit comments

Comments
 (0)