4 ms·
It's strange, I would think that Julia's multiple dispatch would make something more like this desirable ``` df = DataFrame(CSV(File("name.csv"))) data = JSON
by adammarples 3y ago
It's strange, I would think that Julia's multiple dispatch would make something more like this desirable
```
df = DataFrame(CSV(File("name.csv")))
data = JSON(File("name.json"))
```
instead of the usual hodge podge of methods
```
df = CSV.read("file.csv", DataFrame)
data = JSON.parsefile("file.json")
```
- affinepplan 3y agoActually, that works too :) I think `DataFrame(CSV.File("name.csv"))` is what you're looking for