dcayton commited on
Commit
22ff455
1 Parent(s): 07b35ae

update dl_manager

Browse files
Files changed (1) hide show
  1. nba_tracking_data_15_16.py +1 -0
nba_tracking_data_15_16.py CHANGED
@@ -172,6 +172,7 @@ class NbaTracking(datasets.GeneratorBasedBuilder):
172
  def _generate_examples(self, filepaths, split):
173
  # TODO: This method handles input defined in _split_generators to yield (key, example) tuples from the dataset.
174
  # The `key` is for legacy reasons (tfds) and is not important in itself, but must be unique for each example.
 
175
  pbp_out = dl_manager.download_and_extract(_PBP_URL)
176
  pbp = pd.read_csv(pbp_out)
177
 
 
172
  def _generate_examples(self, filepaths, split):
173
  # TODO: This method handles input defined in _split_generators to yield (key, example) tuples from the dataset.
174
  # The `key` is for legacy reasons (tfds) and is not important in itself, but must be unique for each example.
175
+ dl_manager = DownloadManager()
176
  pbp_out = dl_manager.download_and_extract(_PBP_URL)
177
  pbp = pd.read_csv(pbp_out)
178