JuliaData / DataFrames.jl

In-memory tabular data in Julia
https://dataframes.juliadata.org/stable/
Other
1.74k stars 367 forks source link

"no method" error in readtable #616

Closed jiahao closed 7 years ago

jiahao commented 10 years ago

This used to work (in February, last I checked):

In [1]: filename = download("https://blockchain.info/charts/market-price?showDataPoints=false&timespan=&show_header=true&daysAverageString=1&scale=0&format=csv&address=")
bitcoin_prices = readtable("market-price.csv", names=["date", "USD"]);

Out [1]: no method ParseOptions{S<:Union(UTF8String,ASCIIString)}(Bool, Char, Array{Char,1}, Char, Array{ASCIIString,1}, Array{ASCIIString,1}, Array{ASCIIString,1}, Bool, Array{ASCIIString,1}, Array{DataType,1}, Bool, Char, Bool, Int64, Array{Int64,1}, Bool, Symbol, Bool)
while loading In[1], in expression starting on line 5
 in readtable at /Users/jiahao/.julia/v0.3/DataFrames/src/dataframe/io.jl:804
 in readtable at /Users/jiahao/.julia/v0.3/DataFrames/src/dataframe/io.jl:879
jiahao commented 10 years ago

I see, it works if I specify names as symbols, i.e. names=[:date, :USD]. Perhaps a more friendly deprecation message then?

ararslan commented 7 years ago

Names have been symbol-only for quite a while now so it seems safe to close this.