Tutorials 参考 练习 Menu
Paid Courses

Pandas Tutorial


Pandas is a Python library.

Pandas is used to analyze data.

Learning by Reading

We have created 14 tutorial pages for you to learn more about Pandas.

Starting with a basic introduction and ends up with cleaning and plotting data:

Learning by 测试 Test

Test your Pandas skills with a quiz test.

Start Pandas 测试

Learning by 练习

Pandas 练习


Insert the correct Pandas method to create a Series.


Start the Exercise

Learning by 示例

In our "来试试吧" editor, you can use the Pandas module, and modify the code to see the result.


Load a CSV file into a Pandas DataFrame:

import pandas as pd

df = pd.read_csv('data.csv')

来试试吧 »

Click on the "来试试吧" button to see how it works.

w3schools CERTIFIED . 2021

Get Certified!

Complete the Pandas modules, do the exercises, take the exam, and you will become w3schools certified!


W3Schools is optimized for learning and training. 示例 might be simplified to improve reading and learning. Tutorials, references, and examples are constantly reviewed to avoid errors, but we cannot warrant full correctness of all content. While using W3Schools, you agree to have read and accepted our terms of use, cookie and privacy policy.

Copyright 1999-2021 by Refsnes Data. All Rights Reserved.
W3Schools is Powered by W3.CSS.