I have a pandas dataframe in the following format:

```
 user  percent 
  x      0.2
  x      0.5
  x      0.8
  y      0.1
  y      0.6
  y      0.2
  y      0.6

```

I am trying to multiply the percents in the rows for each user.

In the example, the result for x will be 0.2\*0.5\*0.8 = 0.08

The dataframe should therefore look like that:

```
user     result
  x      0.08
  y      0.0072

```

How to get my expected output?