Page 1 of 1

Mein Python -Code braucht lange, um zu rennen, und nichts passiert

Posted: 14 Feb 2025, 09:39
by Anonymous

Code: Select all

from dash import Dash, dcc
import plotly.express as px
import pandas as pd

read = pd.read_csv('titanic.csv')

fig = px.pie(read, names="Sex", values="Pclass")

app = Dash(__name__ , title = 'first dashboard')
app.layout = dcc.Graph(figure = fig)

if __name__ == "__main__":
app.run_server(debug = True)