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/extending.rst
+1-1
Original file line number
Diff line number
Diff line change
@@ -167,7 +167,7 @@ you can retain subclasses through ``pandas`` data manipulations.
167
167
168
168
There are 3 constructor properties to be defined:
169
169
170
-
- ``_constructor``: Used when a manipulation result has the same dimesions as the original.
170
+
- ``_constructor``: Used when a manipulation result has the same dimensions as the original.
171
171
- ``_constructor_sliced``: Used when a manipulation result has one lower dimension(s) as the original, such as ``DataFrame`` single columns slicing.
172
172
- ``_constructor_expanddim``: Used when a manipulation result has one higher dimension as the original, such as ``Series.to_frame()`` and ``DataFrame.to_panel()``.
The returned dtype of the grouped will *always* include *all* of the catergories that were grouped.
1013
+
The returned dtype of the grouped will *always* include *all* of the categories that were grouped.
1014
1014
1015
1015
.. ipython:: python
1016
1016
@@ -1328,11 +1328,11 @@ Groupby by Indexer to 'resample' data
1328
1328
1329
1329
Resampling produces new hypothetical samples (resamples) from already existing observed data orfrom a model that generates data. These new samples are similar to the pre-existing samples.
1330
1330
1331
-
In order to resample to work on indices that are non-datetimelike, the following procedure can be utilized.
1331
+
In order to resample to work on indexes that are non-datetimelike, the following procedure can be utilized.
1332
1332
1333
1333
In the following examples, **df.index //5** returns a binary array which is used to determine what gets selected for the groupby operation.
1334
1334
1335
-
.. note:: The below example shows how we can downsample by consolidation of samples into fewer samples. Here by using **df.index //5**, we are aggregating the samples in bins. By applying **std()** function, we aggregate the information contained in many samples into a small subset of values which is their standard deviation thereby reducing the number of samples.
1335
+
.. note:: The below example shows how we can down-sample by consolidation of samples into fewer samples. Here by using **df.index //5**, we are aggregating the samples in bins. By applying **std()** function, we aggregate the information contained in many samples into a small subset of values which is their standard deviation thereby reducing the number of samples.
Copy file name to clipboardExpand all lines: doc/source/indexing.rst
+1-1
Original file line number
Diff line number
Diff line change
@@ -700,7 +700,7 @@ Current Behavior
700
700
Reindexing
701
701
~~~~~~~~~~
702
702
703
-
The idiomatic way to achieve selecting potentially not-found elmenents is via ``.reindex()``. See also the section on :ref:`reindexing <basics.reindexing>`.
703
+
The idiomatic way to achieve selecting potentially not-found elements is via ``.reindex()``. See also the section on :ref:`reindexing <basics.reindexing>`.
0 commit comments