How can I replicate rows in Pandas?
How can I replicate rows of a Pandas DataFrame? Question: My pandas dataframe looks like this: Person ID ZipCode Gender 0 12345 882 38182 Female 1 32917 271 88172 Male 2 18273 552 90291 Female I want to replicate every row 3 times and reset the index to get: Person ID ZipCode Gender 0 12345 …