Posts by Alex Sandro • 52 points
8 posts
-
0
votes1
answer450
viewsA: Transform dataframe column into INT - Python 3
I found the solution to turn the STR column into INT (dataframe): df_contas_validas['ANO_PROCESSO'] = pd.to_numeric(df_contas_validas['ANO_PROCESSO']) Now it works: df_remove =…
-
-1
votes1
answer450
viewsQ: Transform dataframe column into INT - Python 3
Hello I have this Dataframe, generated from a file (.txt): NUMERO_PROCESSO ANO_PROCESSO TRIBUNAL 0 0010402 2018 18 1 0010758 2014 01 2 0001622 2012 08 3 0020287 2019 04 4 1001446 2018 02 5 0000795…
-
-2
votes3
answers10321
viewsA: select from date in postgresql database
Thus: SELECT * FROM table Where data_interview::date = '2019-10-16'
-
0
votes1
answer1515
viewsA: Angular Material 5 - Mat-Table Sort
I found the solution: the "matColumnDef" should have the same name as the . ts variables - in the example below the "matColumnDef" should be nameEmissor! Part of the code with error:…
angular-materialanswered Alex Sandro 52 -
0
votes1
answer1515
viewsQ: Angular Material 5 - Mat-Table Sort
The Type and Date fields are not ordering in descending order to the user’s command, the code . ts and html is attached: If anyone has an explanation/solution please share. import { Component,…
angular-materialasked Alex Sandro 52 -
0
votes2
answers671
viewsA: Select in Python (with BD: Postgres)
Dear Anderson - I changed the line Conn = psycopg2.connect(host="localhost", dbname='postgres', user='postgres', password=postgres) for: Conn = psycopg2.connect(host="localhost", database='SIPJE',…
-
1
votes2
answers671
viewsQ: Select in Python (with BD: Postgres)
I am unable to select in the Postgresql database. Python 3. conn = psycopg2.connect(host="localhost", dbname='postgres', user='postgres', password=postgres) cur = conn.cursor() cur.execute("select…
-
3
votes1
answer4025
viewsA: What is the difference between the types of Binding in Angular?
There is no correct way to perform Data Binding, each situation can be used the way you want and/or can apply. There are 4 ways: Interpolation: {{ valor }} associates component information to…