Keen Learner and Exp... • 21d
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 of ways in which you can create a pandas data frame first by using a list of python lists second by creating a python dictionary and using pd.DataFrame keyword to create a data frame you can also use numpy arrays to create data frames as well As pandas is used specifically for analysis of data it can create a data frame by reading a .csv file, a .json file, a .xlsx file and even from a url linking a data frame or similar file You can also use other functions like .head() to get the top part of data frame and .tail() to get the lower part of data frame you can also use .info and .describe function to get more information about this data frame Also here's my code and its result



Keen Learner and Exp... • 17d
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 ke
See More

Keen Learner and Exp... • 18d
Day 13 of learning data science as a beginner. Topic: data cleaning and preprocessing In most of the real world applications we rarely get almost perfect data most of the time we get a raw data dump which needs to be cleaned and preprocessed before
See More



Download the medial app to read full posts, comements and news.