In Amazon S3 i have a folder with around 30 subfolders, in each subfolder contains one csv file.
I want a simple way to read each csv file from all the subfolders - currently, i can do this by specifying the path n times but i feel there must be a more concise way.
e.g. dataframe = sqlContext.read.csv([ path1, path2, path3,etc..], header=True)