Hi,
Submission 9726271 returns an error. Could you help, please? Thank you so much.
Created by polalawang Hi @polalawang,
Submission ID 9726271 received the following error:
```
Traceback (most recent call last):
File "/usr/local/bin/script.py", line 55, in
metadata['converted_age'] = metadata['age'].apply(convert_age)
File "/usr/local/lib/python3.9/site-packages/pandas/core/series.py", line 4433, in apply
return SeriesApply(self, func, convert_dtype, args, kwargs).apply()
File "/usr/local/lib/python3.9/site-packages/pandas/core/apply.py", line 1088, in apply
return self.apply_standard()
File "/usr/local/lib/python3.9/site-packages/pandas/core/apply.py", line 1143, in apply_standard
mapped = lib.map_infer(
File "pandas/_libs/lib.pyx", line 2870, in pandas._libs.lib.map_infer
File "/usr/local/bin/script.py", line 28, in convert_age
elif len(i) == 4 or len(i) == 2:
TypeError: object of type 'int' has no len()
```
Hope this helps!