first code is deleted, let's focus on the df.c