-- Multiple tables can be concatenated both column as row wise using
+- Multiple tables can be concatenated both column-wise and row-wise using
the ``concat`` function.
- For database-like merging/joining of tables, use the ``merge``
function.
diff --git a/doc/source/getting_started/intro_tutorials/09_timeseries.rst b/doc/source/getting_started/intro_tutorials/09_timeseries.rst
index 15bdf43543d9a..19351e0e3bc75 100644
--- a/doc/source/getting_started/intro_tutorials/09_timeseries.rst
+++ b/doc/source/getting_started/intro_tutorials/09_timeseries.rst
@@ -78,7 +78,7 @@ provide any datetime operations (e.g. extract the year, day of the
week,…). By applying the ``to_datetime`` function, pandas interprets the
strings and convert these to datetime (i.e. ``datetime64[ns, UTC]``)
objects. In pandas we call these datetime objects similar to
-``datetime.datetime`` from the standard library a :class:`pandas.Timestamp`.
+``datetime.datetime`` from the standard library as :class:`pandas.Timestamp`.
.. raw:: html
@@ -99,7 +99,7 @@ objects. In pandas we call these datetime objects similar to
Why are these :class:`pandas.Timestamp` objects useful? Let’s illustrate the added
value with some example cases.
- What is the start and end date of the time series data set working
+ What is the start and end date of the time series data set we are working
with?
.. ipython:: python
@@ -214,7 +214,7 @@ Plot the typical :math:`NO_2` pattern during the day of our time series of all s
Similar to the previous case, we want to calculate a given statistic
(e.g. mean :math:`NO_2`) **for each hour of the day** and we can use the
-split-apply-combine approach again. For this case, the datetime property ``hour``
+split-apply-combine approach again. For this case, we use the datetime property ``hour``
of pandas ``Timestamp``, which is also accessible by the ``dt`` accessor.
.. raw:: html
diff --git a/doc/source/getting_started/intro_tutorials/10_text_data.rst b/doc/source/getting_started/intro_tutorials/10_text_data.rst
index a7f3bdc9abcc6..93ad35fb1960b 100644
--- a/doc/source/getting_started/intro_tutorials/10_text_data.rst
+++ b/doc/source/getting_started/intro_tutorials/10_text_data.rst
@@ -23,7 +23,7 @@
-This tutorial uses the titanic data set, stored as CSV. The data
+This tutorial uses the Titanic data set, stored as CSV. The data
consists of the following data columns:
- PassengerId: Id of every passenger.
@@ -102,7 +102,7 @@ Create a new column ``Surname`` that contains the surname of the Passengers by e
Using the :meth:`Series.str.split` method, each of the values is returned as a list of
2 elements. The first element is the part before the comma and the
-second element the part after the comma.
+second element is the part after the comma.
.. ipython:: python
@@ -135,7 +135,7 @@ More information on extracting parts of strings is available in the user guide s
-
-Extract the passenger data about the Countess on board of the Titanic.
+Extract the passenger data about the Countesses on board of the Titanic.
.. ipython:: python
@@ -145,15 +145,15 @@ Extract the passenger data about the Countess on board of the Titanic.
titanic[titanic["Name"].str.contains("Countess")]
-(*Interested in her story? See*\ `Wikipedia `__\ *!*)
+(*Interested in her story? See *\ `Wikipedia `__\ *!*)
The string method :meth:`Series.str.contains` checks for each of the values in the
column ``Name`` if the string contains the word ``Countess`` and returns
for each of the values ``True`` (``Countess`` is part of the name) of
-``False`` (``Countess`` is notpart of the name). This output can be used
+``False`` (``Countess`` is not part of the name). This output can be used
to subselect the data using conditional (boolean) indexing introduced in
the :ref:`subsetting of data tutorial <10min_tut_03_subset>`. As there was
-only 1 Countess on the Titanic, we get one row as a result.
+only one Countess on the Titanic, we get one row as a result.
.. raw:: html
@@ -161,8 +161,8 @@ only 1 Countess on the Titanic, we get one row as a result.
.. note::
- More powerful extractions on strings is supported, as the
- :meth:`Series.str.contains` and :meth:`Series.str.extract` methods accepts `regular
+ More powerful extractions on strings are supported, as the
+ :meth:`Series.str.contains` and :meth:`Series.str.extract` methods accept `regular
expressions
`__, but out of
scope of this tutorial.
@@ -182,7 +182,7 @@ More information on extracting parts of strings is available in the user guide s
-
-Which passenger of the titanic has the longest name?
+Which passenger of the Titanic has the longest name?
.. ipython:: python
@@ -220,7 +220,7 @@ we can do a selection using the ``loc`` operator, introduced in the
-
-In the ‘Sex’ columns, replace values of ‘male’ by ‘M’ and all ‘female’ values by ‘F’
+In the "Sex" column, replace values of "male" by "M" and values of "female" by "F"
.. ipython:: python
diff --git a/doc/source/user_guide/10min.rst b/doc/source/user_guide/10min.rst
index 9994287c827e3..93c50fff40305 100644
--- a/doc/source/user_guide/10min.rst
+++ b/doc/source/user_guide/10min.rst
@@ -664,7 +664,7 @@ Convert the raw grades to a categorical data type.
df["grade"]
Rename the categories to more meaningful names (assigning to
-:meth:`Series.cat.categories` is inplace!).
+:meth:`Series.cat.categories` is in place!).
.. ipython:: python
diff --git a/doc/source/user_guide/basics.rst b/doc/source/user_guide/basics.rst
index 055b43bc1e59b..a57998d6605d4 100644
--- a/doc/source/user_guide/basics.rst
+++ b/doc/source/user_guide/basics.rst
@@ -68,7 +68,7 @@ the ``.array`` property
s.index.array
:attr:`~Series.array` will always be an :class:`~pandas.api.extensions.ExtensionArray`.
-The exact details of what an :class:`~pandas.api.extensions.ExtensionArray` is and why pandas uses them is a bit
+The exact details of what an :class:`~pandas.api.extensions.ExtensionArray` is and why pandas uses them are a bit
beyond the scope of this introduction. See :ref:`basics.dtypes` for more.
If you know you need a NumPy array, use :meth:`~Series.to_numpy`
@@ -518,7 +518,7 @@ data (``True`` by default):
Combined with the broadcasting / arithmetic behavior, one can describe various
statistical procedures, like standardization (rendering data zero mean and
-standard deviation 1), very concisely:
+standard deviation of 1), very concisely:
.. ipython:: python
@@ -700,7 +700,7 @@ By default all columns are used but a subset can be selected using the ``subset`
frame = pd.DataFrame(data)
frame.value_counts()
-Similarly, you can get the most frequently occurring value(s) (the mode) of the values in a Series or DataFrame:
+Similarly, you can get the most frequently occurring value(s), i.e. the mode, of the values in a Series or DataFrame:
.. ipython:: python
@@ -1022,7 +1022,7 @@ Mixed dtypes
++++++++++++
When presented with mixed dtypes that cannot aggregate, ``.agg`` will only take the valid
-aggregations. This is similar to how groupby ``.agg`` works.
+aggregations. This is similar to how ``.groupby.agg`` works.
.. ipython:: python
@@ -1041,7 +1041,7 @@ aggregations. This is similar to how groupby ``.agg`` works.
Custom describe
+++++++++++++++
-With ``.agg()`` is it possible to easily create a custom describe function, similar
+With ``.agg()`` it is possible to easily create a custom describe function, similar
to the built in :ref:`describe function `.
.. ipython:: python
@@ -1083,7 +1083,8 @@ function name or a user defined function.
tsdf.transform('abs')
tsdf.transform(lambda x: x.abs())
-Here :meth:`~DataFrame.transform` received a single function; this is equivalent to a ufunc application.
+Here :meth:`~DataFrame.transform` received a single function; this is equivalent to a `ufunc
+`__ application.
.. ipython:: python
@@ -1457,7 +1458,7 @@ for altering the ``Series.name`` attribute.
.. versionadded:: 0.24.0
-The methods :meth:`~DataFrame.rename_axis` and :meth:`~Series.rename_axis`
+The methods :meth:`DataFrame.rename_axis` and :meth:`Series.rename_axis`
allow specific names of a `MultiIndex` to be changed (as opposed to the
labels).