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 b0f67f0 + d556755 commit 569a9e2Copy full SHA for 569a9e2
braininventory/get.py
@@ -1,7 +1,6 @@
1
import json
2
from datetime import date
3
-import urllib.request
4
-import matplotlib.pyplot as plt
+
5
import humanize
6
import matplotlib.pyplot as plt
7
import pandas as pd
@@ -849,6 +848,10 @@ def get_projects_treemap(df):
849
848
plt.savefig(filename)
850
851
+def __get_modalities(df):
852
+ return (df["generalmodality"].value_counts()).to_dict()
853
854
855
def __get__percentage_of_metadata_version_1(df):
856
"""
857
Get the percentage/ratio of metadata version 1 from all datasets
0 commit comments