You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I get an error when launching the script with python 3.8.5
Traceback (most recent call last):
File "h2_iea.py", line 53, in
raw["_name"] = raw.name.str.lower().map(lambda x: x.strip())
File "C:\Users\matte\miniconda3\envs\pydev\lib\site-packages\pandas\core\series.py", line 3879, in map
new_values = super()._map_values(arg, na_action=na_action)
File "C:\Users\matte\miniconda3\envs\pydev\lib\site-packages\pandas\core\base.py", line 937, in _map_values
new_values = map_f(values, mapper)
File "pandas_libs\lib.pyx", line 2467, in pandas._libs.lib.map_infer
File "h2_iea.py", line 53, in
raw["_name"] = raw.name.str.lower().map(lambda x: x.strip())
AttributeError: 'float' object has no attribute 'strip'
The text was updated successfully, but these errors were encountered:
I get an error when launching the script with python 3.8.5
Traceback (most recent call last):
File "h2_iea.py", line 53, in
raw["_name"] = raw.name.str.lower().map(lambda x: x.strip())
File "C:\Users\matte\miniconda3\envs\pydev\lib\site-packages\pandas\core\series.py", line 3879, in map
new_values = super()._map_values(arg, na_action=na_action)
File "C:\Users\matte\miniconda3\envs\pydev\lib\site-packages\pandas\core\base.py", line 937, in _map_values
new_values = map_f(values, mapper)
File "pandas_libs\lib.pyx", line 2467, in pandas._libs.lib.map_infer
File "h2_iea.py", line 53, in
raw["_name"] = raw.name.str.lower().map(lambda x: x.strip())
AttributeError: 'float' object has no attribute 'strip'
The text was updated successfully, but these errors were encountered: