IndexYear

Detail: IndexYear

IndexYear: Constructor

Detail: IndexYear: Constructor

Detail

IndexYear.__init__(labels, *, name)

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

Detail

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

Get an IndexYearMonth instance over a range of dates, where start and stop are i…

Detail

IndexYear.from_labels(labels, *, name)

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

Detail

IndexYear.from_pandas(value)

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

Detail

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

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

Detail

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

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

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

IndexYear: Exporter

Detail: IndexYear: Exporter

Detail

IndexYear.to_html(config, style_config)

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

Detail

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

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

Detail

IndexYear.to_pandas()

Return a Pandas Index.

Detail

IndexYear.to_series()

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

Detail

IndexYear.to_visidata()

Open an interactive VisiData session.

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

IndexYear: Attribute

Detail: IndexYear: Attribute

Detail

IndexYear.STATIC

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

Detail

IndexYear.depth

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

Detail

IndexYear.dtype

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

Detail

IndexYear.mloc

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

Detail

IndexYear.name

A hashable label attached to this container. Returns: Hashable

Detail

IndexYear.names

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

Detail

IndexYear.nbytes

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

Detail

IndexYear.ndim

Return the number of dimensions. Returns: int

Detail

IndexYear.positions

Return the immutable positions array.

Detail

IndexYear.shape

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

Detail

IndexYear.size

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

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

IndexYear: Method

Detail: IndexYear: Method

Detail

IndexYear.__bool__()

Raises ValueError to prohibit ambiguous use of truethy evaluation.

Detail

IndexYear.__copy__()

Return shallow copy of this Index.

Detail

IndexYear.__deepcopy__(memo)

Detail

IndexYear.__len__()

Detail

IndexYear.all(axis, skipna, out)

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

Detail

IndexYear.any(axis, skipna, out)

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

Detail

IndexYear.astype(dtype)

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

Detail

IndexYear.copy()

Return shallow copy of this Index.

Detail

IndexYear.cumprod(axis, skipna)

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

Detail

IndexYear.cumsum(axis, skipna)

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

Detail

IndexYear.difference(other)

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

Detail

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

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

Detail

IndexYear.fillna(value)

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

Detail

IndexYear.head(count)

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

Detail

IndexYear.iloc_searchsorted(values, *, side_left)

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

Detail

IndexYear.intersection(*others)

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

Detail

IndexYear.isin(other)

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

Detail

IndexYear.label_widths_at_depth(depth_level)

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

Detail

IndexYear.level_add(level)

Return an IndexHierarchy with an added root level.

Detail

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

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

Detail

IndexYear.loc_to_iloc(key)

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

Detail

IndexYear.max(axis, skipna)

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

Detail

IndexYear.mean(axis, skipna, out)

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

Detail

IndexYear.median(axis, skipna, out)

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

Detail

IndexYear.min(axis, skipna, out)

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

Detail

IndexYear.prod(axis, skipna, out)

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

Detail

IndexYear.relabel(mapper)

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

Detail

IndexYear.rename(name)

Return a new Frame with an updated name attribute.

Detail

IndexYear.roll(shift)

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

Detail

IndexYear.sample(count, *, seed)

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

Detail

IndexYear.sort(ascending, kind, key)

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

Detail

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

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

Detail

IndexYear.sum(axis, skipna, out)

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

Detail

IndexYear.tail(count)

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

Detail

IndexYear.union(*others)

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

Detail

IndexYear.unique(depth_level)

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

Detail

IndexYear.values_at_depth(depth_level)

Return an NP array for the depth_level specified.

Detail

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

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

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

IndexYear: Dictionary-Like

Detail: IndexYear: Dictionary-Like

Detail

IndexYear.__contains__(value)

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

Detail

IndexYear.__iter__()

Iterate over labels.

Detail

IndexYear.__reversed__()

Returns a reverse iterator on the index labels.

Detail

IndexYear.values

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

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

IndexYear: Display

Detail: IndexYear: Display

Detail

IndexYear.interface

A Frame documenting the interface of this class.

Detail

IndexYear.__repr__()

Detail

IndexYear.__str__()

Return str(self).

Detail

IndexYear.display(config, *, style_config)

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

Detail

IndexYear.display_tall(config)

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

Detail

IndexYear.display_wide(config)

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

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

IndexYear: Selector

Detail: IndexYear: Selector

Detail

IndexYear.drop.iloc[key]

Detail

IndexYear.drop.loc[key]

Detail

IndexYear[key]

Extract a new index given an iloc key.

Detail

IndexYear.iloc[key]

Detail

IndexYear.loc[key]

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

IndexYear: Iterator

Detail: IndexYear: Iterator

Detail

IndexYear.iter_label(depth_level)

Detail

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

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

Detail

IndexYear.iter_label(depth_level).apply_iter(func)

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

Detail

IndexYear.iter_label(depth_level).apply_iter_items(func)

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

Detail

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

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

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

Detail

IndexYear.iter_label(depth_level).map_all_iter(mapping)

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

Detail

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

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

IndexYear.iter_label(depth_level).map_any_iter(mapping)

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

Detail

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

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

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

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

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

IndexYear: Operator Binary

Detail: IndexYear: Operator Binary

Detail

IndexYear.__add__(other)

Detail

IndexYear.__and__(other)

Detail

IndexYear.__eq__(other)

Detail

IndexYear.__floordiv__(other)

Detail

IndexYear.__ge__(other)

Detail

IndexYear.__gt__(other)

Detail

IndexYear.__le__(other)

Detail

IndexYear.__lt__(other)

Detail

IndexYear.__matmul__(other)

Detail

IndexYear.__mod__(other)

Detail

IndexYear.__mul__(other)

Detail

IndexYear.__ne__(other)

Detail

IndexYear.__or__(other)

Detail

IndexYear.__pow__(other)

Detail

IndexYear.__radd__(other)

Detail

IndexYear.__rfloordiv__(other)

Detail

IndexYear.__rmatmul__(other)

Detail

IndexYear.__rmul__(other)

Detail

IndexYear.__rshift__(other)

Detail

IndexYear.__rsub__(other)

Detail

IndexYear.__rtruediv__(other)

Detail

IndexYear.__sub__(other)

Detail

IndexYear.__truediv__(other)

Detail

IndexYear.__xor__(other)

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

IndexYear: Operator Unary

Detail: IndexYear: Operator Unary

Detail

IndexYear.__abs__()

Detail

IndexYear.__invert__()

Detail

IndexYear.__neg__()

Detail

IndexYear.__pos__()

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

IndexYear: Accessor Datetime

Detail: IndexYear: Accessor Datetime

Detail

IndexYear.via_dt.year

Return the year of each element.

Detail

IndexYear.via_dt.month

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

Detail

IndexYear.via_dt.day

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

Detail

IndexYear.via_dt.weekday()

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

Detail

IndexYear.via_dt.timetuple()

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

Detail

IndexYear.via_dt.fromisoformat()

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

Detail

IndexYear.via_dt.isoformat(sep, timespec)

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

Detail

IndexYear.via_dt.strftime(format)

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

Detail

IndexYear.via_dt.strptime(format)

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

Detail

IndexYear.via_dt.strpdate(format)

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

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

IndexYear: Accessor String

Detail: IndexYear: Accessor String

Detail

IndexYear.via_str.capitalize()

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

Detail

IndexYear.via_str.center(width, fillchar)

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

Detail

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

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

Detail

IndexYear.via_str.decode(encoding, errors)

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

Detail

IndexYear.via_str.encode(encoding, errors)

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

Detail

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

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

Detail

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

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

Detail

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

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

Detail

IndexYear.via_str.isalnum()

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

Detail

IndexYear.via_str.isalpha()

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

Detail

IndexYear.via_str.isdecimal()

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

Detail

IndexYear.via_str.isdigit()

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

Detail

IndexYear.via_str.islower()

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

Detail

IndexYear.via_str.isnumeric()

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

Detail

IndexYear.via_str.isspace()

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

Detail

IndexYear.via_str.istitle()

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

Detail

IndexYear.via_str.isupper()

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

Detail

IndexYear.via_str.ljust(width, fillchar)

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

Detail

IndexYear.via_str.len()

Return the length of the string.

Detail

IndexYear.via_str.lower()

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

Detail

IndexYear.via_str.lstrip(chars)

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

Detail

IndexYear.via_str.partition(sep)

Partition each element around sep.

Detail

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

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

Detail

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

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

Detail

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

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

Detail

IndexYear.via_str.rjust(width, fillchar)

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

Detail

IndexYear.via_str.rpartition(sep)

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

Detail

IndexYear.via_str.rsplit(sep, maxsplit)

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

Detail

IndexYear.via_str.rstrip(chars)

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

Detail

IndexYear.via_str.split(sep, maxsplit)

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

Detail

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

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

Detail

IndexYear.via_str.strip(chars)

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

Detail

IndexYear.via_str.swapcase()

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

Detail

IndexYear.via_str.title()

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

Detail

IndexYear.via_str.upper()

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

Detail

IndexYear.via_str.zfill(width)

Return the string left-filled with zeros.

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

IndexYear: Accessor Regular Expression

Detail: IndexYear: Accessor Regular Expression

Detail

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

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

Detail

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

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

Detail

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

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

Detail

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

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

Detail

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

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

Detail

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

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

Detail

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

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

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