visions.typesets.VisionsTypeset¶
-
class
visions.typesets.
VisionsTypeset
(types)[source]¶ A set of visions types with an associated relationship map between them.
-
types
¶ The collection of vision types which are derived either from a base_type or themselves
-
base_graph
¶ the graph with relations to parent types
-
relation_graph
¶ the graph with relations to the parent types and mapping relations
- Parameters
types (
set
) – a set of types
Methods
__init__
(types)- type types
set
cast_and_infer_frame
(df)Cast to DataFrame, simple wrapper around cast_series.
cast_and_infer_series
(series)Cast Series to its inferred type.
cast_frame
(df)Cast to DataFrame, simple wrapper around cast_series.
cast_series
(series)Cast Series to its inferred type.
detect_frame_type
(df)Detect the types of the series in the DataFrame, simple wrapper around get_series type.
detect_series_type
(series)Get the series type (without casting).
infer_frame_type
(df)Infer the types of the series in the DataFrame, simple wrapper around get_series type.
infer_series_type
(series)Infer the series type (without casting).
output_graph
(file_name[, base_only, dpi])Write the type graph to a file.
plot_graph
([dpi])- type dpi
int
replace
(old, new)-