SyntaxFix
Write A Post
Hire A Developer
Questions
If you would like the new data frame to have the same index and columns as an existing data frame, you can just multiply the existing data frame by zero:
df_zeros = df * 0