Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowJuly 28 - August 9 | Final Round of the Power BI Dataviz World Championships. This is your chance. Learn more
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 !!
Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.
If you love stickers, then you will definitely want to check out our community sticker challenge, Barcelona edition!
Check out the July 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |