codedthinking / Kezdi.jl

An umbrella of Julia packages for data analysis, in loving memory of Gábor Kézdi
Other
9 stars 0 forks source link

bug: replace may change column type #36

Closed korenmiklos closed 1 week ago

korenmiklos commented 1 week ago
julia> df
5×1 DataFrame
 Row │ x
     │ Int64
─────┼───────
   1 │     1
   2 │     1
   3 │     1
   4 │     4
   5 │     5

julia> df = @replace df x = log(x+1) @if x<= 3
ERROR: InexactError: Int64(0.6931471805599453)