Как создать пустой кадр данных в Scala
val df = spark.emptyDataFrame
Busy Bison
val df = spark.emptyDataFrame
import pandas as pd
# initialise data of lists.
data = {'Name':['Tom', 'nick', 'krish', 'jack'],
'Age':[20, 21, 19, 18]}
# Create DataFrame
df = pd.DataFrame(data)
# Print the output.
df