Skip to content

Instantly share code, notes, and snippets.

@kywe665
Last active July 14, 2022 07:19
Show Gist options
  • Select an option

  • Save kywe665/498bc44112f8738b0ce11978c87ed566 to your computer and use it in GitHub Desktop.

Select an option

Save kywe665/498bc44112f8738b0ce11978c87ed566 to your computer and use it in GitHub Desktop.
from azureml.opendatasets import NycTlcYellow
from dateutil import parser
from datetime import datetime
end_date = parser.parse('2018-06-06')
start_date = parser.parse('2018-05-01')
nyc_tlc = NycTlcYellow(start_date=start_date, end_date=end_date)
filtered_df = nyc_tlc.to_spark_dataframe()
display(filtered_df)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment