Skip to content

Commit 0a19812

Browse files
authored
Merge branch 'main' into 5-new-metric-request-contributors-names
2 parents 553c684 + cbd0dfc commit 0a19812

File tree

2 files changed

+40
-1
lines changed

2 files changed

+40
-1
lines changed

AUTHORS

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,17 @@ Ivan Cao-Berg (icaoberg) - Pittsburgh Supercomputing Center
44
## Undergraduate Students
55
Eduardo J. Figueroa (EduardoJFigueroa) - University of Puerto Rico
66

7-
# SAMS Data Science Group
7+
## CS Scholars Data Science Group
8+
Joshua Franco (francojoshua) - Western High School
9+
Nicolas Watkins (nicolasw-cmu) - Edmond Santa Fe Highschool
10+
Carmen Ung (cmucung) - Rosemead High School
11+
Marcuslyne Sieh (marcuslynes) - The Metropolitan Regional Career and Technical Center
12+
Manav Mahida (ManavMahida) - North Penn High School
13+
Temidayo Ogundare (Togundar) - Science Park High School
14+
Neptune Barton (jellyfishking-github)- Eldorado High School
15+
16+
17+
## SAMS Data Science Group
818
Tiffany Wang (Tffny3) - Cupertino High School
919
Eileen Lin (eileen-png) - Eleanor Roosevelt High School, eSTEM Academy
1020
Louis Lin (Bobvius) - Jack Britt High

braininventory/get.py

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,35 @@ def __get_contributors(df):
9494
return df["contributorname"].unique()
9595

9696

97+
def __get_project_names(df):
98+
'''
99+
Gets the unique list of project names.
100+
101+
Input: dataframe
102+
Output: list
103+
'''
104+
return df['project'].unique()
105+
106+
def __get_list_of_projects(df):
107+
'''
108+
Get the list of names for unique projects
109+
110+
Input parameter: dataframe
111+
Output: list of projects
112+
'''
113+
114+
return df['project'].unique().to_dict()
115+
116+
def __get_number_of_projects(df):
117+
'''
118+
Get the number of unique projects
119+
120+
Input parameter: dataframe
121+
Output: number of projects
122+
'''
123+
124+
return len(df['project'].unique())
125+
97126
def report():
98127
# Get today's date
99128
tdate = date.today()

0 commit comments

Comments
 (0)