I try to select certain columns (fix) column in multiple dataframe (Y_1
,Y_2
, ... , Y_100
). This is what I've tried
X_1 = Y_1[['name','address','target','achievement']] X_2 = Y_2[['name','address','target','achievement']] X_100 = Y_100[['name','address','target','achievement']]
The problem is the amount of column that I select is growing, currently I do manual, but when the column I select grow, It's prone to mistake
https://stackoverflow.com/questions/65784932/how-to-select-certain-fix-column-in-multiple-pandas-dataframe January 19, 2021 at 11:01AM
没有评论:
发表评论