How can I count number of colums whose name starts with specifc words : In my python dataframe I have around 40 columns. Out of these 40 columns around 20 columns starts with `"Name_"` for example `"Name_History","Name_Language`" and remaining column starts with `"score_"` for example "Score_Math","Scor_Physisc". I would like to determine dynamically First & last index of columns starts with `"Name_"` . Can you expert please help me?

Thanks in advance