Skip to content

ENH: replace returning a DataFrame with returning a Series #547

@bifbof

Description

@bifbof

Functions like get_speed_positionfixes, get_speed_triplegs, create_activity_flag, predict_transport_mode take a DataFrame, copy it, potentially override a column with the result and then return the new DataFrame.
I think it would be cleaner if those functions would return a Series directly without the need to copy the whole DataFrame.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions