The PolynomialFeatures function automatically creates polynomic features by exhaustively combining original features.
If I wanted to exhaustively find differences or