I am new to pyspark. I want to read specific column from input file. I know how to do this in pandas
df=pd.read_csv('file.csv',usecols=[0,1,2])
But Is there any functionality similar to this operation in pyspark?
I am new to pyspark. I want to read specific column from input file. I know how to do this in pandas
df=pd.read_csv('file.csv',usecols=[0,1,2])
But Is there any functionality similar to this operation in pyspark?