Posts by Viviane Alves Lima • 41 points
5 posts
-
1
votes1
answer1192
viewsQ: Conversion of Object to float
I have a dataframe with a column with values: 0 411,90 1 394,88 2 0,01 3 0,01 In a csv file, all the columns of my df have 'Object' typing, when I try to convert the columns that have values like…
pandasasked Viviane Alves Lima 41 -
0
votes1
answer74
viewsQ: assembling 3 dataframes
I created the function below that returns me three data frames: def top_share(x, y, z): x['SHARE-N'] = x.SHARE_VALOR y['SHARE-P'] = y.SHARE_VALOR z['SHARE-3C'] = z.SHARE_VALOR x_top = x[['DESC',…
pythonasked Viviane Alves Lima 41 -
0
votes2
answers256
viewsA: Convert string to date
Correct answer: date = datetime.datetime.strptime(str_date, '%b/%y').date().strftime('%b-%y')
-
3
votes2
answers256
viewsQ: Convert string to date
I have a date frame whose column that shows me the date has the format 'nov/19' and it’s an Object, I need to convert it to the date format. I know that in the documentation of datetime it is said…
-
-2
votes1
answer658
viewsQ: SQL Server does not connect to SQL Management Studio
Guys, I’m just coming here because I’ve tried everything, all the steps on the Microsoft site for this kind of problem I’ve tried, downloaded SQL Server 2017 and later downloaded Microsoft SQL…