text_plain_output_1.png
import os

import pandas as pd

import numpy as np
import pandas as pd
import glob
import os
def list_columns_in_folder(file_path):
    """List out every column for every file in a folder"""
    for dirname, _, filenames in os.walk(file_path):
        for filename in filenames:
            df = pd.read_csv(os.path.join(dirname, filename))
            columns = df.columns.values[1:]

list_columns_in_folder('/kaggle/input/aipowered-literature-review-csvs/kaggle/working/Key Scientific Questions/')