Skip to content
This repository has been archived by the owner on Sep 18, 2024. It is now read-only.

Add negative subscripts support to TimeseriesGenerator and Iterator. #349

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

OrigamiDream
Copy link

Summary

Python supports negative subscripting for all subscriptable types as standard.
TimeseriesGenerator and Iterator override __getitem__ function but does not support negative subscripts.

Related Issues

N/A

PR Overview

  • [n] This PR requires new unit tests [y/n] (make sure tests are included)
  • [n] This PR requires to update the documentation [y/n] (make sure the docs are up-to-date)
  • [y] This PR is backwards compatible [y/n]
  • [n] This PR changes the current API [y/n] (all API changes need to be approved by fchollet)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant