May-30-2020, 10:53 AM
(This post was last modified: May-30-2020, 10:53 AM by donnertrud.)
Thanks, with your help I made it work!
Now, is there a convenient way to select these keys in a data frame ? E.g. if the dict gave me the keys : "a" , "b" and "e", I want to select them from the the data frame where they are initially coming from :
Now, is there a convenient way to select these keys in a data frame ? E.g. if the dict gave me the keys : "a" , "b" and "e", I want to select them from the the data frame where they are initially coming from :
df = df.columns["a", "b", "e"]I could do it manually, however I got too many returned keys and I am asking out of curiosity.