In [1]:
import pandas as pd

df = pd.DataFrame(
    dict(
        Value_mean=range(1, 10),
        Value_min=range(11, 20),
        Value_max=range(21, 30),
        Value_sum=range(31, 40),
    )
)
df
Out[1]:
Value_mean Value_min Value_max Value_sum
0 1 11 21 31
1 2 12 22 32
2 3 13 23 33
3 4 14 24 34
4 5 15 25 35
5 6 16 26 36
6 7 17 27 37
7 8 18 28 38
8 9 19 29 39
In [2]:
df.filter(['Value_min', 'Value_max'])
Out[2]:
Value_min Value_max
0 11 21
1 12 22
2 13 23
3 14 24
4 15 25
5 16 26
6 17 27
7 18 28
8 19 29
In [3]:
df.filter(like='Value_m')
Out[3]:
Value_mean Value_min Value_max
0 1 11 21
1 2 12 22
2 3 13 23
3 4 14 24
4 5 15 25
5 6 16 26
6 7 17 27
7 8 18 28
8 9 19 29
In [4]:
df.filter(regex='n$')
Out[4]:
Value_mean Value_min
0 1 11
1 2 12
2 3 13
3 4 14
4 5 15
5 6 16
6 7 17
7 8 18
8 9 19