semantique.processor.types.get_value_type#
- semantique.processor.types.get_value_type(x)[source]#
Determine the value type of an object.
A semantique value type describes what kind of data an array contains. It differs from the very technical, computer-oriented numpy dtype categorization, which contains e.g.
int,float, etc. Instead, the semantique value type describes data on a more general, statistical level. Currently it makes a distinction between five main value types:continuousanddiscretefor quantitative data andnominal,ordinalandbinaryfor qualitative data. Additional value types exist for spatio-temporal data:datetimefor timestamps,coordsfor spatial coordinate tuples, andgeometryfor spatial geometries stored ingeopandas.GeoDataFrameobjects.