O'Reilly logo

Learning pandas - Second Edition by Michael Heydt

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Floating-point labels using Float64Index

Floating-point numbers can be used as index labels by using a Float64Index.

Note that this slice returned 11 rows, instead of the first five. This is because of the Float64Index, and pandas taking our statement to mean from the beginning to all values up to 5.0.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required