
Data Structure
Networking
RDBMS
Operating System
Java
MS Excel
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
AmitDiwan has Published 10744 Articles

AmitDiwan
5K+ Views
To write pandas dataframe to a CSV file in Python, use the to_csv() method. At first, let us create a dictionary of lists −# dictionary of lists d = {'Car': ['BMW', 'Lexus', 'Audi', 'Mercedes', 'Jaguar', 'Bentley'], 'Date_of_purchase': ['2020-10-10', '2020-10-12', '2020-10-17', '2020-10-16', '2020-10-19', '2020-10-22'] }Now, create pandas dataframe from the above ... Read More

AmitDiwan
260 Views
Violin Plot in Seaborn is used to draw a combination of boxplot and kernel density estimate. The seaborn.violinplot() is used for this. Plot a sinle violinplot usinga single column.Let’s say the following is our dataset in the form of a CSV file − Cricketers.csvAt first, import the required libraries −import ... Read More

AmitDiwan
302 Views
Count Plot in Seaborn is used to display the counts of observations in each categorical bin using bars. The seaborn.countplot() is used for this. Style the bars using the facecolor, linewidth and edgecolor parameters.Let’s say the following is our dataset in the form of a CSV file − Cricketers.csvAt first, ... Read More

AmitDiwan
773 Views
Point Plot in Seaborn is used to show point estimates and confidence intervals using scatter plot glyphs. The seaborn.pointplot() is used for this. Set caps to the error bars using the capsize parameter.Let’s say the following is our dataset in the form of a CSV file − Cricketers.csvAt first, import ... Read More

AmitDiwan
812 Views
Box Plot in Seaborn is used to draw a box plot to show distributions with respect to categories. The seaborn.boxplot() is used for this. To control the order use the order parameter.Let’s say the following is our dataset in the form of a CSV file − Cricketers.csvAt first, import the ... Read More

AmitDiwan
86 Views
Violin Plot in Seaborn is used to draw a combination of boxplot and kernel density estimate. The seaborn.violinplot() is used for this. Order with order parameter and set observations using inner parameter.Let’s say the following is our dataset in the form of a CSV file − Cricketers.csvAt first, import the ... Read More

AmitDiwan
2K+ Views
Box Plot in Seaborn is used to draw a box plot to show distributions with respect to categories. To create a vertical Box Plot, use the seaborn.boxplot().Let’s say the following is our dataset in the form of a CSV file − Cricketers.csvAt first, import the required libraries −import seaborn as ... Read More

AmitDiwan
924 Views
To plot a Horizontal Bar Plot, use the pandas.DataFrame.plot.barh. A bar plot shows comparisons among discrete categories.At first, import the required libraries −import pandas as pd import matplotlib.pyplot as pltCreate a Pandas DataFrame with 4 columns −dataFrame = pd.DataFrame({"Car": ['Bentley', 'Lexus', 'BMW', 'Mustang', 'Mercedes', 'Jaguar'], "Cubic_Capacity": [2000, 1800, 1500, 2500, ... Read More

AmitDiwan
1K+ Views
Count Plot in Seaborn is used to display the counts of observations in each categorical bin using bars. The seaborn.countplot() is used for this.Let’s say the following is our dataset in the form of a CSV file − Cricketers.csvAt first, import the required 3 libraries −import seaborn as sb import ... Read More

AmitDiwan
346 Views
The seaborn.pointplot() is used to create a point plot. Let’s say the following is our dataset in the form of a CSV file − Cricketers.csvAt first, import the required 3 libraries −import seaborn as sb import pandas as pd import matplotlib.pyplot as pltLoad data from a CSV file into a ... Read More