Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

seaborn factorplot python

# importing the required library
import pandas as pd
import seaborn as sns
import matplotlib.pyplot as plt
 
# read a csv file
df = pd.read_csv('Tips.csv')
 
# point plot(by default)
sns.factorplot(x ='size', y ='tip', data = df)
 
# Show the plot
plt.show()
Source by www.geeksforgeeks.org #
 
PREVIOUS NEXT
Tagged: #seaborn #factorplot #python
ADD COMMENT
Topic
Name
1+4 =