I'm attempting to import a csv file that has a many inputs of text strings followed by several values. Something like:
FruitBat, 20, 46, 12, 45. RocketTurtle, 45, 22, 17, 90
I would like to be able to import this csv such that it automatically generates lists named FruitBat
and RocketTurtle
such that:
FruitBat = [20, 46, 12, 45]
, RocketTurtle=[45, 22, 17, 90]
, etc.
The actual file I wish to import is several hundred inputs. Is there any good way to do this? Thanks.