Post

Replies

Boosts

Views

Activity

Import or use csv data.
Fist of all, I am new in developing. I want to use data from CSV files to process and use for calculation. I tried to use TabularData, but I don't know how and where to write to import or use the csv data. My file name is fnudos.csv. import Foundation import TabularData Data = "fnudos.csv" let nudos = try DataFrame(contentsOfCSVFile: policiesURL, rows: 0..<100) print(nudos) Something like that? But I don't have results. Thanks in advance for your answers.
1
0
1.4k
Nov ’22
Import or use csv data.
Fist of all, I am new in developing. I want to use data from CSV files to process and use for calculation. I tried to use TabularData, but I don't know how and where to write to import or use the csv data. My file name is fnudos.csv. import Foundation import TabularData Data = "fnudos.csv" let nudos = try DataFrame(contentsOfCSVFile: policiesURL, rows: 0..<100) print(nudos) Something like that? But I don't have results. Thanks in advance for your answers.
Replies
1
Boosts
0
Views
1.4k
Activity
Nov ’22