Class 5-Python
Class 5-Python
Dropping Columns
Adding new Columns
Modifying values in a Dataframe
Filtering rows in a Dataframe
More Pandas Functions
Line charts are used to represent the relation between two data X and Y on a different axis.
Bar Plot
• It a graph that represents the category of data with rectangular bars with lengths and
heights that is proportional to the values which they represent.
• It describes the comparisons between the discrete categories.
• One of the axis represents the specific categories being compared, other axis
represents the measured values corresponding to those categories.
Histogram
• Scatter plots are used to observe relationship between variables and uses dots to
represent the relationship between them.
• The scatter() method in the matplotlib library is used to draw a scatter plot.
Scatter plots are widely used to represent relation among variables and how
change in one affects the other.
Pie Chart
• A Pie Chart is a circular statistical plot that can display only one series of data.
• It illustrates data proportions using wedges within a circular layout. Each wedge's
area represents a percentage of the whole dataset.
• Commonly used in business presentations for summarizing categories like sales,
survey results, and resource allocation.
Python Seaborn
Seaborn is an amazing visualization library for statistical graphics plotting in Python. It is built on
the top of matplotlib library and also closely integrated into the data structures from pandas.