Hi, Our latest submission ID is 9725169. It was accepted in the fast lane but was invalid in task 1. We suspect the error came from saving the predictions.csv file to /output. Our csv file structure and the saving path both look correct. Is there a specific format for saving files in docker that we need to use in order to save the file successfully? Thank you so much in advance for your help!

Created by polalawang
Hello, Below is the error for the submission ID - 9725169 ``` Traceback (most recent call last): File "/usr/local/bin/script.py", line 49, 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 24, in convert_age elif len(i) == 4 or len(i) == 2: TypeError: object of type 'int' has no len() ``` Hope this helps! Thanks Aarthi

Invalid submission page is loading…