I'm very new to pandas and dataframes.
I have two lists in python which contains columns and values that needs to be inserted for that columns in a row.
For Ex:
col_list = ['column1', 'column3', 'column4', 'column6', ...]
val_list = ['value1', 'value3', 'value4', 'value6', ...]
How can I insert these values from val_list in columns in col_list for a specific row.
And I need to iterate multiple times.
These value and column list will change for every iteration but the order of column1 - value1, column2 - value2 doesn't change.
If the ith element in col_list is col-i, then ith element in val_list will be val-i.
How can I enter data in only specific columns that are in col_list into pandas dataframe.