Two dataframes train and test. The train dataframe has columns A, Z, D, C and test has columns C, D, Z. How do I take train's columns and make test dataframe also has four columns with the same order as train? The newly added columns A should have value 0 for all rows.
Thanks.