I’m trying to load a .csv file into a DataFrame using:
data = CSV.file(“filename.csv”) |> DataFrame
Where “filename.csv” exists in the same folder as my Julia program file.
According to online resources, this seems to work without problem, but Julia throws an error back that it doesn’t have a valid filename. It does work if I use “C:\documents\…\subfolder\filename.csv”, but for future applications, this won’t be acceptable when I move folders around.
What’s the appropriate naming convention/command call to make sure I only need to tell it to load a file from the same folder?