I have a list of indexes, say [3,4,7,9]. What is the fastest way to create a binary array (in this case [0,0,0,1,1,0,0,1,0,1]). Thanks!
I have a list of indexes, say [3,4,7,9]. What is the fastest way to create a binary array (in this case [0,0,0,1,1,0,0,1,0,1]). Thanks!