JuliaData / Feather.jl

Read and write feather files in pure Julia
https://juliadata.github.io/Feather.jl/stable
Other
109 stars 27 forks source link

Converting from NullableWeakRefString to String #33

Closed jpfairbanks closed 7 years ago

jpfairbanks commented 7 years ago

I found this package yesterday and think it is great. When reading a feather file generated by pandas, the string columns come out as Nullable{WeakRefString{UInt8}} is there a "right way" to convert this to a DataFrame with regular Strings for this Column? I dropped the Nulls before writing the feather file, so I know there will be no nulls in the feather file.

quinnj commented 7 years ago

Yes, you can Feather.read(file; weakrefstrings=false) to ensure regular Strings are generated.

jpfairbanks commented 7 years ago

Thanks