Skip to content

Instantly share code, notes, and snippets.

@amankharwal

amankharwal/covid19 Vaccines.py Secret

Created Apr 13, 2021
Embed
What would you like to do?
dict_ = {}
for i in df.vaccines.unique():
dict_[i] = [df["country"][j] for j in df[df["vaccines"]==i].index]
vaccines = {}
for key, value in dict_.items():
vaccines[key] = set(value)
for i, j in vaccines.items():
print(f"{i}:>>{j}")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment