text_plain_output_1.png
all_pieces = []
for k in range(ITER):
    print(k, ',', end=' ')
    SKIPS = 0
    if k > 0:
        SKIPS = range(1, skips[k] + 1)
    train = pd.read_csv('/kaggle/input/predict-student-performance-from-game-play/train.csv', nrows=reads[k], skiprows=SKIPS, dtype=dtyping, low_memory=True)
    df = process_level(train)
    all_pieces.append(df)
    del train
    del df
    gc.collect()
print('\n')
train_df = pd.concat(all_pieces, axis=0)
print(f'Shape of Train DF : {train_df.shape}')
display(train_df.head())