-
Notifications
You must be signed in to change notification settings - Fork 423
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
Must require Explorer.Dataframe in each cell #2133
Comments
I cannot reproduce this. Can you share your notebook? :) |
For example, this notebook worked fine here:
|
Same here. I was unable to reproduce it and the code example worked without problems. |
I have found the root cause, but I don't know why it happens. I tried to trim down my notebook, but I forgot to try it out before reporting - I will remember that next time, sorry about wasting your time. Anyway, here is my notebook:
Sectionuse Timex
require Explorer.DataFrame, as: DF df = Explorer.Datasets.fossil_fuels()
grouped = DF.group_by(df, ["country"])
DF.mutate(df, new_column: solid_fuel + cement)
grouped
|> DF.summarise(max_per_capita: max(per_capita))
|> DF.arrange(desc: max_per_capita) This is reproducible at my end. |
Environment
git rev-parse HEAD
if running with mix): 0.10.0Current behavior
Include detailed steps to reproduce error, errors and stacktraces if appropriate.
First cell:
Second cell:
Expected behavior
A short description on how you expect the code to behave.
I did a
require Explorer.Dataframe
very early in my Livebook, so I would have expected that the code did what it does in the documentation in every cell, but it only works if Irequire Explorer.Dataframe
in every cell.Now I know the limitation so I can work around it, but it is not intuitive.
The text was updated successfully, but these errors were encountered: