'Converting dataframe to numpy I loss data?
I've a dataframe dataframe_as. It starts from index 1776 and ends to index 130196, also he has 3 cols (speed, acceleration and time).
Now I want to convert each column in array, and to do that I use to_numpy(), for example:
speed_array = dataframe_as["speed"].to_numpy()
acc_array = dataframe_as["acc"].to_numpy()
time_array = dataframe_as["time"].to_numpty()
But I see that every new_array's size is 112251, and it start from index 0... Did it lost some data?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
