Update Python class to utilize recommended pandas operations
Budget: $10 – $30 USD
We have a Python API script that processes some data using various utility functions - incl. relying on various pandas functions. See attached script zip.
You can run the script by setting up a virtual environment and installing the requirements.txt dependencies.
When you run the script, it produces some CSV output in an output/ folder.
It also produces a number of warnings because we're using 'outdated' operations that pandas no longer recommends (append instead of concat for example).
In short, we would like you to make modifications to the utils.py code (specifically the MultiFrameDecoder class) so that the warnings are resolved in the “right way” as per the recommended solutions, while still producing the exact same results (in the output/ folder) as before and at the same speed (or faster).
Specifically, this involves resolving the “A value is trying to be set on a copy of a slice from a DataFrame” issue and “The frame.append method is deprecated and will be removed from pandas in a future version. Use pandas.concat instead.”.
You can run the script by setting up a virtual environment and installing the requirements.txt dependencies.
When you run the script, it produces some CSV output in an output/ folder.
It also produces a number of warnings because we're using 'outdated' operations that pandas no longer recommends (append instead of concat for example).
In short, we would like you to make modifications to the utils.py code (specifically the MultiFrameDecoder class) so that the warnings are resolved in the “right way” as per the recommended solutions, while still producing the exact same results (in the output/ folder) as before and at the same speed (or faster).
Specifically, this involves resolving the “A value is trying to be set on a copy of a slice from a DataFrame” issue and “The frame.append method is deprecated and will be removed from pandas in a future version. Use pandas.concat instead.”.