Reputation: 771
I have a dataframe with column 'DATE_REGISTERED'.The format of the data in this dataframe is 'YYYY-MM-DD'. I am trying to use write_pandas method to load this data into a Snowflake table. But I am unable to achieve this as the code is throwing below error.
The input data is '2021-02-10' (10th of Feb 2021)
Any help is appreciated.
Upvotes: 1
Views: 755
Reputation: 771
I am able to fix this issue by simply converting the datatype of the column in DF to string. This worked and resolved my issue.
Upvotes: 3