h-Klok / StatsWithJuliaBook

https://statisticswithjulia.org/
MIT License
1.08k stars 279 forks source link

Update CSV.read API #33

Closed newptcai closed 1 year ago

newptcai commented 3 years ago

Listing 4.5 contains the following

using DataFrames, CSV
data1 = CSV.read("../data/purchaseData.csv")
data2 = CSV.read("../data/purchaseData.csv", copycols=true)

However, CSV v0.8.4 requires an extra argument DataFrame. And using copycols does not seem to have any effect. I am using Julia 1.6.1 and DataFrames v1.1.1

newptcai commented 1 year ago

I forked the project https://github.com/newptcai/StatsWithJuliaBook and will update the code in the coming two months when I teach a statistics course with this book.