IndexDate

Detail: IndexDate

IndexDate: Constructor

Detail: IndexDate: Constructor

Detail

IndexDate.__init__(labels, *, name)

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

Detail

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

Get an IndexDate instance over a range of dates, where start and stop is inclusi…

Detail

IndexDate.from_labels(labels, *, name)

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

Detail

IndexDate.from_pandas(value)

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

Detail

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

Get an IndexDate instance over a range of months, where start and end are inclus…

Detail

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

Get an IndexDate instance over a range of years, where start and end are inclusi…

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

IndexDate: Exporter

Detail: IndexDate: Exporter

Detail

IndexDate.to_html(config)

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

Detail

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

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

Detail

IndexDate.to_pandas()

Return a Pandas Index.

Detail

IndexDate.to_series()

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

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

IndexDate: Attribute

Detail: IndexDate: Attribute

Detail

IndexDate.STATIC

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

Detail

IndexDate.depth

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

Detail

IndexDate.dtype

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

Detail

IndexDate.mloc

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

Detail

IndexDate.name

A hashable label attached to this container. Returns: Hashable

Detail

IndexDate.names

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

Detail

IndexDate.nbytes

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

Detail

IndexDate.ndim

Return the number of dimensions. Returns: int

Detail

IndexDate.positions

Return the immutable positions array.

Detail

IndexDate.shape

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

Detail

IndexDate.size

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

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

IndexDate: Method

Detail: IndexDate: Method

Detail

IndexDate.__bool__()

Raises ValueError to prohibit ambiguous use of truethy evaluation.

Detail

IndexDate.__copy__()

Return shallow copy of this Index.

Detail

IndexDate.__deepcopy__(memo)

Detail

IndexDate.__len__()

Detail

IndexDate.all(axis, skipna, out)

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

Detail

IndexDate.any(axis, skipna, out)

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

Detail

IndexDate.astype(dtype)

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

Detail

IndexDate.copy()

Return shallow copy of this Index.

Detail

IndexDate.cumprod(axis, skipna)

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

Detail

IndexDate.cumsum(axis, skipna)

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

Detail

IndexDate.difference(other)

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

Detail

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

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

Detail

IndexDate.fillna(value)

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

Detail

IndexDate.head(count)

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

Detail

IndexDate.iloc_searchsorted(values, *, side_left)

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

Detail

IndexDate.intersection(*others)

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

Detail

IndexDate.isin(other)

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

Detail

IndexDate.label_widths_at_depth(depth_level)

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

Detail

IndexDate.level_add(level)

Return an IndexHierarchy with an added root level.

Detail

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

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

Detail

IndexDate.loc_to_iloc(key)

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

Detail

IndexDate.max(axis, skipna)

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

Detail

IndexDate.mean(axis, skipna, out)

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

Detail

IndexDate.median(axis, skipna, out)

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

Detail

IndexDate.min(axis, skipna, out)

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

Detail

IndexDate.prod(axis, skipna, out)

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

Detail

IndexDate.relabel(mapper)

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

Detail

IndexDate.rename(name)

Return a new Frame with an updated name attribute.

Detail

IndexDate.roll(shift)

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

Detail

IndexDate.sample(count, *, seed)

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

Detail

IndexDate.sort(ascending, kind, key)

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

Detail

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

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

Detail

IndexDate.sum(axis, skipna, out)

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

Detail

IndexDate.tail(count)

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

Detail

IndexDate.union(*others)

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

Detail

IndexDate.unique(depth_level)

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

Detail

IndexDate.values_at_depth(depth_level)

Return an NP array for the depth_level specified.

Detail

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

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

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

IndexDate: Dictionary-Like

Detail: IndexDate: Dictionary-Like

Detail

IndexDate.__contains__(value)

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

Detail

IndexDate.__iter__()

Iterate over labels.

Detail

IndexDate.__reversed__()

Returns a reverse iterator on the index labels.

Detail

IndexDate.values

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

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

IndexDate: Display

Detail: IndexDate: Display

Detail

IndexDate.interface

A Frame documenting the interface of this class.

Detail

IndexDate.__repr__()

Detail

IndexDate.__str__()

Return str(self).

Detail

IndexDate.display(config)

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

Detail

IndexDate.display_tall(config)

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

Detail

IndexDate.display_wide(config)

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

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

IndexDate: Selector

Detail: IndexDate: Selector

Detail

IndexDate.drop.iloc[key]

Detail

IndexDate.drop.loc[key]

Detail

IndexDate[key]

Extract a new index given an iloc key.

Detail

IndexDate.iloc[key]

Detail

IndexDate.loc[key]

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

IndexDate: Iterator

Detail: IndexDate: Iterator

Detail

IndexDate.iter_label(depth_level)

Detail

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

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

Detail

IndexDate.iter_label(depth_level).apply_iter(func)

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

Detail

IndexDate.iter_label(depth_level).apply_iter_items(func)

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

Detail

IndexDate.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

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

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

Detail

IndexDate.iter_label(depth_level).map_all_iter(mapping)

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

Detail

IndexDate.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

IndexDate.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

IndexDate.iter_label(depth_level).map_any_iter(mapping)

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

Detail

IndexDate.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

IndexDate.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

IndexDate.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

IndexDate.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…

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

IndexDate: Operator Binary

Detail: IndexDate: Operator Binary

Detail

IndexDate.__add__(other)

Detail

IndexDate.__and__(other)

Detail

IndexDate.__eq__(other)

Detail

IndexDate.__floordiv__(other)

Detail

IndexDate.__ge__(other)

Detail

IndexDate.__gt__(other)

Detail

IndexDate.__le__(other)

Detail

IndexDate.__lt__(other)

Detail

IndexDate.__matmul__(other)

Detail

IndexDate.__mod__(other)

Detail

IndexDate.__mul__(other)

Detail

IndexDate.__ne__(other)

Detail

IndexDate.__or__(other)

Detail

IndexDate.__pow__(other)

Detail

IndexDate.__radd__(other)

Detail

IndexDate.__rfloordiv__(other)

Detail

IndexDate.__rmatmul__(other)

Detail

IndexDate.__rmul__(other)

Detail

IndexDate.__rshift__(other)

Detail

IndexDate.__rsub__(other)

Detail

IndexDate.__rtruediv__(other)

Detail

IndexDate.__sub__(other)

Detail

IndexDate.__truediv__(other)

Detail

IndexDate.__xor__(other)

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

IndexDate: Operator Unary

Detail: IndexDate: Operator Unary

Detail

IndexDate.__abs__()

Detail

IndexDate.__invert__()

Detail

IndexDate.__neg__()

Detail

IndexDate.__pos__()

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

IndexDate: Accessor Datetime

Detail: IndexDate: Accessor Datetime

Detail

IndexDate.via_dt.year

Return the year of each element.

Detail

IndexDate.via_dt.month

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

Detail

IndexDate.via_dt.day

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

Detail

IndexDate.via_dt.weekday()

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

Detail

IndexDate.via_dt.timetuple()

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

Detail

IndexDate.via_dt.fromisoformat()

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

Detail

IndexDate.via_dt.isoformat(sep, timespec)

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

Detail

IndexDate.via_dt.strftime(format)

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

Detail

IndexDate.via_dt.strptime(format)

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

Detail

IndexDate.via_dt.strpdate(format)

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

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

IndexDate: Accessor String

Detail: IndexDate: Accessor String

Detail

IndexDate.via_str.capitalize()

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

Detail

IndexDate.via_str.center(width, fillchar)

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

Detail

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

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

Detail

IndexDate.via_str.decode(encoding, errors)

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

Detail

IndexDate.via_str.encode(encoding, errors)

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

Detail

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

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

Detail

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

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

Detail

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

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

Detail

IndexDate.via_str.isalnum()

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

Detail

IndexDate.via_str.isalpha()

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

Detail

IndexDate.via_str.isdecimal()

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

Detail

IndexDate.via_str.isdigit()

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

Detail

IndexDate.via_str.islower()

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

Detail

IndexDate.via_str.isnumeric()

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

Detail

IndexDate.via_str.isspace()

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

Detail

IndexDate.via_str.istitle()

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

Detail

IndexDate.via_str.isupper()

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

Detail

IndexDate.via_str.ljust(width, fillchar)

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

Detail

IndexDate.via_str.len()

Return the length of the string.

Detail

IndexDate.via_str.lower()

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

Detail

IndexDate.via_str.lstrip(chars)

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

Detail

IndexDate.via_str.partition(sep)

Partition each element around sep.

Detail

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

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

Detail

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

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

Detail

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

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

Detail

IndexDate.via_str.rjust(width, fillchar)

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

Detail

IndexDate.via_str.rpartition(sep)

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

Detail

IndexDate.via_str.rsplit(sep, maxsplit)

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

Detail

IndexDate.via_str.rstrip(chars)

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

Detail

IndexDate.via_str.split(sep, maxsplit)

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

Detail

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

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

Detail

IndexDate.via_str.strip(chars)

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

Detail

IndexDate.via_str.swapcase()

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

Detail

IndexDate.via_str.title()

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

Detail

IndexDate.via_str.upper()

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

Detail

IndexDate.via_str.zfill(width)

Return the string left-filled with zeros.

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