I have the following dataframe.
import pandas as pd
data=['ABC1','ABC2','ABC3','ABC4']
data = pd.DataFrame(data,columns=["Column A"])
Column A
0 ABC1
1 ABC2
2 ABC3
3 ABC4
如何在数据的A列中插入“-ABC”?
输出:
Column A
0 ABC-1
1 ABC-2
2 ABC-3
3 ABC-4