Series.swaplevel()

Series.swaplevel(i=-2, j=-1, copy=True) [source] Swap levels i and j in a MultiIndex Parameters: i, j : int, string (can be mixed) Level of index to be swapped. Can pass level name as string. Returns: swapped : Series Changed in version 0.18.1: The indexes i and j are now optional, and default to the two innermost levels of the index.

Series.swapaxes()

Series.swapaxes(axis1, axis2, copy=True) [source] Interchange axes and swap values axes appropriately Returns: y : same as input

Series.sum()

Series.sum(axis=None, skipna=None, level=None, numeric_only=None, **kwargs) [source] Return the sum of the values for the requested axis 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, boolean co

Series.subtract()

Series.subtract(other, level=None, fill_value=None, axis=0) [source] Subtraction of series and other, element-wise (binary operator sub). Equivalent to series - other, but with support to substitute a fill_value for missing data in one of the inputs. Parameters: other: Series or scalar value fill_value : None or float value, default None (NaN) Fill missing (NaN) values with this value. If both Series are missing, the result will be missing level : int or name Broadcast across a level, m

Series.sub()

Series.sub(other, level=None, fill_value=None, axis=0) [source] Subtraction of series and other, element-wise (binary operator sub). Equivalent to series - other, but with support to substitute a fill_value for missing data in one of the inputs. Parameters: other: Series or scalar value fill_value : None or float value, default None (NaN) Fill missing (NaN) values with this value. If both Series are missing, the result will be missing level : int or name Broadcast across a level, matchi

Series.strides

Series.strides return the strides of the underlying data

Series.str.zfill()

Series.str.zfill(width) [source] Filling left side of strings in the Series/Index with 0. Equivalent to str.zfill(). Parameters: width : int Minimum width of resulting string; additional characters will be filled with 0 Returns: filled : Series/Index of objects

Series.str.wrap()

Series.str.wrap(width, **kwargs) [source] Wrap long strings in the Series/Index to be formatted in paragraphs with length less than a given width. This method has the same keyword parameters and defaults as textwrap.TextWrapper. Parameters: width : int Maximum line-width expand_tabs : bool, optional If true, tab characters will be expanded to spaces (default: True) replace_whitespace : bool, optional If true, each whitespace character (as defined by string.whitespace) remaining after

Series.str.upper()

Series.str.upper() [source] Convert strings in the Series/Index to uppercase. Equivalent to str.upper(). Returns: converted : Series/Index of objects

Series.str.translate()

Series.str.translate(table, deletechars=None) [source] Map all characters in the string through the given mapping table. Equivalent to standard str.translate(). Note that the optional argument deletechars is only valid if you are using python 2. For python 3, character deletion should be specified via the table argument. Parameters: table : dict (python 3), str or None (python 2) In python 3, table is a mapping of Unicode ordinals to Unicode ordinals, strings, or None. Unmapped characters