Home > Back-end >  What does '0 to ...' mean in Pandas df.info()?
What does '0 to ...' mean in Pandas df.info()?

Time:10-06

I used df.info() to see how many entries I have in a dataframe, but I'm curious to know what does '0 to 1440720' mean.

<class 'pandas.core.frame.DataFrame'>
Int64Index: 3921142 entries, 0 to 1440720

CodePudding user response:

It Shows that entered data is sorted from index 0 up to 1440720 (for right sorted index). in your case you might have repeated index for example 3 rows of entered data at index[5] in your dataFrame (it can make the number of entered data grater than the range of indexes.

  • Related