QuestionQ203
VerifiedDeveloping Apache Spark™ DataFrame/DataSet API ApplicationsA developer has an employee.csv file with the columns ID, Name, and Salary. The developer wants to load it into a DataFrame while explicitly defining the columns as integer, string, and float types, respectively.
Which code snippet accomplishes this?
Community Discussion