IndexYearMonth

Detail: IndexYearMonth

IndexYearMonth: Constructor

Detail: IndexYearMonth: Constructor

Detail

IndexYearMonth.__init__(labels, *, name)

Initializer. Args: labels: Iterable of hashable values to be used as the index l…

Detail

IndexYearMonth.from_date_range(start, stop, step, *, name)

Get an IndexYearMonth instance over a range of dates, where start and stop is in…

Detail

IndexYearMonth.from_labels(labels, *, name)

Construct an Index from an iterable of labels, where each label is a hashable. P…

Detail

IndexYearMonth.from_pandas(value)

Given a Pandas index, return the appropriate IndexBase derived class.

Detail

IndexYearMonth.from_year_month_range(start, stop, step, *, name)

Get an IndexYearMonth instance over a range of months, where start and end are i…

Detail

IndexYearMonth.from_year_range(start, stop, step, *, name)

Get an IndexYearMonth instance over a range of years, where start and end are in…

IndexYearMonth: Constructor | Exporter | Attribute | Method | Dictionary-Like | Display | Selector | Iterator | Operator Binary | Operator Unary | Accessor Datetime | Accessor String | Accessor Regular Expression

IndexYearMonth: Exporter

Detail: IndexYearMonth: Exporter

Detail

IndexYearMonth.to_html(config, style_config)

Return an HTML table representation of this Index using standard TABLE, TR, and…

Detail

IndexYearMonth.to_html_datatables(fp, *, show, config)

Return a complete HTML representation of this Index using the DataTables JS libr…

Detail

IndexYearMonth.to_pandas()

Return a Pandas Index.

Detail

IndexYearMonth.to_series()

Return a Series with values from this Index’s labels.

Detail

IndexYearMonth.to_visidata()

Open an interactive VisiData session.

IndexYearMonth: Constructor | Exporter | Attribute | Method | Dictionary-Like | Display | Selector | Iterator | Operator Binary | Operator Unary | Accessor Datetime | Accessor String | Accessor Regular Expression

IndexYearMonth: Attribute

Detail: IndexYearMonth: Attribute

Detail

IndexYearMonth.STATIC

bool(x) -> bool Returns True when the argument x is true, False otherwise. The b…

Detail

IndexYearMonth.depth

int([x]) -> integer int(x, base=10) -> integer Convert a number or string to an…

Detail

IndexYearMonth.dtype

Return the dtype of the underlying NumPy array. Returns: numpy.dtype

Detail

IndexYearMonth.mloc

The memory location, represented as an integer, of the underlying NumPy array.

Detail

IndexYearMonth.name

A hashable label attached to this container. Returns: Hashable

Detail

IndexYearMonth.names

Provide a suitable iterable of names for usage in output formats that require a…

Detail

IndexYearMonth.nbytes

Return the total bytes of the underlying NumPy array. Returns: int

Detail

IndexYearMonth.ndim

Return the number of dimensions. Returns: int

Detail

IndexYearMonth.positions

Return the immutable positions array.

Detail

IndexYearMonth.shape

Return a tuple describing the shape of the underlying NumPy array. Returns: tp.T…

Detail

IndexYearMonth.size

Return the size of the underlying NumPy array. Returns: int

IndexYearMonth: Constructor | Exporter | Attribute | Method | Dictionary-Like | Display | Selector | Iterator | Operator Binary | Operator Unary | Accessor Datetime | Accessor String | Accessor Regular Expression

IndexYearMonth: Method

Detail: IndexYearMonth: Method

Detail

IndexYearMonth.__bool__()

Raises ValueError to prohibit ambiguous use of truethy evaluation.

Detail

IndexYearMonth.__copy__()

Return shallow copy of this Index.

Detail

IndexYearMonth.__deepcopy__(memo)

Detail

IndexYearMonth.__len__()

Detail

IndexYearMonth.all(axis, skipna, out)

Logical and over values along the specified axis. Args: axis: Axis, defaulting t…

Detail

IndexYearMonth.any(axis, skipna, out)

Logical or over values along the specified axis. Args: axis: Axis, defaulting to…

Detail

IndexYearMonth.astype(dtype)

Return an Index with type determined by dtype argument. Note that for Index, thi…

Detail

IndexYearMonth.copy()

Return shallow copy of this Index.

Detail

IndexYearMonth.cumprod(axis, skipna)

Return the cumulative product over the specified axis. Args: axis: Axis, default…

Detail

IndexYearMonth.cumsum(axis, skipna)

Return the cumulative sum over the specified axis. Args: axis: Axis, defaulting…

Detail

IndexYearMonth.difference(other)

Perform difference with another Index, container, or NumPy array. Retains order.

Detail

IndexYearMonth.equals(other, *, compare_name, compare_dtype, compare_class, skipna)

Return a bool from comparison to any other object. Args: compare_name: Include e…

Detail

IndexYearMonth.fillna(value)

Return an Index with replacing null (NaN or None) with the supplied value. Args:…

Detail

IndexYearMonth.head(count)

Return a Index consisting only of the top elements as specified by count. Args:…

Detail

IndexYearMonth.iloc_searchsorted(values, *, side_left)

Given a sorted Series, return the iloc (integer) position(s) at which insertion…

Detail

IndexYearMonth.intersection(*others)

Perform intersection with one or many Index, container, or NumPy array. Identica…

Detail

IndexYearMonth.isin(other)

Return a Boolean array showing True where a label is found in other. If other is…

Detail

IndexYearMonth.label_widths_at_depth(depth_level)

A generator of pairs, where each pair is the label and the count of that label f…

Detail

IndexYearMonth.level_add(level)

Return an IndexHierarchy with an added root level.

Detail

IndexYearMonth.loc_searchsorted(values, *, side_left, fill_value)

Given a sorted Series, return the loc (label) position(s) at which insertion in…

Detail

IndexYearMonth.loc_to_iloc(key)

Given a label (loc) style key (either a label, a list of labels, a slice, or a B…

Detail

IndexYearMonth.max(axis, skipna)

Return the maximum along the specified axis. Args: axis: Axis, defaulting to axi…

Detail

IndexYearMonth.mean(axis, skipna, out)

Return the mean along the specified axis. Args: axis: Axis, defaulting to axis 0…

Detail

IndexYearMonth.median(axis, skipna, out)

Return the median along the specified axis. Args: axis: Axis, defaulting to axis…

Detail

IndexYearMonth.min(axis, skipna, out)

Return the minimum along the specified axis. Args: axis: Axis, defaulting to axi…

Detail

IndexYearMonth.prod(axis, skipna, out)

Return the product along the specified axis. Args: axis: Axis, defaulting to axi…

Detail

IndexYearMonth.relabel(mapper)

Return a new Index with labels replaced by the callable or mapping; order will b…

Detail

IndexYearMonth.rename(name)

Return a new Frame with an updated name attribute.

Detail

IndexYearMonth.roll(shift)

Return an Index with values rotated forward and wrapped around (with a postive s…

Detail

IndexYearMonth.sample(count, *, seed)

Randomly (optionally made deterministic with a fixed seed) extract items from th…

Detail

IndexYearMonth.sort(ascending, kind, key)

Return a new Index with the labels sorted. Args: ascending: If True, sort in asc…

Detail

IndexYearMonth.std(axis, skipna, ddof, out)

Return the standard deviaton along the specified axis. Args: axis: Axis, default…

Detail

IndexYearMonth.sum(axis, skipna, out)

Sum values along the specified axis. Args: axis: Axis, defaulting to axis 0. ski…

Detail

IndexYearMonth.tail(count)

Return a Index consisting only of the bottom elements as specified by count. Arg…

Detail

IndexYearMonth.union(*others)

Perform union with another Index, container, or NumPy array. Identical compariso…

Detail

IndexYearMonth.unique(depth_level)

Return a NumPy array of unique values. Args: depth_level: defaults to 0 for for…

Detail

IndexYearMonth.values_at_depth(depth_level)

Return an NP array for the depth_level specified.

Detail

IndexYearMonth.var(axis, skipna, ddof, out)

Return the variance along the specified axis. Args: axis: Axis, defaulting to ax…

IndexYearMonth: Constructor | Exporter | Attribute | Method | Dictionary-Like | Display | Selector | Iterator | Operator Binary | Operator Unary | Accessor Datetime | Accessor String | Accessor Regular Expression

IndexYearMonth: Dictionary-Like

Detail: IndexYearMonth: Dictionary-Like

Detail

IndexYearMonth.__contains__(value)

Return True if value in the labels. Will only return True for an exact match to…

Detail

IndexYearMonth.__iter__()

Iterate over labels.

Detail

IndexYearMonth.__reversed__()

Returns a reverse iterator on the index labels.

Detail

IndexYearMonth.values

A 1D NumPy array of the values in the Index. This array will have the same dtype…

IndexYearMonth: Constructor | Exporter | Attribute | Method | Dictionary-Like | Display | Selector | Iterator | Operator Binary | Operator Unary | Accessor Datetime | Accessor String | Accessor Regular Expression

IndexYearMonth: Display

Detail: IndexYearMonth: Display

Detail

IndexYearMonth.interface

A Frame documenting the interface of this class.

Detail

IndexYearMonth.__repr__()

Detail

IndexYearMonth.__str__()

Return str(self).

Detail

IndexYearMonth.display(config, *, style_config)

Return a Display, capable of providing a string representation. Args: config: A…

Detail

IndexYearMonth.display_tall(config)

Maximize vertical presentation. Return a Display, capable of providing a string…

Detail

IndexYearMonth.display_wide(config)

Maximize horizontal presentation. Return a Display, capable of providing a strin…

IndexYearMonth: Constructor | Exporter | Attribute | Method | Dictionary-Like | Display | Selector | Iterator | Operator Binary | Operator Unary | Accessor Datetime | Accessor String | Accessor Regular Expression

IndexYearMonth: Selector

Detail: IndexYearMonth: Selector

Detail

IndexYearMonth.drop.iloc[key]

Detail

IndexYearMonth.drop.loc[key]

Detail

IndexYearMonth[key]

Extract a new index given an iloc key.

Detail

IndexYearMonth.iloc[key]

Detail

IndexYearMonth.loc[key]

IndexYearMonth: Constructor | Exporter | Attribute | Method | Dictionary-Like | Display | Selector | Iterator | Operator Binary | Operator Unary | Accessor Datetime | Accessor String | Accessor Regular Expression

IndexYearMonth: Iterator

Detail: IndexYearMonth: Iterator

Detail

IndexYearMonth.iter_label(depth_level)

Detail

IndexYearMonth.iter_label(depth_level).apply(func, *, dtype, name)

Apply a function to each value. Returns a new container. Args: func: A function…

Detail

IndexYearMonth.iter_label(depth_level).apply_iter(func)

Apply a function to each value. A generator of resulting values. Args: func: A f…

Detail

IndexYearMonth.iter_label(depth_level).apply_iter_items(func)

Apply a function to each value. A generator of resulting key, value pairs. Args:…

Detail

IndexYearMonth.iter_label(depth_level).apply_pool(func, *, dtype, name, max_workers, chunksize, use_threads)

Apply a function to each value. Employ parallel processing with either the Proce…

Detail

IndexYearMonth.iter_label(depth_level).map_all(mapping, *, dtype, name)

Apply a mapping; for values not in the mapping, an Exception is raised. Returns…

Detail

IndexYearMonth.iter_label(depth_level).map_all_iter(mapping)

Apply a mapping; for values not in the mapping, an Exception is raised. A genera…

Detail

IndexYearMonth.iter_label(depth_level).map_all_iter_items(mapping)

Apply a mapping; for values not in the mapping, an Exception is raised. A genera…

Detail

IndexYearMonth.iter_label(depth_level).map_any(mapping, *, dtype, name)

Apply a mapping; for values not in the mapping, the value is returned. Returns a…

Detail

IndexYearMonth.iter_label(depth_level).map_any_iter(mapping)

Apply a mapping; for values not in the mapping, the value is returned. A generat…

Detail

IndexYearMonth.iter_label(depth_level).map_any_iter_items(mapping)

Apply a mapping; for values not in the mapping, the value is returned. A generat…

Detail

IndexYearMonth.iter_label(depth_level).map_fill(mapping, *, fill_value, dtype, name)

Apply a mapping; for values not in the mapping, the fill_value is returned. Retu…

Detail

IndexYearMonth.iter_label(depth_level).map_fill_iter(mapping, *, fill_value)

Apply a mapping; for values not in the mapping, the fill_value is returned. A ge…

Detail

IndexYearMonth.iter_label(depth_level).map_fill_iter_items(mapping, *, fill_value)

Apply a mapping; for values not in the mapping, the fill_value is returned. A ge…

IndexYearMonth: Constructor | Exporter | Attribute | Method | Dictionary-Like | Display | Selector | Iterator | Operator Binary | Operator Unary | Accessor Datetime | Accessor String | Accessor Regular Expression

IndexYearMonth: Operator Binary

Detail: IndexYearMonth: Operator Binary

Detail

IndexYearMonth.__add__(other)

Detail

IndexYearMonth.__and__(other)

Detail

IndexYearMonth.__eq__(other)

Detail

IndexYearMonth.__floordiv__(other)

Detail

IndexYearMonth.__ge__(other)

Detail

IndexYearMonth.__gt__(other)

Detail

IndexYearMonth.__le__(other)

Detail

IndexYearMonth.__lt__(other)

Detail

IndexYearMonth.__matmul__(other)

Detail

IndexYearMonth.__mod__(other)

Detail

IndexYearMonth.__mul__(other)

Detail

IndexYearMonth.__ne__(other)

Detail

IndexYearMonth.__or__(other)

Detail

IndexYearMonth.__pow__(other)

Detail

IndexYearMonth.__radd__(other)

Detail

IndexYearMonth.__rfloordiv__(other)

Detail

IndexYearMonth.__rmatmul__(other)

Detail

IndexYearMonth.__rmul__(other)

Detail

IndexYearMonth.__rshift__(other)

Detail

IndexYearMonth.__rsub__(other)

Detail

IndexYearMonth.__rtruediv__(other)

Detail

IndexYearMonth.__sub__(other)

Detail

IndexYearMonth.__truediv__(other)

Detail

IndexYearMonth.__xor__(other)

IndexYearMonth: Constructor | Exporter | Attribute | Method | Dictionary-Like | Display | Selector | Iterator | Operator Binary | Operator Unary | Accessor Datetime | Accessor String | Accessor Regular Expression

IndexYearMonth: Operator Unary

Detail: IndexYearMonth: Operator Unary

Detail

IndexYearMonth.__abs__()

Detail

IndexYearMonth.__invert__()

Detail

IndexYearMonth.__neg__()

Detail

IndexYearMonth.__pos__()

IndexYearMonth: Constructor | Exporter | Attribute | Method | Dictionary-Like | Display | Selector | Iterator | Operator Binary | Operator Unary | Accessor Datetime | Accessor String | Accessor Regular Expression

IndexYearMonth: Accessor Datetime

Detail: IndexYearMonth: Accessor Datetime

Detail

IndexYearMonth.via_dt.year

Return the year of each element.

Detail

IndexYearMonth.via_dt.month

Return the month of each element, between 1 and 12 inclusive.

Detail

IndexYearMonth.via_dt.day

Return the day of each element, between 1 and the number of days in the given mo…

Detail

IndexYearMonth.via_dt.weekday()

Return the day of the week as an integer, where Monday is 0 and Sunday is 6.

Detail

IndexYearMonth.via_dt.timetuple()

Return a time.struct_time such as returned by time.localtime().

Detail

IndexYearMonth.via_dt.fromisoformat()

Return a datetime.date object from an ISO 8601 format.

Detail

IndexYearMonth.via_dt.isoformat(sep, timespec)

Return a string representing the date in ISO 8601 format, YYYY-MM-DD.

Detail

IndexYearMonth.via_dt.strftime(format)

Return a string representing the date, controlled by an explicit format string.

Detail

IndexYearMonth.via_dt.strptime(format)

Return a Python datetime object from parsing a string defined with format.

Detail

IndexYearMonth.via_dt.strpdate(format)

Return a Python date object from parsing a string defined with format.

IndexYearMonth: Constructor | Exporter | Attribute | Method | Dictionary-Like | Display | Selector | Iterator | Operator Binary | Operator Unary | Accessor Datetime | Accessor String | Accessor Regular Expression

IndexYearMonth: Accessor String

Detail: IndexYearMonth: Accessor String

Detail

IndexYearMonth.via_str.capitalize()

Return a container with only the first character of each element capitalized.

Detail

IndexYearMonth.via_str.center(width, fillchar)

Return a container with its elements centered in a string of length width.

Detail

IndexYearMonth.via_str.count(sub, start, end)

Returns a container with the number of non-overlapping occurrences of substring…

Detail

IndexYearMonth.via_str.decode(encoding, errors)

Apply str.decode() to each element. Elements must be bytes.

Detail

IndexYearMonth.via_str.encode(encoding, errors)

Apply str.encode() to each element. Elements must be strings.

Detail

IndexYearMonth.via_str.endswith(suffix, start, end)

Returns a container with the number of non-overlapping occurrences of substring…

Detail

IndexYearMonth.via_str.find(sub, start, end)

For each element, return the lowest index in the string where substring sub is f…

Detail

IndexYearMonth.via_str.index(sub, start, end)

Like find, but raises ValueError when the substring is not found.

Detail

IndexYearMonth.via_str.isalnum()

Returns true for each element if all characters in the string are alphanumeric a…

Detail

IndexYearMonth.via_str.isalpha()

Returns true for each element if all characters in the string are alphabetic and…

Detail

IndexYearMonth.via_str.isdecimal()

For each element, return True if there are only decimal characters in the elemen…

Detail

IndexYearMonth.via_str.isdigit()

Returns true for each element if all characters in the string are digits and the…

Detail

IndexYearMonth.via_str.islower()

Returns true for each element if all cased characters in the string are lowercas…

Detail

IndexYearMonth.via_str.isnumeric()

For each element in self, return True if there are only numeric characters in th…

Detail

IndexYearMonth.via_str.isspace()

Returns true for each element if there are only whitespace characters in the str…

Detail

IndexYearMonth.via_str.istitle()

Returns true for each element if the element is a titlecased string and there is…

Detail

IndexYearMonth.via_str.isupper()

Returns true for each element if all cased characters in the string are uppercas…

Detail

IndexYearMonth.via_str.ljust(width, fillchar)

Return a container with its elements ljusted in a string of length width.

Detail

IndexYearMonth.via_str.len()

Return the length of the string.

Detail

IndexYearMonth.via_str.lower()

Return an array with the elements of self converted to lowercase.

Detail

IndexYearMonth.via_str.lstrip(chars)

For each element, return a copy with the leading characters removed.

Detail

IndexYearMonth.via_str.partition(sep)

Partition each element around sep.

Detail

IndexYearMonth.via_str.replace(old, new, count)

Return a container with its elements replaced in a string of length width.

Detail

IndexYearMonth.via_str.rfind(sub, start, end)

For each element, return the highest index in the string where substring sub is…

Detail

IndexYearMonth.via_str.rindex(sub, start, end)

Like rfind, but raises ValueError when the substring sub is not found.

Detail

IndexYearMonth.via_str.rjust(width, fillchar)

Return a container with its elements rjusted in a string of length width.

Detail

IndexYearMonth.via_str.rpartition(sep)

Partition (split) each element around the right-most separator.

Detail

IndexYearMonth.via_str.rsplit(sep, maxsplit)

For each element, return a tuple of the words in the string, using sep as the de…

Detail

IndexYearMonth.via_str.rstrip(chars)

For each element, return a copy with the trailing characters removed.

Detail

IndexYearMonth.via_str.split(sep, maxsplit)

For each element, return a tuple of the words in the string, using sep as the de…

Detail

IndexYearMonth.via_str.startswith(prefix, start, end)

Returns a container with the number of non-overlapping occurrences of substring…

Detail

IndexYearMonth.via_str.strip(chars)

For each element, return a copy with the leading and trailing characters removed…

Detail

IndexYearMonth.via_str.swapcase()

Return a container with uppercase characters converted to lowercase and vice ver…

Detail

IndexYearMonth.via_str.title()

Return a container with uppercase characters converted to lowercase and vice ver…

Detail

IndexYearMonth.via_str.upper()

Return a container with uppercase characters converted to lowercase and vice ver…

Detail

IndexYearMonth.via_str.zfill(width)

Return the string left-filled with zeros.

IndexYearMonth: Constructor | Exporter | Attribute | Method | Dictionary-Like | Display | Selector | Iterator | Operator Binary | Operator Unary | Accessor Datetime | Accessor String | Accessor Regular Expression

IndexYearMonth: Accessor Regular Expression

Detail: IndexYearMonth: Accessor Regular Expression

Detail

IndexYearMonth.via_re(pattern, flags).search(pos, endpos)

Scan through string looking for the first location where this regular expression…

Detail

IndexYearMonth.via_re(pattern, flags).match(pos, endpos)

If zero or more characters at the beginning of string match this regular express…

Detail

IndexYearMonth.via_re(pattern, flags).fullmatch(pos, endpos)

If the whole string matches this regular expression, return True, else False. No…

Detail

IndexYearMonth.via_re(pattern, flags).split(maxsplit)

Split string by the occurrences of pattern. If capturing parentheses are used in…

Detail

IndexYearMonth.via_re(pattern, flags).findall(pos, endpos)

Return all non-overlapping matches of pattern in string, as a tuple of strings….

Detail

IndexYearMonth.via_re(pattern, flags).sub(repl, count)

Return the string obtained by replacing the leftmost non-overlapping occurrences…

Detail

IndexYearMonth.via_re(pattern, flags).subn(repl, count)

Perform the same operation as sub(), but return a tuple (new_string, number_of_s…

IndexYearMonth: Constructor | Exporter | Attribute | Method | Dictionary-Like | Display | Selector | Iterator | Operator Binary | Operator Unary | Accessor Datetime | Accessor String | Accessor Regular Expression