WeibullType#

class pymc_marketing.mmm.transformers.WeibullType(value)[source]#

An enumeration.

Methods

WeibullType.encode([encoding, errors])

Encode the string using the codec registered for encoding.

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

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

WeibullType.split([sep, maxsplit])

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

WeibullType.rsplit([sep, maxsplit])

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

WeibullType.join(iterable, /)

Concatenate any number of strings.

WeibullType.capitalize()

Return a capitalized version of the string.

WeibullType.casefold()

Return a version of the string suitable for caseless comparisons.

WeibullType.title()

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

WeibullType.center(width[, fillchar])

Return a centered string of length width.

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

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

WeibullType.expandtabs([tabsize])

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

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

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

WeibullType.partition(sep, /)

Partition the string into three parts using the given separator.

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

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

WeibullType.ljust(width[, fillchar])

Return a left-justified string of length width.

WeibullType.lower()

Return a copy of the string converted to lowercase.

WeibullType.lstrip([chars])

Return a copy of the string with leading whitespace removed.

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

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

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

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

WeibullType.rjust(width[, fillchar])

Return a right-justified string of length width.

WeibullType.rstrip([chars])

Return a copy of the string with trailing whitespace removed.

WeibullType.rpartition(sep, /)

Partition the string into three parts using the given separator.

WeibullType.splitlines([keepends])

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

WeibullType.strip([chars])

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

WeibullType.swapcase()

Convert uppercase characters to lowercase and lowercase characters to uppercase.

WeibullType.translate(table, /)

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

WeibullType.upper()

Return a copy of the string converted to uppercase.

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

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

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

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

WeibullType.removeprefix(prefix, /)

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

WeibullType.removesuffix(suffix, /)

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

WeibullType.isascii()

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

WeibullType.islower()

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

WeibullType.isupper()

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

WeibullType.istitle()

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

WeibullType.isspace()

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

WeibullType.isdecimal()

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

WeibullType.isdigit()

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

WeibullType.isnumeric()

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

WeibullType.isalpha()

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

WeibullType.isalnum()

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

WeibullType.isidentifier()

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

WeibullType.isprintable()

Return True if the string is printable, False otherwise.

WeibullType.zfill(width, /)

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

WeibullType.format(*args, **kwargs)

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

WeibullType.format_map(mapping)

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

WeibullType.maketrans

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

Attributes

PDF

CDF