[Python] ValueError: No axis named 1 for object type <class 'pandas.core.series.Series'>

Discussão em 'Python' iniciado por Stack, Março 25, 2025.

  1. Stack

    Stack Membro Participativo

    I´m new to programming. I´m trying to use scipy minimize, had several issues and gotten through most of them.

    Right now this is the code, but I'm not understanding why I´m getting this error.

    par_opt = so.minimize(fun=fun_obj, x0=par_ini, method='Nelder-Mead', args=[series_pt_cal, dt, series_caudal_cal])

    Continue reading...

Compartilhe esta Página