I am getting below error while jsonify.
TypeError: '<' not supported between instances of 'numpy.ndarray' and 'str'
My code is:
if rows[0]:
print("row1",rows[1])
#data_json = str(rows[1])
data_json = jsonify(rows[1])
Expecting Json object but getting error.