Skip to content

Make the attributes of the RAMCSV struct public #1

@ibiris

Description

@ibiris

In order to implement a series of calls to fetch a number of random lines from a CSV it would be good to know the total number of lines of the file so that the lines can be randomly chosen from the range. To do that it would help if RAMCSV exposes its attributes so that we do not need to write extra logic just to find the number of lines in the file.

Attached is a patch. I am not sure if you are actively taking PRs so please let me know if you agree and I can create a PR.
patch-randomaccesscsv.txt

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions