Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Add a
--num_rows
argument to more easily specify that value on the command line without having to edit the code. If--full
is specified, it overrides--num_rows
and all rows are processed. Thewiki_to_netflix
module still contains a default value for num rows for when it is run directly.Add a
--missing_out_path
argument, which will collect all the missing movies and put them in their own CSV. If this argument isn't specified, no missing movie CSV is written. This path is relative to the output directory, so if you specify--missing_out_path=my_missing.csv
you will find your file atout/my_missing.csv
.Here is an example of how to use these new arguments:
Note that in this example, the QUERY variable in
wiki_to_netflix
was manually edited between run. A future enhancement might be to allow the user to specify a file or python module path that contains the query to use.