Basic Dataframe Manipulation using Pandas

Basic Dataframe Manipulation using Pandas

Basic Dataframe Manipulation using Pandas. Pandas DataFrames make manipulating your data easy, from selecting or replacing columns and indices to reshaping your data.

For the last months I have been writing a few blogs about the projects that I had to do at Flatiron as part of the requirements of the Data Science bootcamp that I’m doing. Now I’m almost at the end of the program and I’m still missing a couple blogs. One is a mandatory one about our Capstone Project and the second I decided to write about something that I really enjoy in Python which is manipulating dataframes with Pandas.

If by any chance you don’t know what these two are (Pandas and dataframes), Pandas (Python Data Analysis Library) is the most popular open source data analysis and manipulation tool/library built on top of Python; and Dataframes are 2-dimensional labeled data structure with columns of potentially different types. You can think of it like a simple spreadsheet or SQL table, and it is generally the most commonly used Pandas object.

This blog will be by no means a tutorial but just a summary of what so far I have found to be some of the most useful functionalities to manipulate dataframes, and in order for me to show them to you, I thought starting from scratch would be good, scratch meaning creating my own dataframe.

In terms of the dataset, I won’t be downloading/loading any but instead I will create my own based on NBA basketball players names, positions, and a few of the most simple stats such as PPG (Points Per Game), APG (Assists Per Game), and RPG (Rebounds Per Game), so nothing too fancy and I will do this as an exercise embedding Gists so that I don’t have to re-type all the code and will just go over it.

pandas towards-data-science dataframes data-science pandas-dataframe

Bootstrap 5 Complete Course with Examples

Bootstrap 5 Tutorial - Bootstrap 5 Crash Course for Beginners

Nest.JS Tutorial for Beginners

Hello Vue 3: A First Look at Vue 3 and the Composition API

Building a simple Applications with Vue 3

Deno Crash Course: Explore Deno and Create a full REST API with Deno

How to Build a Real-time Chat App with Deno and WebSockets

Convert HTML to Markdown Online

HTML entity encoder decoder Online

50 Data Science Jobs That Opened Just Last Week

Data Science and Analytics market evolves to adapt to the constantly changing economic and business environments. Our latest survey report suggests that as the overall Data Science and Analytics market evolves to adapt to the constantly changing economic and business environments, data scientists and AI practitioners should be aware of the skills and tools that the broader community is working on. A good grip in these skills will further help data science enthusiasts to get the best jobs that various industries in their data science functions are offering.

Applications Of Data Science On 3D Imagery Data

The agenda of the talk included an introduction to 3D data, its applications and case studies, 3D data alignment and more.

Data Science Course in Dallas

Become a data analysis expert using the R programming language in this [data science]( "data science") certification training in Dallas, TX. You will master data...

Data Science Pull Requests — A Method for Data Science Review & Merging

Data Science Pull Requests — A Method for Data Science Review & Merging. A step forward for MLOps and unlocking Open Source Data Science

Fluent Pandas: Pandas Data Structures

Let’s uncover practical details of Pandas’s Series, DataFrame, and Panel. Pandas is a column-oriented data analysis API. It’s a great tool for handling and analyzing input data.