Nov-12-2020, 08:30 PM
Hello,
I have this code:
trying to grab all index labels with the word 'costs' in it but I want to add another word to include in this grab. So for example, grab all labels that have either 'costs' or 'administrative'
I can't seem to figure it out or find it anywhere.
Any help would be appreciated.
Matt
I have this code:
1 |
sga = list ( filter ( lambda x: 'costs' in x, income.index)) |
I can't seem to figure it out or find it anywhere.
Any help would be appreciated.
Matt