image_output_1.png
import glob

import os

import pandas as pd

path = '../input/cyclistic-trip-data'
all_files = glob.glob(os.path.join(path, '*.csv'))
all_files

merged_df = pd.DataFrame()
for f in all_files:
    df_each_file = pd.read_csv(f)
    merged_df = merged_df.append(df_each_file, ignore_index=True)
merged_df.head()