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
When would you have a DataFrame with integer column names? One use case is if I have a CSV that doesn't have any column names listed. If I tell pandas that there is no header in my data, then it will create column names with index values 0, 1, ...
df=pd.read_csv('my_data.csv', header=None)
Workaround
A simple workaround would be to rename the columns using strings instead of integers.
The text was updated successfully, but these errors were encountered:
Environment Details
Error Description
If my datafame's column names are represented with integers (instead of with strings), then the synthesizer's fit crashes with a
TypeError
Steps to reproduce
stack_trace.txt
Additional Context
AttributeError: 'int' object has no attribute 'lower'
) #1933Workaround
A simple workaround would be to rename the columns using strings instead of integers.
The text was updated successfully, but these errors were encountered: