ankane/ruby-polars

Cannot chain WhenThen together due to missing module

tios-jleclear opened this issue · 1 comments

When you try to chain Polars.when(expr).then(expr).when(expr).then(expr).... in the manner that it shows here you get a gems/polars-df-0.8.0-arm64-darwin/lib/polars/when_then.rb:11:in when': uninitialized constant Polars::WhenThen::WhenThenThen (NameError)
` due to the missing module WhenThenThen. I believe this should just be a WhenThen.new rather than a WhenThenThen

Hi @tios-jleclear, thanks for reporting! Fixed in the commit above.