The intent of this post is to introduce you to the Pandas library by performing common tasks like reading, writing files and manipulating data.
Pandas is an open source Python library that provides
an easy-to-use data structure to perform complex operations with the data. Following
are some of the ways to get you up and running with Pandas,
Once you have finished the installation, you could verify the package by running
the following command,
Construct a random Pandas dataframe (uses NumPy)
Construct a dataframe with a list of tuples
Construct a dataframe from a CSV file
Construct a dataframe from a Excel(.xlsx) file
Add, Remove and Rename a column in a dataframe
Insert, Update and Delete rows from a dataframe
Of course, Pandas is a huge library and this article would never be considered complete.
As I continue to learn new tricks in the Pandas library, I will update the article
immediately. So make sure you bookmark this post for future reference!
Did you enjoy reading this article? I'd love to hear your thoughts. Shoot me an email or send me a tweet if you've got any comments.