I have this DataFrame like this:
1 2 1 3 1 4
2 4 5 1 1 4
1 3 5 3 1 4
1 3 1 3 1 4
Another like this
1 1 0 0 0 0
I want to multiply them such as that I get
1 2 0 0 0 0
2 4 0 0 0 0
1 3 0 0 0 0
1 3 0 0 0 0
So what's happening is that every column with a 1 in the second df multiplies every value by one and every column with a zero changes all columns in the first dataframe by 0.