DataFrames: Indexing and slicing

DataFrames: Indexing and slicing#

Learning objectives#

After working through this topic, you should be able to:

  • index into rows of a DataFrame

  • index into columns of a DataFrame

  • slice into columns of a DataFrame

  • explain why indexing and one-column slicing are different

  • index into elements of a DataFrame

Materials#

Video with English subtitles:

Download the slides.

Video with German subtitles:

(turn subtitles on in the bottom right corner of the video)