IdataFormat#
- class pymc_marketing.data.idata.io.IdataFormat(*values)[source]#
Inference-data formats
save_idata()writes.The value is the format name accepted by
autolog(idata_format=...);suffixis the file suffix that selects the format in a path.Methods
IdataFormat.replace(old, new[, count])Return a copy with all occurrences of substring old replaced by new.
IdataFormat.split(/[, sep, maxsplit])Return a list of the substrings in the string, using sep as the separator string.
IdataFormat.rsplit(/[, sep, maxsplit])Return a list of the substrings in the string, using sep as the separator string.
IdataFormat.join(iterable, /)Concatenate any number of strings.
Return a capitalized version of the string.
Return a version of the string suitable for caseless comparisons.
Return a version of the string where each word is titlecased.
IdataFormat.center(width[, fillchar])Return a centered string of length width.
IdataFormat.expandtabs(/[, tabsize])Return a copy where all tab characters are expanded using spaces.
IdataFormat.partition(sep, /)Partition the string into three parts using the given separator.
IdataFormat.ljust(width[, fillchar])Return a left-justified string of length width.
Return a copy of the string converted to lowercase.
IdataFormat.lstrip([chars])Return a copy of the string with leading whitespace removed.
IdataFormat.rjust(width[, fillchar])Return a right-justified string of length width.
IdataFormat.rstrip([chars])Return a copy of the string with trailing whitespace removed.
IdataFormat.rpartition(sep, /)Partition the string into three parts using the given separator.
IdataFormat.splitlines(/[, keepends])Return a list of the lines in the string, breaking at line boundaries.
IdataFormat.strip([chars])Return a copy of the string with leading and trailing whitespace removed.
Convert uppercase characters to lowercase and lowercase characters to uppercase.
Return a copy of the string converted to uppercase.
Return True if all characters in the string are ASCII, False otherwise.
Return True if the string is a lowercase string, False otherwise.
Return True if the string is an uppercase string, False otherwise.
Return True if the string is a title-cased string, False otherwise.
Return True if the string is a whitespace string, False otherwise.
Return True if the string is a decimal string, False otherwise.
Return True if the string is a digit string, False otherwise.
Return True if the string is a numeric string, False otherwise.
Return True if the string is an alphabetic string, False otherwise.
Return True if the string is an alpha-numeric string, False otherwise.
Return True if the string is a valid Python identifier, False otherwise.
Return True if all characters in the string are printable, False otherwise.
IdataFormat.zfill(width, /)Pad a numeric string with zeros on the left, to fill a field of the given width.
IdataFormat.__init__(*args, **kwds)Attributes
File suffix of the format, for example
".zarr".