Analyzing Data with Pandas

The cool thing of analyzing data using Python Data Analysis Library, pandas. Pandas is an open source library providing high-performance, easy-to-use data structures and data analysis tool for the Python programming language.

First, installing Pandas using official Ubuntu repository. In my environment, i’m using Linux Ubunbu v18.x and run the following command to install Pandas.

sudo apt-get install python3-pandas

Here’s an example of running Pandas.

# Import pandas library
import pandas as pd

# load and read data, in this example from the command separated values (CSV)
df = pd.read_csv(‘website_visits.csv”)

# then display the data
print(df.head())

And the result is shown below.

QUE.com on Data Science

Just a few codes and showing an structured data in readable format, that’s Data Science.

If you wan to learn Data Science, check out Codecademy.com, Edx.org, and other online courses. You can actually find Data Science courses everywhere.

Continue reading other Data Science how to and articles.

Support @QUE.COM

Founder, QUE.COM Internet Media. | Founder, Yehey.com a Shout for Joy! | MAJ.COM Management of Assets and Joint Ventures. More at KING.NET Ideas to Life.

Leave a Reply

Discover more from QUE.com

Subscribe now to keep reading and get access to the full archive.

Continue reading