Skip to content

@eachrow over a range? #316

@ghost

Description

If I do this:

@eachrow df[start:stop, :] ...

It works but the row index always starts from one.
Also @eachrow! doesn't operate on the same df since the indexing copies, and using a view gives error:

dfv = @view df[start:stop, :]
@eachrow! dfv ...
# ERROR: MethodError: no method matching transform!(::SubDataFrame{DataFrame, DataFrames.Index, UnitRange{Int64}})

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions