extract first and last row of a dataframe in pandas,"pd.concat([df.head(1), df.tail(1)])"