Posts by Edi • 71 points
4 posts
-
0
votes1
answer83
viewsQ: Unable to convert string to float
I am trying to run a classification model and I am getting the feedback that it is not possible to convert string to float in the predictive variables. When I give a dtypes I see that all variables…
-
0
votes1
answer5443
viewsQ: Convert str(Object) to int (python)
I have a dataset with two columns and would like to create a third column called Ranking that will receive values based on the Brand column. So Mark A will receive the value 10 and so on. df =…
-
1
votes1
answer121
viewsQ: Manipulation of Dataframe in R
I have the dataset as per the figure. I need to name the Mes column where it is 1 is January, 2 February and so on. I still need to group by type of expense and add the reimbursed amount. The idea…
-
6
votes5
answers21141
viewsQ: What is the functionality of n?
I’m learning to program in Python and some basic things still confuse me, for example this question I asked. What is the use of n?