Jan-14-2019, 01:51 AM
If this isn't an assignment, I would suggest to use Pandas. Pandas has a lot of useful tool
to handle such problems, look at io submodule for i/o operations and groupby.
If you used Pandas, your code would be significantly shorter.
to handle such problems, look at io submodule for i/o operations and groupby.
If you used Pandas, your code would be significantly shorter.