
<SYSTEM_TASK:>
Given the following text problem statement, write Python code to implement the functionality described below in problem statement
<END_TASK>
<USER_TASK:>
Problem:
How to Convert DataFrame Values Into Percentages

<ASSISTANT_TASK:>
Python Code::
df['total'] = df['col_1'] + df['col_2']
df = df.pipe(lambda x: x.div(x['total'], axis='index')).applymap('{:.0%}'.format)

<END_TASK>
