Skip to content

Commit 62a6742

Browse files
authored
Update get.py
1 parent 34b1a23 commit 62a6742

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

braininventory/get.py

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,15 @@ def report():
9797
report['locations'] = __get_locations(df)
9898

9999
report['is_reachable'] = df['URL'].apply(__is_reachable)
100+
import pandas as pd
101+
def technique_frequency(df):
102+
number_of_techniques = len(_get_technique_(df))
103+
print("Number of Techniques: ",number_of_techniques )
104+
technique_counts = df['technique'].value_counts()
105+
for technique, count in technique_counts.items():
106+
print(f"Technique: {technique}, Count: {count}")
107+
108+
print(technique_frequency(df))
100109

101110
return report
102111

0 commit comments

Comments
 (0)