You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi! I use Julia 1.6.2 and failing to read csv file to Data frame. First I tried CSV.File() and had error UndefVarError: File not defined. Then I tried:
using CSVFile, DataFrames
df = Dataframe(load("file.csv"))
And had: UndefVarError: load not defined
What is better to use?
The text was updated successfully, but these errors were encountered:
To load the CSV.jl package, you need to do using CSV, DataFrames first. Once the package loads, you can call df = CSV.read(filename, DataFrame) to read a csv file into a DataFrame.
Hi! I use Julia 1.6.2 and failing to read csv file to Data frame. First I tried CSV.File() and had error UndefVarError: File not defined. Then I tried:
using CSVFile, DataFrames
df = Dataframe(load("file.csv"))
And had: UndefVarError: load not defined
What is better to use?
The text was updated successfully, but these errors were encountered: