When to use builder.csv_source vs. ds.CSVDataSource ?

15 views
Skip to first unread message

Peder Jakobsen

unread,
Nov 1, 2013, 11:33:01 AM11/1/13
to datab...@googlegroups.com
Hi, 

In the examples you have 2 approaches to opening CSV files:

path="myfile.csv"

 src = ds.CSVDataSource(path,read_header=False,skip_rows=1)

or 

main = brewery.create_builder()

main.csv_source(path,skip_rows=1)

What's the difference, and when should I use which approach?

Thanks,

PJ
Reply all
Reply to author
Forward
0 new messages