-
Notifications
You must be signed in to change notification settings - Fork 37
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
KeyError: 'the label [time] is not in the [index]' #141
Comments
Hi @jgphpc, Welcome to Hatchet! You are using In your example, you actually have 2 different time-related columns to choose from. So rather than renaming a column in your dataframe, you can change the Hope this helps, and let us know if you have any more questions. |
This is amazing 👍 thank you
Index(['time (inc)', 'sum#sum#time.duration', 'nid', 'name'], dtype='object')
|
Looks great!! Other things you can do with the tree API are specifying colors ( |
Hello,
Printing the
tree
of caliper-ex.cali can be done by callingcali-query
:and into hatchet:
but it will fail with:
The traceback is:
The solution is to rename the second column in the json file:
instead of:
My version is:
2.3.0
caliper-ex.json is actually fine. Am i using
cali-query
in a wrong way ?Thanks,
jg.
The text was updated successfully, but these errors were encountered: