pylhc / omc3

Python 3 codes for beam optics measurements and corrections in circular particle accelerators

Home Page:https://pylhc.github.io/omc3/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Speed up calculations with pandas in Harpy

lmalina opened this issue · comments

It much faster to do:
dataframe.iloc[:,:]=dataframe.iloc[:,:].to_numpy() * number
than
dataframe = dataframe * number