Can we take only some samples for a specific set of features? For example, if I have features:
| Feature1 |
Feature2 |
| A |
X |
| A |
X |
| A |
X |
| A |
Y |
| A |
Y |
| A |
Y |
| B |
X |
| B |
Y |
can I do grouping based on Feature2 only where Feature1 == "A" without generating the extra groups where Feature1 == "B"?