TypeError: cannot convert the series to

You can use numpy.log instead. Math.log is expecting a single number, not array.

Leave a Comment