---
id: 5e8f2f13c4cdbe86b5c72d8a
title: 'Core Learning Algorithms: Working with Data'
challengeType: 11
videoId: u85IOSsJsPI
bilibiliIds:
  aid: 675550447
  bvid: BV1RU4y1w7up
  cid: 409127383
dashedName: core-learning-algorithms-working-with-data
---

# --question--

## --text--

What does the pandas `.head()` function do?

## --answers--

Returns the number of entries in a data frame.

---

Returns the number of columns in a data frame.

---

By default, shows the first five rows or entries in a data frame.

## --video-solution--

3

