I have a pandas data frame, and I want to get a zero-record slice. That is, a dataframe with the same columns but zero rows. The reason I am doing this, is because i want to have an empty dataframe, to which i add rows from the original dataframe in a loop.
Currently if am using:
empty = df[0:0]
is this the pythonic way?