Answers for "pandas get indices of mask"

0

pandas get indices of mask

mask = df.test=='test'
df.index[mask].to_list()
Posted by: Guest on February-15-2022

Python Answers by Framework

Browse Popular Code Answers by Language