Dropping the row

I didn’t understand the dropping of the column and the reshaping part of the video. Kindly explain.
Thanks