Reference for get_csv
Load a CSV file as a list of dictionaries. This is part of the reference section.
Arc
Buffer
Data
get_csv
Dialog
Ellipse
Geo Utils
Image
Joystick (future)
Keyboard
Line
Mouse / Touchscreen
Pixel
Rectangle
Renderers
Shape
Sound (future)
Style
System
Text
Transform
Purpose
Load a CSV file and parse it as a list where each row after the "header row" becomes a dictionary.
Snippet
Load the CSV file called example.csv.
records = sketch.get_data_layer().get_csv('example.csv')
Parameters
- path: The location at which the CSV file can be found.
Examples
Availability
Available for all platforms. On static and app renderers, will interpret path as a local file path using the operating system's conventions by default. For web, it will interpret path as a URL by default. Filenames like "example.csv" will assume the same directory. All platforms support remote files if prefixed by "http:// or https://".