I have a pd dataframe. When I call pd.values
, the result is like:
np.array([
[1, 2, [0, 0, 0], 3],
[1, 2, [0, 0, 0], 3]
])
and I want it to look like this when calling pd.values
:
np.array([
[1, 2, 0, 0, 0, 3],
[1, 2, 0, 0, 0, 3]
])
Please help me out.