Skip to content

find index function suggested #513

Open
@Seandump101

Description

@Seandump101

It would be very useful to have a built in find index of specific column by value function.
maybe something like this:
"Dataframe.findIndex "

In Js it would be:

function findIndex(colname,value) {
// index of column with specific value
let query_df = df.query(df[colname].eq(value)).index;
return query_df;
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions