1mapping_dict = {
2 'Android': 'Android',
3 'Chrome OS': 'Chrome OS',
4 'Linux': 'Linux',
5 'Mac OS': 'macOS',
6 'No OS': 'No OS',
7 'Windows': 'Windows',
8 'macOS': 'macOS'
9}
10
11df['col'] = df['col'].map(mapping_dict)
12print(my_series)