Skip to content
This repository was archived by the owner on May 31, 2024. It is now read-only.
This repository was archived by the owner on May 31, 2024. It is now read-only.

Peculiarity of show() #6

@bangxiangyong

Description

@bangxiangyong

I understand that show() is supposed to return all samples by default (-1), but i encounter strangeness. However, when the actual number of entries are supplied, it seems to be fine.

from time_series_buffer import TimeSeriesBuffer
ts_buffer =TimeSeriesBuffer()
ts_buffer.add([[0,10],[1,11],[2,12]])
ts_buffer.show() #not fine
ts_buffer.show(3) #looks good

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