Skip to content
Advertisement

Pandas DataFrame adding two zeros

Hi can some one explain why it adds two 0 0 to my data frame in this function

JavaScript

the output looks like

JavaScript

Advertisement

Answer

You may want to revisit how you are creating the dataframe. Here are some changes for you to consider. I have limited information about what you are doing so my answer is catering to just the code I have seen.

JavaScript
User contributions licensed under: CC BY-SA
7 People found this is helpful
Advertisement