Keen Learner and Exp...ย โขย 5m
Day 14 of learning data science as a beginner. Topic: Melt, Pivot, Aggregation and Grouping Melt method in pandas is used to convert a wide format data into a long form data in simple words it represent different variables and combines them into key-value pairs. We need to convert data in order to feed it to our ML pipelines which may only take data in one format. Pivot is just the opposite of melt i.e. it turns long form data into a wide format data. Aggregation is used to apply multiple functions at once in our data for example calculating mean, maximum and minimum of the same data therefore instead of writing code for each of them we use .agg or .aggregate (in pandas both are exactly the same). Grouping as the name suggests groups the data into a specific group so that we can perform analysis in the group of similar data at once. Here's my code and its result.
ย โขย
Self Employedย โขย 3m
Iโve been strengthening my data analysis and visualization fundamentals by building multiple end-to-end analytical projects using Python, Pandas, Matplotlib, and Seaborn. Projects worked on: Video Game Market Analysis Football Performance Analysis (
See MoreStudent | Freelancer...ย โขย 9m
The PNG format gets a long-awaited update after 20 years The World Wide Web Consortium has announced a major update to the Portable Network Graphics (PNG) image format after over two decades. Bringing official HDR support, animated PNGs, and improve
See MoreKeen Learner and Exp...ย โขย 5m
Day 11 of learning Data science as a beginner Topic: creating data structure In my previous post I discussed about the difference between panda's series and data frames we typically use data frames more often as compared to series There are a lot
See MoreTraining Consolerย โขย 1y
Python is a beginner-friendly and powerful programming language, perfect for diving into data science. Start by learning the basics like variables, loops, and functions. Explore popular libraries such as Pandas for data manipulation, NumPy for nume
See MoreDownload the medial app to read full posts, comements and news.