Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not able to find day data #2

Open
bibhuti999 opened this issue Dec 6, 2018 · 0 comments
Open

Not able to find day data #2

bibhuti999 opened this issue Dec 6, 2018 · 0 comments

Comments

@bibhuti999
Copy link

UnboundLocalError Traceback (most recent call last)
in
382
383 if name == "main":
--> 384 statistics()

in statistics()
378 restart = input('\nWould you like to restart? Type 'yes' or 'no'.\n')
379 if restart.lower() == 'yes':
--> 380 statistics()
381
382

in statistics()
328 # What is the most popular hour of day for start time?
329 popular_hour(df_filtered)
--> 330 print("That took %s seconds." % (time.time() - start_time))
331 print("\nCalculating the next statistic...")
332 start_time = time.time()

UnboundLocalError: local variable 'start_time' referenced before assignment

getting below error

@bibhuti999 bibhuti999 changed the title Not able to day data Not able to find day data Dec 6, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant