avoiding regex in pandas str.replace
From the version 0.23 and newer, str.replace() got new option for switching regex. Following will simply turn it off.
df.search_term.str.replace('in.', 'in. ', regex=False)
Will results in:
0 inline switch
1 in. here
Name: search_term, dtype: object