'Looking to take values that are 'Not given' in a column, clip the info and create a new column just with the data that is 'Not given'

I've tried the below; however, haven't been successful. Do I have to convert these values Not given into NaN and then try to move? Would groupby be helpful here? I'm a bit new to python so still learning.

Rating is type object with a few numerical values and Not given.

df['not_given_rating'] = np.clip(df.loc[df['rating'] == "Not given"])
df['not_given_rating'] = df.loc[df['rating'] == "Not given"]


Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source