[Python] My Python code takes a long time to run and nothing happens [closed]

Discussão em 'Python' iniciado por Stack, Fevereiro 14, 2025.

  1. Stack

    Stack Membro Participativo

    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)

    Continue reading...

Compartilhe esta Página