link https://www.kaggle.com/code/yisberh/network/notebook
Thank you for sharing. It helped me.
When running the code locally, I still face the same issue, i.e., the submission file is too large (~35MB). When I run it on Kaggle, I get a ~33MB file.
I am still unsure if it is due to different packages version.
Anyway, thanks again.
Good to know that running on Kaggle resolves the issue. I would prefer to run it locally, though. Hope that the Zindi team can solve this.
This solution from @D_S works (note the lineterminator option):
sub.to_csv('submission.csv', index=False, lineterminator='\n')
Hello guys. Hope we are doing great?
Please, What is the public score for this notebook?
probably 0.3
ok that's a good score.
Thank you @Yisakberhanu
Thank you for sharing. It helped me.
When running the code locally, I still face the same issue, i.e., the submission file is too large (~35MB). When I run it on Kaggle, I get a ~33MB file.
I am still unsure if it is due to different packages version.
Anyway, thanks again.
Good to know that running on Kaggle resolves the issue. I would prefer to run it locally, though. Hope that the Zindi team can solve this.
This solution from @D_S works (note the lineterminator option):
sub.to_csv('submission.csv', index=False, lineterminator='\n')Hello guys. Hope we are doing great?
Please, What is the public score for this notebook?
probably 0.3
ok that's a good score.
Thank you @Yisakberhanu