Skip to content

Implement Application.display() #23

@ncdulo

Description

@ncdulo

The Application.display() method will handle the logic behind selecting appropriate data to display after reading from disk. My first thought for how to implement this is by using the slice operator to limit which rows we grab, and the sort order.

More advanced selection methods will be needed for other functionality, but it should be possible to keep this simple for now.

For example, we can select entries as sorted by Pandas DataFrame index like so

# Select last 5 entries (newest)
data[:-5:-1]
# Or the first 5 entries from the file (oldest)
data[0:5]

Progress towards completion

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions