I want to replace the values of a Pandas DataFrame column with its value in range form in each cell, by calculating its absolute/mean value.
Column values: single cell is “46-55” next cell value is “26-35” and next cell value is “100+” (without quotes)
Example input: pandas.core.series.Series('46-55', '26-35', '60+')
Expected output: pandas.core.series.Series('50.5','30.5','60')
where, 50.5 is the mean of 46 and 55