load csv

From DavinciWiki
Revision as of 18:32, 16 March 2020 by Jhill (Talk | contribs)

Jump to: navigation, search


Description

Reads a CSV file into a structure.

Arguments and Return Values

Arguments: A string containing file to be loaded

Return Value: A Davinci structure

Usage

Syntax: load_csv(filename = PATH [, separator = 1] [, header = 1])

CSV files contain text and/or numbers separated by delimiter, usually a comma.


The FILENAME argument specifies whether the CSV file to load.

The SEPARATOR argument specifies the character that is being used to separate columns in the file. (default is the tab character "\t", can be set to any ascii character)

The HEADER argument specifies whether or not the file contains a header row. (0=no header, default is 1)

The COLLAPSE argument is not currently understood, needs to be verified with Devs


DavinciWiki Mini-Nav Bar

Contents


Contact Developers

  • davinci-dev [AT] mars.asu.edu

All other topics

  • See navigation on the left

Major Sub-Functions


Recent Core Changes

Modified On: 03-17-2020

Personal tools