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
Adding "total price" worth to ladder whale orders #68
Comments
Wich Error and are you sure it´s on that line and not cause error in line before? |
@theimo1221 This error, see the code I tried: mifunetoshiro@7647a92
|
Ah, I see: This renames both sum columns to 'total_price' instead of 'volume' and 'total_price'. So how do you rename two sums to two different names? |
Is what you need I guess |
Ok, I figured it out. Instead of using the rename function, I manually renamed the columns with Will add pull request soon. Edit: your way produces this warning:
|
@mifunetoshiro Dropplevel (0) removes the groubby name marked in following example: Not the colum name themselves |
Yes, but in the way that I did it:
It's not needed, because there aren't 2 levels, and you get an error:
|
ah okay, gotcha. |
Now with #66 merged, hovering over a bubble shows the total price of the order/s. I tried to add the same to the ladder whale orders, and if I play with a simple test dataframe it works, but when I try with app.py, I get an error on:
for some reason. Could someone with more experience implement this?
The text was updated successfully, but these errors were encountered: