forked from udacity/pdsnd_github
-
Notifications
You must be signed in to change notification settings - Fork 0
/
readme.txt
executable file
·35 lines (24 loc) · 1.72 KB
/
readme.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
References used in completing bikeshare project assignment.
A command for clearing the screen was found on the following page:
https://www.quora.com/Is-there-a-Clear-screen-function-in-Python
I pulled some of the code from Practice Problems 1, 2 and 3 for the purposes of
some of the calculations made in the code.
I found how to use calendar.day_name on this page:
https://stackoverflow.com/questions/36341484/get-day-name-from-weekday-int
I got some more info about the calendar module from this page:
https://docs.python.org/2/library/calendar.html
I found how to see the unique values of a column from this page
https://cmdlinetips.com/2018/01/how-to-get-unique-values-from-a-column-in-pandas-data-frame/
To test whether a DataFrame is empty, I used the solution found on the following page:
https://stackoverflow.com/questions/19828822/how-to-check-whether-a-pandas-dataframe-is-empty
I wanted to occasionally write the DataFrame output to a file, so that I could take a look
at the results in excel. I used the following page to learn how to do that:
https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.DataFrame.to_csv.html
To better understandn how value_counts() works, I used this page:
https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.Series.value_counts.html
To find the largest value in a value_count(), I used this page:
https://stackoverflow.com/questions/35364601/group-by-and-find-top-n-value-counts-pandas
To learn how to use timedelta, I used the following page:
https://docs.python.org/2/library/datetime.html#module-datetime
To learn how to cache my github credentials, I used the following stackoverflow page:
https://stackoverflow.com/questions/6565357/git-push-requires-username-and-password