I saw issue #236 was fixed but i am encountering an error. is there a different way for me to do this?
crps = Corpus([StringDocument("hello world")])
update_lexicon!(crps)
convert(DataFrame, crps)
ERROR: MethodError: Cannot `convert` an object of type Corpus{StringDocument{String}} to an object of type DataFrame
Closest candidates are:
convert(::Type{DataFrame}, ::SubDataFrame)
@ DataFrames ~/.julia/packages/DataFrames/58MUJ/src/subdataframe/subdataframe.jl:319
convert(::Type{T}, ::T) where T
@ Base Base.jl:64
DataFrame(::Any; copycols)
@ DataFrames ~/.julia/packages/DataFrames/58MUJ/src/other/tables.jl:48
...
Stacktrace:
[1] top-level scope
@ ~/Desktop/Julia Libraries/datesnstrings/scratch:371
I saw issue #236 was fixed but i am encountering an error. is there a different way for me to do this?