DEV Community

a.infosecflavour
a.infosecflavour

Posted on

Working with DataFrames in Pandas

HellO!πŸ‘‹

Today I'm back with a new notebook which demonstrates a way of working with data in Jupyter.

Source file

I downloaded the dataset from
Kaggle a platform to find real-world data and connect with other data enthusiasts.
There you will find an incredible collection of datasets and projects and you can also participate in competitions.

Short evidence of the work

img

clean

After I returned a concise summary of the dataframe I performed the cleaning of data, to get my data into a usable and consistent format for analysis

astype() method is used to convert a pandas object to a specified data type.

I used fillna(0) to get rid of the error that initially appeared. Try it yourself!

Where is the rest of the work? πŸ’­

You can find more in my GitHub repository. Here I uploaded the notebook and of course the dataset. In short words, you will learn how to

  • load a dataframe,

  • examine its metadata,

  • convert data types

  • explore the dataframe using iloc indexing.
    More than that, you will learn about Boolean masking and...how to calculate the median value. πŸ“š

Are you ready to explore the data?

explore

Top comments (0)