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
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
Progress towards completion
listmode implementation #25)listmode implementation #25)listmode implementation #25)