Closed sara-02 closed 5 years ago
Yes indeed, can you do a pull request for this ? Plus len(dataset.keys()) should be replaced by len(dataset) Best
@stephanegaiffas Sure. Is there a development branch or should I create the PR against the master?
master is fine :+1:
The line https://github.com/X-DataInitiative/tick/blob/6989fddb7117bdf9b7c9faa284f9d163a1bee140/tick/dataset/download_helper.py#L188 returns a KeyView which being a
set-like
object cannot be accessed directly via index.TypeError: 'KeysView' object does not support indexing
A minor fix is need to change it to list/or iterator instead.