from_view¶
-
classmethod
DataFrame.
from_view
(view, name, dry=False)[source]¶ Create a DataFrame from a
View
.This classmethod will construct a data frame object in the engine, fill it with the data read from the
View
, and return a correspondingDataFrame
handle.- Args:
- view (
View
): The view from which we want to read the data.
- name (str):
Name of the data frame to be created.
- dry (bool, optional):
If set to True, then the data will not actually be read. Instead, the method will only return the roles it would have used. This can be used to hard-code roles when setting up a pipeline.
- view (
- Returns:
DataFrame
:Handler of the underlying data.