Posts by Guilherme Farias • 33 points
5 posts
-
0
votes1
answer26
viewsA: Wrong value when creating dataframe
I gave a better study and managed to solve. Thank you and sorry for anything. I applied: pd.set_option('display.float_format', '{:.2f}'.format)
-
-1
votes1
answer26
viewsQ: Wrong value when creating dataframe
I’m looking to create a dataframe with 2 columns - meses and valor. Only the values of the value column are coming wrong. Showing step by step what I am doing: Sum the total of each month of other…
-
1
votes3
answers227
viewsQ: Lambda python function
I’m trying to do a python lambda function that finds the largest element in a list that has length N. If you make the following code, you’d be right? maior = reduce((lambda x,y: x if (x > y) eles…
-
-1
votes2
answers85
viewsQ: Analyze Data with python
I have a cvs file with two columns, one of a month (January, February, etc.) and another with value (relative to each month), and I want to create a graph (of bars for example), but gives the…
pythonasked Guilherme Farias 33 -
1
votes0
answers75
viewsQ: Postgresql connection to Django
Good afternoon, I’m having a problem connecting Django with Postgresql I installed psycopg2 on Jango, changed the connection in Settings.py to connect with postgre and when I give the runserver it…