I want to rename column name using another dataframe.
df_A is
# a b x
# date
# 2017-11-01 65 12 1
# 2017-11-02 26 1 5
# 2017-11-03 47 5 6
df_B is
# keys names
# a X
# b Y
# x Z
From these, I want to get df_c. df_c
# X Y Z
# date
# 2017-11-01 65 12 1
# 2017-11-02 26 1 5
# 2017-11-03 47 5 6
I think it is easy to do, and may be use dict, but i donno what to do. Please help me.