using pandas to create a dataf-rame