modin.pandas.Series.to_view¶
- Series.to_view(name: Union[str, Iterable[str]], *, comment: Optional[str] = None, index: bool = True, index_label: Optional[Union[Hashable, Sequence[Hashable]]] = None) List[Row] [source]¶
Creates a view that captures the computation expressed by this Series.
For
name
, you can include the database and schema name (i.e. specify a fully-qualified name). If no database name or schema name are specified, the view will be created in the current database or schema.name
must be a valid Snowflake identifier.- Parameters:
name – The name of the view to create or replace. Can be a list of strings that specifies the database name, schema name, and view name.
comment – Adds a comment for the created view. See COMMENT.
index – default True If true, save DataFrame index columns in view columns.
index_label – Column label for index column(s). If None is given (default) and index is True, then the index names are used. A sequence should be given if the DataFrame uses MultiIndex.