Ali_app1 / app.py
moghaddas's picture
Rename app1.py to app.py
dbcf408 verified
raw
history blame contribute delete
556 Bytes
import streamlit as st
import pandas as pd
import seaborn as sns
import matplotlib.pyplot as plt
# Apply the default theme and activate color codes
sns.set_theme()
sns.set(color_codes=True)
################### import dataset
Tips = sns.load_dataset("tips")
################### import dataset
Tips = sns.load_dataset("tips")
########### set the title and subtitle
st.title("Differences between sexes in tips dataset")
st.subheader("who paid more?")
########## we add image from local folder
st.image("images/Screenshot 1404-05-16 at 13.53.45.png")