fixing error numpy vectorize

Job ID: 37078674

Budget: $30 – $250 USD

This project is for fixing the code error.

This code is for calculating ship carbon dioxide emissions.
I'd like to speed up this code.
So, I used the numpy vectorize, but it occured some errors.

Code error message is follows:
TypeError: float() argument must be a string or a number, not 'DataFrame’
ValueError: setting an array element with a sequence.
Please refer to the following ppt.
Related categories: Python NumPy Pandas