I have a dataframe as so:
and the datatypes are as follows:
When I convert the dataframe to a numpy array, the result looks like this:
Why does this happen? if I convert the dtypes of all the columns to the same dtype by :
df = df.astype('float64')
then the result looks fine, but why does this happen?