Posts by Nicolas Vieira • 113 points
5 posts
-
2
votes1
answer2384
viewsA: Add two or more covariables to the R
Fabiel, For this condition, there is a calling package of reshape2 that assists you with the melt function. install.packages("reshape2") For this case, I will use the dataset included in RSTUDIO…
-
0
votes1
answer127
viewsA: Does Command Project Standard have no Python purpose?
Well, I will contribute with the little experience I have, because I have seen in very few cases this type of design, due to the little need of it (as already mentioned by Jefferson). At first,…
-
0
votes3
answers1276
viewsA: code to return divisors and compare common ones
Ana, To receive two values, one must either consider N as a list of integers, or receive two arguments in the function signature, such as: def divisores(num1, num2): Although your procedure works,…
-
1
votes1
answer72
viewsA: Problem with weighted average logic
The logic is partially correct. I frankly prefer to multiply all the weights already in decimal places. The error in logic is here: df.format(((soma_1 + soma_2) / (peso_1 + peso_2))) It is necessary…
-
2
votes1
answer279
viewsA: Encodings do not work in an Opencv file in Python 3
As far as I know, there is no implementation in the Puttext function for Unicode support and special characters, so the problem is not with python. A widely used feature, however, for this and other…