whylogs.core.types.typeddataconverter
TODO: implement this using something other than yaml
#
TypedDataConverter ObjectsA class to coerce types on data.
To see available types:
.. code-block:: python
#
convertConvert data
to a typed value
If a data
is a string, parse data
with yaml. Else, return data
unchanged
Note: this method is very slow, since it relies on the complex and python-based implementation of yaml.
#
get_typeExtract the data type of a value. See typeddataconvert.TYPES
for
available types.
#
Parameterstyped_data Data processed by TypedDataConverter.convert
#
Returnsdtype : TYPES