You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
it results in a KeyError. First, this is a bad behavior (bug) and should be fixed. Secondly, how should one properly check if a default is set or not? Maybe a has_default() method would be useful for this?
The text was updated successfully, but these errors were encountered:
I think throwing the KeyError: "can't get value of empty TimeSeries with no default value" might be OK here. If you want to avoid the error, I'd recommend:
Consider the following:
it results in a
KeyError
. First, this is a bad behavior (bug) and should be fixed. Secondly, how should one properly check if a default is set or not? Maybe ahas_default()
method would be useful for this?The text was updated successfully, but these errors were encountered: