From 5f61346bd22710bd01883df71604db060c174c71 Mon Sep 17 00:00:00 2001 From: Mithun G Date: Fri, 14 Jan 2022 16:16:44 +0530 Subject: [PATCH] Add files via upload --- Streamlit/app4.py | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 Streamlit/app4.py diff --git a/Streamlit/app4.py b/Streamlit/app4.py new file mode 100644 index 0000000..8aa2c56 --- /dev/null +++ b/Streamlit/app4.py @@ -0,0 +1,16 @@ +# CREATING AND DISPLAYING GRAPHS +import numpy as np +import pandas as pd +import seaborn as sns +import matplotlib.pyplot as plt +import plotly.express as px +import streamlit as st + +df = pd.read_csv("C:\\Users\\mithun\\Downloads\\breast-cancer_csv.csv") + +plt.figure(figsize=(1,1)) +graph1 = sns.displot(df['Class']) +st.pyplot(graph1) + +graph2 = px.line(df,x='tumor-size',y='age') +st.plotly_chart(graph2) \ No newline at end of file