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?