Built-in Functions
Published May 12, 2022
Contribute to Docs
Pandas provides a wide variety of built-in functions for data access and manipulation. A few of the more significant ones are listed below.
Built-in Functions
- .concat()
- Concatenates multiple dataframes or series along a particular axis.
- .get_dummies()
- Converts categorical variables to dummy (indicator) variables
- .read_csv()
- Reads a CSV file into a Pandas DataFrame object.
- .read_excel()
- Reads an Excel file into a Pandas DataFrame object.
- .to_datetime()
- Returns a pandas datetime object for a given object, such as a Series or DataFrame
- .unique()
- Returns an array containing all the unique elements in the data series, with no specific order.
Contribute to Docs
- Learn more about how to get involved.
- Edit this page on GitHub to fix an error or make an improvement.
- Submit feedback to let us know how we can improve Docs.
Learn Python:Pandas on Codecademy
- Career path
Computer Science
Looking for an introduction to the theory behind programming? Master Python while learning data structures, algorithms, and more!Includes 6 CoursesWith Professional CertificationBeginner Friendly75 hours - Career path
Front-End Engineer
Front-end engineers work closely with designers to make websites beautiful, functional, and fast.Includes 34 CoursesWith Professional CertificationBeginner Friendly115 hours - Course
Learn Python 3
Learn the basics of Python 3.12, one of the most powerful, versatile, and in-demand programming languages today.With CertificateBeginner Friendly23 hours