to_sql¶
-
Features.
to_sql
(targets=True, subfeatures=True)[source]¶ Returns SQL statements visualizing the features.
- Args:
- targets (boolean):
Whether you want to include the target columns in the main table.
- subfeatures (boolean):
Whether you want to include the code for the subfeatures of a snowflake schema.
Examples:
my_pipeline.features.to_sql()