We simply use the .createTempView(...) method of a DataFrame: sample_data_schema.createTempView('sample_data_view')