Skip to content

Optimize a way to get dataset labels #45

@atselikov

Description

@atselikov

Is your feature request related to a problem? Please describe.

Current approach to get datasframe labels from dataframe_dict is:

    label_iter = iter(dataframe_dict.keys())
    train_label = next(label_iter)
    test_label = next(label_iter)

Which could be not really optimal.

Describe the solution you'd like
Would be nice to have something from Itertools Recipes, for ex:
https://docs.python.org/3.8/library/itertools.html#itertools-recipes

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