PeriodicCovFunc#

class pymc_marketing.mmm.hsgp.PeriodicCovFunc(value)[source]#

Supported covariance functions for the HSGP model.

Methods

PeriodicCovFunc.encode(/[, encoding, errors])

Encode the string using the codec registered for encoding.

PeriodicCovFunc.replace(old, new[, count])

Return a copy with all occurrences of substring old replaced by new.

PeriodicCovFunc.split(/[, sep, maxsplit])

Return a list of the substrings in the string, using sep as the separator string.

PeriodicCovFunc.rsplit(/[, sep, maxsplit])

Return a list of the substrings in the string, using sep as the separator string.

PeriodicCovFunc.join(iterable, /)

Concatenate any number of strings.

PeriodicCovFunc.capitalize(/)

Return a capitalized version of the string.

PeriodicCovFunc.casefold(/)

Return a version of the string suitable for caseless comparisons.

PeriodicCovFunc.title(/)

Return a version of the string where each word is titlecased.

PeriodicCovFunc.center(width[, fillchar])

Return a centered string of length width.

PeriodicCovFunc.count(sub[, start[, end]])

Return the number of non-overlapping occurrences of substring sub in string S[start:end].

PeriodicCovFunc.expandtabs(/[, tabsize])

Return a copy where all tab characters are expanded using spaces.

PeriodicCovFunc.find(sub[, start[, end]])

Return the lowest index in S where substring sub is found, such that sub is contained within S[start:end].

PeriodicCovFunc.partition(sep, /)

Partition the string into three parts using the given separator.

PeriodicCovFunc.index(sub[, start[, end]])

Return the lowest index in S where substring sub is found, such that sub is contained within S[start:end].

PeriodicCovFunc.ljust(width[, fillchar])

Return a left-justified string of length width.

PeriodicCovFunc.lower(/)

Return a copy of the string converted to lowercase.

PeriodicCovFunc.lstrip([chars])

Return a copy of the string with leading whitespace removed.

PeriodicCovFunc.rfind(sub[, start[, end]])

Return the highest index in S where substring sub is found, such that sub is contained within S[start:end].

PeriodicCovFunc.rindex(sub[, start[, end]])

Return the highest index in S where substring sub is found, such that sub is contained within S[start:end].

PeriodicCovFunc.rjust(width[, fillchar])

Return a right-justified string of length width.

PeriodicCovFunc.rstrip([chars])

Return a copy of the string with trailing whitespace removed.

PeriodicCovFunc.rpartition(sep, /)

Partition the string into three parts using the given separator.

PeriodicCovFunc.splitlines(/[, keepends])

Return a list of the lines in the string, breaking at line boundaries.

PeriodicCovFunc.strip([chars])

Return a copy of the string with leading and trailing whitespace removed.

PeriodicCovFunc.swapcase(/)

Convert uppercase characters to lowercase and lowercase characters to uppercase.

PeriodicCovFunc.translate(table, /)

Replace each character in the string using the given translation table.

PeriodicCovFunc.upper(/)

Return a copy of the string converted to uppercase.

PeriodicCovFunc.startswith(prefix[, start[, ...)

Return True if S starts with the specified prefix, False otherwise.

PeriodicCovFunc.endswith(suffix[, start[, end]])

Return True if S ends with the specified suffix, False otherwise.

PeriodicCovFunc.removeprefix(prefix, /)

Return a str with the given prefix string removed if present.

PeriodicCovFunc.removesuffix(suffix, /)

Return a str with the given suffix string removed if present.

PeriodicCovFunc.isascii(/)

Return True if all characters in the string are ASCII, False otherwise.

PeriodicCovFunc.islower(/)

Return True if the string is a lowercase string, False otherwise.

PeriodicCovFunc.isupper(/)

Return True if the string is an uppercase string, False otherwise.

PeriodicCovFunc.istitle(/)

Return True if the string is a title-cased string, False otherwise.

PeriodicCovFunc.isspace(/)

Return True if the string is a whitespace string, False otherwise.

PeriodicCovFunc.isdecimal(/)

Return True if the string is a decimal string, False otherwise.

PeriodicCovFunc.isdigit(/)

Return True if the string is a digit string, False otherwise.

PeriodicCovFunc.isnumeric(/)

Return True if the string is a numeric string, False otherwise.

PeriodicCovFunc.isalpha(/)

Return True if the string is an alphabetic string, False otherwise.

PeriodicCovFunc.isalnum(/)

Return True if the string is an alpha-numeric string, False otherwise.

PeriodicCovFunc.isidentifier(/)

Return True if the string is a valid Python identifier, False otherwise.

PeriodicCovFunc.isprintable(/)

Return True if the string is printable, False otherwise.

PeriodicCovFunc.zfill(width, /)

Pad a numeric string with zeros on the left, to fill a field of the given width.

PeriodicCovFunc.format(*args, **kwargs)

Return a formatted version of S, using substitutions from args and kwargs.

PeriodicCovFunc.format_map(mapping)

Return a formatted version of S, using substitutions from mapping.

PeriodicCovFunc.maketrans(x[, y, z])

Return a translation table usable for str.translate().

Attributes

Periodic