Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
Hi, guys.
I am having issues when I use python script in transforming data. The date became unreadable? or Microsoft.OleDb.Date. May I know the most effective way to fix it? Here's my python script:
import pandas as pd
dataset = pd.DataFrame(data=data)
dataset['Supplier Name'] = dataset['Name'].str.replace(r'^.*-\s*', '').str.strip()
dataset.drop(columns=['Name'], inplace=True)
dataset.reset_index(drop=True, inplace=True)
Solved! Go to Solution.
Please consider this as resolved. I just did the step for changed type with local after running the python script:
Please consider this as resolved. I just did the step for changed type with local after running the python script:
Hi,
Facing similar issue in python script in Power query. where is option to change the type Locale?
Thank you !!
| User | Count |
|---|---|
| 5 | |
| 5 | |
| 3 | |
| 2 | |
| 2 |