rex.utilities.utilities.get_dtype

get_dtype(col)[source]

Get column dtype for converstion to records array

Parameters:

col (pandas.Series) – Column from pandas DataFrame

Returns:

out (str) – String representation of converted dtype for column: - float = float32 - int = int16 or int32 depending on data range - object/str = U* max length of strings in col