I have a dataframe
| country | values |
|---|---|
| BG | 20 |
| BG | 4 |
| BG | 3 |
| BG | -3 |
| BG | -20 |
| DE | 20 |
| DE | 3 |
| DE | -20 |
| IND | 20 |
| IND | -2 |
| GB | 30 |
| GB | 3 |
| GB | -30 |
I want to filter the dataframe in such a way that values from BG and GB should be < absolute (5) and all other countries should be < 5 such that the dataframe becomes
| country | values |
|---|---|
| BG | 4 |
| BG | 3 |
| BG | -3 |
| DE | 3 |
| DE | -20 |
| IND | -2 |
| GB | 3 |