0

I have a dataframe with several columns whose names end with _avg. Sometimes I want to do some quick analysis and just print all those columns ending with _avg.

Is there something like

print(df["*_avg"])

where * is used like how it's used in shell?

24n8
  • 1,898
  • 1
  • 12
  • 25

0 Answers0