@@ -2935,8 +2935,10 @@ def combine_first(self, other) -> "Series":
2935
2935
2936
2936
def update (self , other ) -> None :
2937
2937
"""
2938
- Modify Series in place using non-NA values from passed
2939
- Series. Aligns on index.
2938
+ Modify Series in place using values from passed Series.
2939
+
2940
+ Uses non-NA values from passed Series to make updates. Aligns
2941
+ on index.
2940
2942
2941
2943
Parameters
2942
2944
----------
@@ -3451,6 +3453,8 @@ def sort_index(
3451
3453
3452
3454
def argsort (self , axis = 0 , kind = "quicksort" , order = None ) -> "Series" :
3453
3455
"""
3456
+ Return the integer indices that would sort the Series values.
3457
+
3454
3458
Override ndarray.argsort. Argsorts the value, omitting NA/null values,
3455
3459
and places the result in the same locations as the non-NA values.
3456
3460
@@ -3733,8 +3737,7 @@ def reorder_levels(self, order) -> "Series":
3733
3737
3734
3738
def explode (self ) -> "Series" :
3735
3739
"""
3736
- Transform each element of a list-like to a row, replicating the
3737
- index values.
3740
+ Transform each element of a list-like to a row.
3738
3741
3739
3742
.. versionadded:: 0.25.0
3740
3743
@@ -3792,6 +3795,7 @@ def explode(self) -> "Series":
3792
3795
def unstack (self , level = - 1 , fill_value = None ):
3793
3796
"""
3794
3797
Unstack, also known as pivot, Series with MultiIndex to produce DataFrame.
3798
+
3795
3799
The level involved will automatically get sorted.
3796
3800
3797
3801
Parameters
@@ -4825,8 +4829,7 @@ def to_timestamp(self, freq=None, how="start", copy=True) -> "Series":
4825
4829
4826
4830
def to_period (self , freq = None , copy = True ) -> "Series" :
4827
4831
"""
4828
- Convert Series from DatetimeIndex to PeriodIndex with desired
4829
- frequency (inferred from index if not passed).
4832
+ Convert Series from DatetimeIndex to PeriodIndex.
4830
4833
4831
4834
Parameters
4832
4835
----------
0 commit comments