python - multiple iteration using dataframes to perform calculations -


I am quite new to Python.

How do I do many repetitions with dataframes in pandals

I have 8760 values ​​of sun zero values ​​----> theta_z
8760 values ​​of sun azimuth values ----> theta_a

Now I have to repeat for two conditions

1) Panel tilting (0-90) ---> theta_t
2) Panel Azimuth (0-360) -----> theta_azi

I have to show (computation for I = 0, i & lt)

  x = arccos ( Cos (theta_z) * cos (theta_t) + sin (theta_z) * sin (theta_t) * cos (theta_a-theta_azi)) (k = 0, k & amp; 91; k = k + 1) x =. ...  

Instead of using the loops below, how can I move into pandas If I do them as separate dataframes for each. I need to get 8760 x 361 x 91 value or 361 x 91 sets of 8760 values.


Comments

Popular posts from this blog

ios - How do I use CFArrayRef in Swift? -

eclipse plugin - Run java code error: Workspace is closed -

c - Error on building source code in VC 6 -