1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
|
raceback (most recent call last):
File "C:\outils\PPython-3100\App\Python\lib\code.py", line 90, in runcode
exec(code, self.locals)
File "<input>", line 1, in <module>
File "C:\Users\toto\AppData\Roaming\JetBrains\IntelliJIdea2022.1\plugins\python\helpers\pydev\_pydev_bundle\pydev_umd.py", line 198, in runfile
pydev_imports.execfile(filename, global_vars, local_vars) # execute the script
File "C:\Users\toto\AppData\Roaming\JetBrains\IntelliJIdea2022.1\plugins\python\helpers\pydev\_pydev_imps\_pydev_execfile.py", line 18, in execfile
exec(compile(contents+"\n", file, 'exec'), glob, loc)
File "C:/git/myproject/src/main/resources/metier/scripts/launcher.py", line 66, in <module>
print(analyze('oag ssim file', dataresources))
File "C:/git/myproject/src/main/resources/metier/scripts/launcher.py", line 29, in analyze
produce_statistics_from("ZF", datasource, dataresources)
File "C:\git\myproject\src\main\resources\metier\scripts\myanalyzer\dataAnalyzer.py", line 45, in produce_statistics_from
referential_datas = load_referential_datas(dataresources)
File "C:\git\myproject\src\main\resources\metier\scripts\myanalyzer\dataFormatter.py", line 22, in load_referential_datas
code_range_dataFrame = load_marketing_code_range(code_range_file_path)
File "C:\git\myproject\src\main\resources\metier\scripts\myanalyzer\dataFormatter.py", line 50, in load_marketing_code_range
code_range_reader = pandas.read_excel(code_range_file_path, sheet_name='FghtRange', header=None, skipinitialspace=True)
File "C:\git\myproject\venv\lib\site-packages\pandas\util\_decorators.py", line 311, in wrapper
return func(*args, **kwargs)
TypeError: read_excel() got an unexpected keyword argument 'skipinitialspace' |
Partager