Commit f9aa352d authored by Orkut Karacalik's avatar Orkut Karacalik
Browse files

more data

parent 104d2a5a
......@@ -8,7 +8,7 @@ def cmp(a, b):
df = pd.read_json('./conferences.json')
df['nums'] = df['speakers'].apply(lambda x: len(x) if cmp(x, [{'name': '', 'gender': '', 'organization': ''}]) else 0)
df['nums'] = df['speakers'].apply(lambda x: len(x) if cmp(x, [{'name': '', 'gender': 'male', 'organization': ''}]) else 0)
total_conferences = df[df.nums > 0].shape[0]
total_speakers = df.nums.sum()
......
This diff is collapsed.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment