Forum Discussion
overwriting data type in python wrapper for visualization
hamed_digaleh , In Edit query mode , right click on table and open advance editor, You will see the column name with data types. You can change it(Data type) there.
Keep backup of file.
- hamed_digaleh5 years agoNew Member
I already changed data type power query editor, and the type of column in the model is text. but by running python visualize it redetect data type and it cause missdetection (in this case detect text column as number)
- Greg_Deckler5 years agoCommunity Champion
hamed_digaleh - Ah, I understand now. So, no. I have run into this with R visuals because it wipes out the duplicates, which is problematic if you are trying to generate a word cloud via R code! 😕
You will need to convert it back to a date within the Python code I imagine.
- hamed_digaleh5 years agoNew Member
Greg_Deckler yes, but it is easier to fix the problem in read_csv part if it could be overwritten to add data type as pre setting as str.