Danger You are looking at the documentation for an older version of the SDV! We are no longer supporting or maintaining this version of the software Click here to go to the new docs pages.
Danger
You are looking at the documentation for an older version of the SDV! We are no longer supporting or maintaining this version of the software
Click here to go to the new docs pages.
Metadata.
get_dtypes
Get a dict with the dtypes for each field of a given table.
dict
dtypes
table_name (str) – Table name for which to retrive the dtypes.
ids (bool) – Whether or not include the id fields. Defaults to False.
False
Dictionary that contains the field names and data types from a table.
ValueError – If a field has an invalid type or subtype or if the table does not exist in this metadata.