It's old question. However, I could not find satisfactory answer. Decided to post this question. I have a .csv file with column heading. How can I import this .csv file into Mathematica assigning column names as list names in short and sweet way. For example, I can use the following codes.
mydata = Import[file, Path -> path];
names = Flatten[mydata[[;; 1]]];
Do[listnames[names[[i]]] =
mydata[[2 ;;]][[All, i]], {i, 1, Dimensions[mydata[[2 ;;]]][[2]]}];
But I need to write listnames["Col names in .csv file"] to refer to each list. I can not refer .csv column names as list names. I need to figure out this because I have over 1000 column headings in my .csv data. Please help me to figure out his without long codes.

Dataset-- it's pretty trivial to take a dataset and extract the raw columns from it, but you might find theDatasetitself much easier to work with for some kinds of things. – Taliesin Beynon Aug 12 '14 at 02:33SemanticImportmakes it really easy to import a tabular file as aDatasetif they have a reasonable structure -- no need to parse it to and format it yourself. So for example your code could just be replaced withSemanticImport["https://raw.githubusercontent.com/pydata/pandas/master/pandas/tests/data/iris.csv"]– Taliesin Beynon Aug 12 '14 at 02:36DatasetisirisDataset = Dataset[Inner[Rule, header, Transpose[data], Association]]. – Ernst Stelzer Aug 12 '14 at 07:38AssociationandDatasetprovide serious progress within Mathematica. In a further step, we also named all rows, which means each cell is identified by pairs of names. Please do not forget that Excel sheets are regularly sorted. – Ernst Stelzer Aug 12 '14 at 07:56irisDataset = AssociationThread[header -> #] & /@ data // Dataset– masterxilo May 17 '16 at 14:24Importwith theDatasetrepresentation and theHeaderLinesoption:Import["d:/iris.csv", {"CSV", "Dataset"}, "HeaderLines" -> 1]– barrywardell Nov 24 '17 at 00:42