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
I have a dataframe containing names like out-99. This means I can't use it as a python attribute name in pandas and neither in pytables. Saving the treant pytables gives an annoying NaturalNameWarning: object name is not a valid Python identifier: 'out-99_dtype' .... Since this is only internally handled by datreant it would be good to silence those warnings.
The text was updated successfully, but these errors were encountered:
Agreed. However, note that using names like this make it impossible to retrieve subselections of rows based on column criteria using the where keyword on data.retrieve. Happy to silence it, but that's most of what that warning means for users.
We can silence it and issue our own warning that this will result in problems using where with data.retrieve. From the pytables warning there is no clue what the consequence is for a datreant user.
I have a dataframe containing names like out-99. This means I can't use it as a python attribute name in pandas and neither in pytables. Saving the treant pytables gives an annoying NaturalNameWarning: object name is not a valid Python identifier: 'out-99_dtype' .... Since this is only internally handled by datreant it would be good to silence those warnings.
The text was updated successfully, but these errors were encountered: