Skip to content

Allow time series of 3D vectors #4913

Closed
@ufechner7

Description

@ufechner7

We use Pandas to analyse flight data. Many of the recorded measurements are 3D vectors of double, e.g. position, velocity, acceleration. Currently I can only store scalars or objects in a time series. Scalars make the dataset very large, processing it is not very convenient.

I would like to be able to do:
df.velocity.norm().plot()

to plot the norm of the velocity vector that is stored in the data-frame.

Currently I have to type:
pd.Series(np.sqrt(df.velocity_x2 + df.velocity_y2 + df.velocity_z**2)).plot()

which is not very convenient.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions