Series.squeeze()

Series.squeeze(**kwargs) [source] Squeeze length 1 dimensions.

Series.sort_values()

Series.sort_values(axis=0, ascending=True, inplace=False, kind='quicksort', na_position='last') [source] Sort by the values along either axis New in version 0.17.0. Parameters: axis : {0, ?index?}, default 0 Axis to direct sorting ascending : bool or list of bool, default True Sort ascending vs. descending. Specify list for multiple sort orders. If this is a list of bools, must match the length of the by. inplace : bool, default False if True, perform operation in-place kind : {?qu

Series.sort_index()

Series.sort_index(axis=0, level=None, ascending=True, inplace=False, sort_remaining=True) [source] Sort object by labels (along an axis) Parameters: axis : index to direct sorting level : int or level name or list of ints or list of level names if not None, sort on values in specified index level(s) ascending : boolean, default True Sort ascending vs. descending inplace : bool, default False if True, perform operation in-place kind : {?quicksort?, ?mergesort?, ?heapsort?}, default ?q

Series.sortlevel()

Series.sortlevel(level=0, ascending=True, sort_remaining=True) [source] Sort Series with MultiIndex by chosen level. Data will be lexicographically sorted by the chosen level followed by the other levels (in order) Parameters: level : int or level name, default None ascending : bool, default True Returns: sorted : Series See also Series.sort_index

Series.sort()

Series.sort(axis=0, ascending=True, kind='quicksort', na_position='last', inplace=True) [source] DEPRECATED: use Series.sort_values(inplace=True)() for INPLACE sorting Sort values and index labels by value. This is an inplace sort by default. Series.order is the equivalent but returns a new Series. Parameters: axis : int (can only be zero) ascending : boolean, default True Sort ascending. Passing False sorts descending kind : {?mergesort?, ?quicksort?, ?heapsort?}, default ?quicksort? C

Series.slice_shift()

Series.slice_shift(periods=1, axis=0) [source] Equivalent to shift without copying data. The shifted data will not include the dropped periods and the shifted axis will be smaller than the original. Parameters: periods : int Number of periods to move, can be positive or negative Returns: shifted : same type as caller Notes While the slice_shift is faster than shift, you may pay for it later during alignment.

Series.skew()

Series.skew(axis=None, skipna=None, level=None, numeric_only=None, **kwargs) [source] Return unbiased skew over requested axis Normalized by N-1 Parameters: axis : {index (0)} skipna : boolean, default True Exclude NA/null values. If an entire row/column is NA, the result will be NA level : int or level name, default None If the axis is a MultiIndex (hierarchical), count along a particular level, collapsing into a scalar numeric_only : boolean, default None Include only float, int, bo

Series.size

Series.size return the number of elements in the underlying data

Series.shift()

Series.shift(periods=1, freq=None, axis=0) [source] Shift index by desired number of periods with an optional time freq Parameters: periods : int Number of periods to move, can be positive or negative freq : DateOffset, timedelta, or time rule string, optional Increment to use from the tseries module or time rule (e.g. ?EOM?). See Notes. axis : {0, ?index?} Returns: shifted : Series Notes If freq is specified then the index values are shifted but the data is not realigned. That is,

Series.shape

Series.shape return a tuple of the shape of the underlying data