I am fairly new to python hopefully I am able to explain the problem.

I have a DataFrame where the values in a column are present as 4.1/5 , 3.9/5 , 2/5 .

I want to convert these values to show just the numerators i.e 4.1 , 3.9 , 2.

`rating= df['rate'].dropna()` 

```
0         4.1/5
1         4.1/5
2         3.8/5
3         3.7/5
4         3.8/5
          ...  
51709    3.7 /5
51711    2.5 /5
51712    3.6 /5
51715    4.3 /5
51716    3.4 /5
Name: rate, Length: 51717, dtype: object

```

How can this be done?