column_names = ["a", "b", "c"] df = pd.DataFrame(columns = column_names) df["a"] = [num for num in range(1, 5)]