Chaquopy Android Wrapper

Chaquopy Android I have to call the python file method with array data. then python file executes ECG Peak(PQRST) using neurokit2 and got this error.

enter image description here

code is properly work in pycharm. there is no TypeError
enter image description here

Answer

Pandas added support for the string dtype in version 1.0. So change the pip section of your build.gradle file to install pandas==1.3.2, which we released for Chaquopy a few days ago.