columns to dictionary pandas

27

columns to dictionary pandas -

pd.Series(df.A.values,index=df.B).to_dict()

Comments

Submit
0 Comments