Skip to content

Commit 7c6761e

Browse files
geetha-rangaswamaiahKevin D Smith
geetha-rangaswamaiah
authored and
Kevin D Smith
committed
Fix grammatical errors (pandas-dev#36518)
1 parent 79e5fc0 commit 7c6761e

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

doc/source/getting_started/intro_tutorials/03_subset_data.rst

+5-5
Original file line numberDiff line numberDiff line change
@@ -27,14 +27,14 @@ This tutorial uses the Titanic data set, stored as CSV. The data
2727
consists of the following data columns:
2828

2929
- PassengerId: Id of every passenger.
30-
- Survived: This feature have value 0 and 1. 0 for not survived and 1
30+
- Survived: This feature has value 0 and 1. 0 for not survived and 1
3131
for survived.
3232
- Pclass: There are 3 classes: Class 1, Class 2 and Class 3.
3333
- Name: Name of passenger.
3434
- Sex: Gender of passenger.
3535
- Age: Age of passenger.
36-
- SibSp: Indication that passenger have siblings and spouse.
37-
- Parch: Whether a passenger is alone or have family.
36+
- SibSp: Indication that passengers have siblings and spouses.
37+
- Parch: Whether a passenger is alone or has a family.
3838
- Ticket: Ticket number of passenger.
3939
- Fare: Indicating the fare.
4040
- Cabin: The cabin of passenger.
@@ -199,7 +199,7 @@ selection brackets ``[]``. Only rows for which the value is ``True``
199199
will be selected.
200200

201201
We know from before that the original Titanic ``DataFrame`` consists of
202-
891 rows. Let’s have a look at the amount of rows which satisfy the
202+
891 rows. Let’s have a look at the number of rows which satisfy the
203203
condition by checking the ``shape`` attribute of the resulting
204204
``DataFrame`` ``above_35``:
205205

@@ -398,7 +398,7 @@ See the user guide section on :ref:`different choices for indexing <indexing.cho
398398
<div class="d-flex flex-row gs-torefguide">
399399
<span class="badge badge-info">To user guide</span>
400400

401-
A full overview about indexing is provided in the user guide pages on :ref:`indexing and selecting data <indexing>`.
401+
A full overview of indexing is provided in the user guide pages on :ref:`indexing and selecting data <indexing>`.
402402

403403
.. raw:: html
404404

doc/source/getting_started/intro_tutorials/04_plotting.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ I want each of the columns in a separate subplot.
167167
@savefig 04_airqual_area_subplot.png
168168
axs = air_quality.plot.area(figsize=(12, 4), subplots=True)
169169
170-
Separate subplots for each of the data columns is supported by the ``subplots`` argument
170+
Separate subplots for each of the data columns are supported by the ``subplots`` argument
171171
of the ``plot`` functions. The builtin options available in each of the pandas plot
172172
functions that are worthwhile to have a look.
173173

@@ -214,7 +214,7 @@ I want to further customize, extend or save the resulting plot.
214214
</li>
215215
</ul>
216216

217-
Each of the plot objects created by pandas are a
217+
Each of the plot objects created by pandas is a
218218
`matplotlib <https://matplotlib.org/>`__ object. As Matplotlib provides
219219
plenty of options to customize plots, making the link between pandas and
220220
Matplotlib explicit enables all the power of matplotlib to the plot.

0 commit comments

Comments
 (0)