You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: doc/source/advanced.rst
+5-5
Original file line number
Diff line number
Diff line change
@@ -625,7 +625,7 @@ Index Types
625
625
We have discussed ``MultiIndex`` in the previous sections pretty extensively. ``DatetimeIndex`` and ``PeriodIndex``
626
626
are shown :ref:`here <timeseries.overview>`. ``TimedeltaIndex`` are :ref:`here <timedeltas.timedeltas>`.
627
627
628
-
In the following sub-sections we will highlite some other index types.
628
+
In the following sub-sections we will highlight some other index types.
629
629
630
630
.. _indexing.categoricalindex:
631
631
@@ -645,7 +645,7 @@ and allows efficient indexing and storage of an index with a large number of dup
645
645
df.dtypes
646
646
df.B.cat.categories
647
647
648
-
Setting the index, will create create a ``CategoricalIndex``
648
+
Setting the index, will create a ``CategoricalIndex``
649
649
650
650
.. ipython:: python
651
651
@@ -681,7 +681,7 @@ Groupby operations on the index will preserve the index nature as well
681
681
Reindexing operations, will return a resulting index based on the type of the passed
682
682
indexer, meaning that passing a list will return a plain-old-``Index``; indexing with
683
683
a ``Categorical`` will return a ``CategoricalIndex``, indexed according to the categories
684
-
of the PASSED ``Categorical`` dtype. This allows one to arbitrarly index these even with
684
+
of the PASSED ``Categorical`` dtype. This allows one to arbitrarily index these even with
685
685
values NOT in the categories, similarly to how you can reindex ANY pandas index.
686
686
687
687
.. ipython :: python
@@ -722,7 +722,7 @@ Int64Index and RangeIndex
722
722
Prior to 0.18.0, the ``Int64Index`` would provide the default index forall``NDFrame`` objects.
723
723
724
724
``RangeIndex``is a sub-class of ``Int64Index`` added in version 0.18.0, now providing the default index forall``NDFrame`` objects.
725
-
``RangeIndex``is an optimized version of ``Int64Index`` that can represent a monotonic ordered set. These are analagous to python `range types <https://docs.python.org/3/library/stdtypes.html#typesseq-range>`__.
725
+
``RangeIndex``is an optimized version of ``Int64Index`` that can represent a monotonic ordered set. These are analogous to python `range types <https://docs.python.org/3/library/stdtypes.html#typesseq-range>`__.
726
726
727
727
.. _indexing.float64index:
728
728
@@ -963,7 +963,7 @@ index can be somewhat complicated. For example, the following does not work:
963
963
s.loc['c':'e'+1]
964
964
965
965
A very common use case is to limit a time series to start and end at two
966
-
specific dates. To enable this, we made the design design to make label-based
966
+
specific dates. To enable this, we made the design to make label-based
Copy file name to clipboardExpand all lines: doc/source/groupby.rst
+2-2
Original file line number
Diff line number
Diff line change
@@ -561,7 +561,7 @@ must be either implemented on GroupBy or available via :ref:`dispatching
561
561
562
562
.. note::
563
563
564
-
If you pass a dict to ``aggregate``, the ordering of the output colums is
564
+
If you pass a dict to ``aggregate``, the ordering of the output columns is
565
565
non-deterministic. If you want to be sure the output columns will be in a specific
566
566
order, you can use an ``OrderedDict``. Compare the output of the following two commands:
567
567
@@ -1211,7 +1211,7 @@ Groupby by Indexer to 'resample' data
1211
1211
1212
1212
Resampling produces new hypothetical samples (resamples) from already existing observed data or from a model that generates data. These new samples are similar to the pre-existing samples.
1213
1213
1214
-
In order to resample to work on indices that are non-datetimelike, the following procedure can be utilized.
1214
+
In order to resample to work on indices that are non-datetimelike, the following procedure can be utilized.
1215
1215
1216
1216
In the following examples, **df.index // 5** returns a binary array which is used to determine what gets selected for the groupby operation.
Copy file name to clipboardExpand all lines: doc/source/style.ipynb
+1-1
Original file line number
Diff line number
Diff line change
@@ -169,7 +169,7 @@
169
169
"cell_type": "markdown",
170
170
"metadata": {},
171
171
"source": [
172
-
"Notice the similarity with the standard `df.applymap`, which operates on DataFrames elementwise. We want you to be able to resuse your existing knowledge of how to interact with DataFrames.\n",
172
+
"Notice the similarity with the standard `df.applymap`, which operates on DataFrames elementwise. We want you to be able to reuse your existing knowledge of how to interact with DataFrames.\n",
173
173
"\n",
174
174
"Notice also that our function returned a string containing the CSS attribute and value, separated by a colon just like in a `<style>` tag. This will be a common theme.\n",
Copy file name to clipboardExpand all lines: doc/source/visualization.rst
+1-1
Original file line number
Diff line number
Diff line change
@@ -261,7 +261,7 @@ Histogram can be stacked by ``stacked=True``. Bin size can be changed by ``bins`
261
261
262
262
plt.close('all')
263
263
264
-
You can pass other keywords supported by matplotlib ``hist``. For example, horizontal and cumulative histgram can be drawn by ``orientation='horizontal'`` and ``cumulative='True'``.
264
+
You can pass other keywords supported by matplotlib ``hist``. For example, horizontal and cumulative histogram can be drawn by ``orientation='horizontal'`` and ``cumulative=True``.
0 commit comments