Non-academic troubleshooting and skills
Wednesday, October 2, 2019
python convert lists to dict
dictOfWords
=
{
i
:
5
for
i
in
listOfStr
}
dictOfWords = { test[i] : bdata.uns['celltype_colors'][i] for i in range(len(test)) }
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment