Posts by A. Antunes • 25 points
2 posts
-
0
votes1
answer454
viewsQ: Insert values to a 3D numpy array
Hello. I created the following array numpy as below: import numpy as np x = [350, 500, 800, 900, 1000] y = [1100, 900, 1250, 650, 1200] z = [50, 150, 300, 200, 500] arr_2d = np.array(list(zip(x,…
-
2
votes1
answer338
viewsQ: Signal change of values in Pandas Dataframe
Hello, good night. I have a set of vectors whose components (px, py and Pz) are stored in a Dataframe Pandas. I wrote a function whose goal is to change the signal of the components of the vectors…