TimedeltaIndex.nunique()

TimedeltaIndex.nunique(dropna=True) [source] Return number of unique elements in the object. Excludes NA values by default. Parameters: dropna : boolean, default True Don?t include NaN in the count. Returns: nunique : int

pandas.get_dummies()

pandas.get_dummies(data, prefix=None, prefix_sep='_', dummy_na=False, columns=None, sparse=False, drop_first=False) [source] Convert categorical variable into dummy/indicator variables Parameters: data : array-like, Series, or DataFrame prefix : string, list of strings, or dict of strings, default None String to append DataFrame column names Pass a list with length equal to the number of columns when calling get_dummies on a DataFrame. Alternativly, prefix can be a dictionary mapping colu

Index.nlevels

Index.nlevels

Series.str.swapcase()

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

Index.factorize()

Index.factorize(sort=False, na_sentinel=-1) [source] Encode the object as an enumerated type or categorical variable Parameters: sort : boolean, default False Sort by values na_sentinel: int, default -1 Value to mark ?not found? Returns: labels : the indexer to the original array uniques : the unique Index

DataFrame()

class pandas.DataFrame(data=None, index=None, columns=None, dtype=None, copy=False) [source] Two-dimensional size-mutable, potentially heterogeneous tabular data structure with labeled axes (rows and columns). Arithmetic operations align on both row and column labels. Can be thought of as a dict-like container for Series objects. The primary pandas data structure Parameters: data : numpy ndarray (structured or homogeneous), dict, or DataFrame Dict can contain Series, arrays, constants, or

DatetimeIndex.month

DatetimeIndex.month The month as January=1, December=12

Panel4D.last()

Panel4D.last(offset) [source] Convenience method for subsetting final periods of time series data based on a date offset. Parameters: offset : string, DateOffset, dateutil.relativedelta Returns: subset : type of caller Examples ts.last(?5M?) -> Last 5 months

DatetimeIndex.weekday_name

DatetimeIndex.weekday_name The name of day in a week (ex: Friday) New in version 0.18.1.

pandas.merge()

pandas.merge(left, right, how='inner', on=None, left_on=None, right_on=None, left_index=False, right_index=False, sort=False, suffixes=('_x', '_y'), copy=True, indicator=False) [source] Merge DataFrame objects by performing a database-style join operation by columns or indexes. If joining columns on columns, the DataFrame indexes will be ignored. Otherwise if joining indexes on indexes or indexes on a column or columns, the index will be passed on. Parameters: left : DataFrame right : Data