CovFunc#

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

Supported covariance functions for the HSGP model.

Methods

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

Encode the string using the codec registered for encoding.

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

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

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

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

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

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

CovFunc.join(iterable, /)

Concatenate any number of strings.

CovFunc.capitalize(/)

Return a capitalized version of the string.

CovFunc.casefold(/)

Return a version of the string suitable for caseless comparisons.

CovFunc.title(/)

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

CovFunc.center(width[, fillchar])

Return a centered string of length width.

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

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

CovFunc.expandtabs(/[, tabsize])

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

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

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

CovFunc.partition(sep, /)

Partition the string into three parts using the given separator.

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

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

CovFunc.ljust(width[, fillchar])

Return a left-justified string of length width.

CovFunc.lower(/)

Return a copy of the string converted to lowercase.

CovFunc.lstrip([chars])

Return a copy of the string with leading whitespace removed.

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

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

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

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

CovFunc.rjust(width[, fillchar])

Return a right-justified string of length width.

CovFunc.rstrip([chars])

Return a copy of the string with trailing whitespace removed.

CovFunc.rpartition(sep, /)

Partition the string into three parts using the given separator.

CovFunc.splitlines(/[, keepends])

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

CovFunc.strip([chars])

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

CovFunc.swapcase(/)

Convert uppercase characters to lowercase and lowercase characters to uppercase.

CovFunc.translate(table, /)

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

CovFunc.upper(/)

Return a copy of the string converted to uppercase.

CovFunc.startswith(prefix[, start[, end]])

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

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

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

CovFunc.removeprefix(prefix, /)

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

CovFunc.removesuffix(suffix, /)

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

CovFunc.isascii(/)

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

CovFunc.islower(/)

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

CovFunc.isupper(/)

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

CovFunc.istitle(/)

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

CovFunc.isspace(/)

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

CovFunc.isdecimal(/)

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

CovFunc.isdigit(/)

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

CovFunc.isnumeric(/)

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

CovFunc.isalpha(/)

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

CovFunc.isalnum(/)

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

CovFunc.isidentifier(/)

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

CovFunc.isprintable(/)

Return True if the string is printable, False otherwise.

CovFunc.zfill(width, /)

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

CovFunc.format(*args, **kwargs)

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

CovFunc.format_map(mapping)

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

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

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

Attributes

ExpQuad

Matern52

Matern32