Better flow to build a DataFrame