Skip to content

Commit

Permalink
fix on import
Browse files Browse the repository at this point in the history
  • Loading branch information
eloualiche committed Jan 8, 2025
1 parent 1d12058 commit fde808e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ImportComp.jl
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ function build_Funda!(df::DataFrame;
if clean_cols
verbose && (@info ". Converting decimal type columns to Float64.")
for col in names(df)
if eltype(df[!, col]) == Union{Missing,Decimals.Decimal}
if eltype(df[!, col]) == Union{Missing,Decimal}
df[!, col] = convert.(Union{Missing,Float64}, df[!, col])
end
end
Expand Down

0 comments on commit fde808e

Please sign in to comment.