Skip to content
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

Stack level too deep #24

Closed
eichert12 opened this issue Sep 2, 2022 · 1 comment
Closed

Stack level too deep #24

eichert12 opened this issue Sep 2, 2022 · 1 comment

Comments

@eichert12
Copy link

I'm getting a stack level too deep error in lib/eps/data_frame.rb when trying to train my model. The error is occuring at the values_at call on line 121 (https://github.com/ankane/eps/blob/master/lib/eps/data_frame.rb#L121) with the splat (*rows). The rows size is 130518 so perhaps larger than expected/supported?

  cols.each do |c|
    raise "Undefined column: #{c}" unless columns.include?(c)

    df.columns[c] = columns[c].values_at(*rows)
  end
@ankane ankane closed this as completed in ffd41bc Sep 2, 2022
@ankane
Copy link
Owner

ankane commented Sep 2, 2022

Hey @eichert12, thanks for reporting! Fixed in the commit above.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants