Forum Discussion
Anonymous
7 years agoNot applicable
Pyhton script error -IndentationError: unexpected inden
Apply query changes
EuStockMarkets_NA
ADO.NET: Python script error.
File "PythonScriptWrapper.PY", line 9
completedData = dataset.fillna(method='backfill', inplace=False)
^
IndentationError: unex...
- 7 years ago
Hi Anonymous ,
The error message "IndentationError: unexpected inden" indicates that this line of code has more spaces at the start than the one before.
This error occurs on the file PythonScriptWrapper.PY, this is a file generated by PowerBI which contains your Python code.
Please check if you have spaces before your Python code:
Best Regards,
Teige
TeigeGao
Solution Sage
7 years agoHi Anonymous ,
The error message "IndentationError: unexpected inden" indicates that this line of code has more spaces at the start than the one before.
This error occurs on the file PythonScriptWrapper.PY, this is a file generated by PowerBI which contains your Python code.
Please check if you have spaces before your Python code:
Best Regards,
Teige