"If a worker wants to do his job well, he must first sharpen his tools." - Confucius, "The Analects of Confucius. Lu Linggong"
Front page > Programming > Working with DataFrames in Pandas

Working with DataFrames in Pandas

Published on 2024-11-03
Browse:716

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

Working with DataFrames in Pandas

Working with DataFrames in Pandas

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?

Working with DataFrames in Pandas

Release Statement This article is reproduced at: https://dev.to/yowise/working-with-dataframes-in-pandas-59gk?1 If there is any infringement, please contact [email protected] to delete it
Latest tutorial More>

Disclaimer: All resources provided are partly from the Internet. If there is any infringement of your copyright or other rights and interests, please explain the detailed reasons and provide proof of copyright or rights and interests and then send it to the email: [email protected] We will handle it for you as soon as possible.

Copyright© 2022 湘ICP备2022001581号-3