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

autosparse should recognize new column assignment #144

Closed
jbogaardt opened this issue Apr 6, 2021 · 0 comments
Closed

autosparse should recognize new column assignment #144

jbogaardt opened this issue Apr 6, 2021 · 0 comments

Comments

@jbogaardt
Copy link
Collaborator

When assigning a new column to a Triangle, it should be coerced to the array_backend of the Triangle.

import chainladder as cl

raa_full = cl.load_sample('raa')
raa_sparse = cl.load_sample('raa')
raa_sparse = raa_sparse.set_backend('sparse')
raa_full['test'] = raa_sparse # Fail
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

1 participant