StoreFilter

Overview: StoreFilter

class StoreFilter(*, from_nan: Optional[str] = '', from_nat: Optional[str] = '', from_none: Optional[str] = 'None', from_posinf: Optional[str] = 'inf', from_neginf: Optional[str] = '-inf', to_nan: FrozenSet[str] = frozenset({'', '#N/A', 'NAN', 'NULL', 'NaN', 'nan'}), to_nat: FrozenSet[str] = frozenset({}), to_none: FrozenSet[str] = frozenset({'None'}), to_posinf: FrozenSet[str] = frozenset({'inf'}), to_neginf: FrozenSet[str] = frozenset({'-inf'}), value_format_float_positional: Optional[str] = None, value_format_float_scientific: Optional[str] = None, value_format_complex_positional: Optional[str] = None, value_format_complex_scientific: Optional[str] = None)[source]

Utility for defining and applying translation of values going to and from a data store, as needed for XLSX and other writers.

StoreFilter: Constructor

Overview: StoreFilter: Constructor

StoreFilter.__init__(*, from_nan: Optional[str] = '', from_nat: Optional[str] = '', from_none: Optional[str] = 'None', from_posinf: Optional[str] = 'inf', from_neginf: Optional[str] = '-inf', to_nan: FrozenSet[str] = frozenset({'', '#N/A', 'NAN', 'NULL', 'NaN', 'nan'}), to_nat: FrozenSet[str] = frozenset({}), to_none: FrozenSet[str] = frozenset({'None'}), to_posinf: FrozenSet[str] = frozenset({'inf'}), to_neginf: FrozenSet[str] = frozenset({'-inf'}), value_format_float_positional: Optional[str] = None, value_format_float_scientific: Optional[str] = None, value_format_complex_positional: Optional[str] = None, value_format_complex_scientific: Optional[str] = None) None[source]
StoreFilter.from_type_filter_array(array: numpy.ndarray) numpy.ndarray[source]

Given an array, replace types with strings

StoreFilter.from_type_filter_element(value: Any) Any[source]

Filter single values to string.

StoreFilter: Constructor | Exporter | Attribute | Display | Operator Binary

StoreFilter: Exporter

Overview: StoreFilter: Exporter

StoreFilter.to_type_filter_array(array: numpy.ndarray) numpy.ndarray[source]

Given an array, replace strings with types.

StoreFilter.to_type_filter_element(value: Any) Any[source]

Given a value wich may be an encoded string, decode into a type.

StoreFilter.to_type_filter_iterable(iterable: Iterable[Any]) Iterator[Any][source]

StoreFilter: Constructor | Exporter | Attribute | Display | Operator Binary

StoreFilter: Attribute

Overview: StoreFilter: Attribute

StoreFilter.from_nan: Optional[str]
StoreFilter.from_nat: Optional[str]
StoreFilter.from_neginf: Optional[str]
StoreFilter.from_none: Optional[str]
StoreFilter.from_posinf: Optional[str]
StoreFilter.to_nan: FrozenSet[str]
StoreFilter.to_nat: FrozenSet[str]
StoreFilter.to_neginf: FrozenSet[str]
StoreFilter.to_none: FrozenSet[str]
StoreFilter.to_posinf: FrozenSet[str]
StoreFilter.value_format_complex_positional: Optional[str]
StoreFilter.value_format_complex_scientific: Optional[str]
StoreFilter.value_format_float_positional: Optional[str]
StoreFilter.value_format_float_scientific: Optional[str]

StoreFilter: Constructor | Exporter | Attribute | Display | Operator Binary

StoreFilter: Display

Overview: StoreFilter: Display

StoreFilter.interface

A Frame documenting the interface of this class.

StoreFilter.__repr__()

Return repr(self).

StoreFilter.__str__()

Return str(self).

StoreFilter: Constructor | Exporter | Attribute | Display | Operator Binary

StoreFilter: Operator Binary

Overview: StoreFilter: Operator Binary

StoreFilter.__eq__(value, /)

Return self==value.

StoreFilter.__ge__(value, /)

Return self>=value.

StoreFilter.__gt__(value, /)

Return self>value.

StoreFilter.__le__(value, /)

Return self<=value.

StoreFilter.__lt__(value, /)

Return self<value.

StoreFilter.__ne__(value, /)

Return self!=value.

StoreFilter: Constructor | Exporter | Attribute | Display | Operator Binary