We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 34b1a23 + 26a1442 commit 46f3635Copy full SHA for 46f3635
braininventory/get.py
@@ -100,3 +100,24 @@ def report():
100
101
return report
102
103
+#
104
+def __get_list_of_projects(df):
105
+ '''
106
+ Get the list of names for unique projects
107
+
108
+ Input parameter: dataframe
109
+ Output: list of projects
110
111
112
+ return df['project'].unique().to_dict()
113
114
115
+def __get_number_of_projects(df):
116
117
+ Get the number of unique projects
118
119
120
+ Output: number of projects
121
122
123
+ return len(df['project'].unique())
0 commit comments