Posts by Janio Lima • 11 points
3 posts
-
0
votes2
answers328
viewsA: Select column numpy no for
Good morning! I propose the solution below that eliminates the need for the second loop for and the use of if, because despite the use of for function, the functions of numpy for handling matrices…
-
0
votes1
answer76
viewsA: How do I perform a normalization of curves in python?
Have you ever tried using Scikit-Learn to perform normalization? For this, you can use the class StandardScaler which performs this task as follows: from sklearn.preprocessing import StandardScaler…
-
1
votes1
answer84
viewsA: How to store results of statistical calculations (mean, correlation) for later use in graphs?
To create the y with the desired size just create a listcomp using the code below considering that you are wanting to lock the yas the average of the attribute SG. y = [df['SG'].mean() for k in…