-
Notifications
You must be signed in to change notification settings - Fork 370
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Segmentation fault Julia 1.8.2, DataFrames v1.4.3 #3227
Comments
The data in this DataFrame came from a BSON file. After regenerating the BSON file, the error disappeared. |
Seeing a similar issue using a BSON file, tested on DataFrames v1.4.1 and v1.4.4. The data can be loaded, but it fails when trying to convert a column to Symbol. There seems to be a compatibility issue with older DataFrames package versions. A workaround is
|
@AndiMD can you reopen, or why did you close it? |
I guess because it is expected:
See in https://github.com/JuliaData/DataFrames.jl/blob/main/NEWS.md:
You need to convert |
That clears it up! Thanks Bogumił |
Dear all,
I have a long computation that results in a Dataframe like this:
Column 3 contains only Float64, except the last element, which is an Int64.
Column 4 contains only String.
This specific DataFrame instance seems to be corrupted. Many operations, such as
df = DataFrame(df)
ortransform(df,...)
consistently yield the following segfault:The segfault does not occur when I reconstruct the DataFrame with CSV.write, CSV.read and convert the last two columns to Any. With BSON, I can save the file, but loading fails.
Let me know if more details are required. Unfortunately I have not found a MWE yet.
The text was updated successfully, but these errors were encountered: