Posts by Bruno Machado • 37 points
5 posts
-
0
votes1
answer16
viewsQ: Python Pandas - Insert list items in order in a column
That’s the kind of doubt that gets hard to even explain, but let’s try. Follows the code: data = {"Id": ["01", "02", "03", "04",'05'],"Fruta":…
-
1
votes1
answer21
viewsQ: Python Pandas - Conditional partial dataframe string
I have the following situation: I own a dataframe: data = {"Id": ["01", "02", "03", "04",'05'],"Fruta": ['Maçã','Abacaxi','Banana','Laranja','Morango']} base_dados = pd.DataFrame(data)…
-
1
votes2
answers48
viewsQ: Return rows from a dataframe that are not in another dataframe
Basically, I have a Dataframe (Database) that contains all the data registered in my system: data = {"Id": ["01", "02", "03", "04",'05'],"Fruta": ['Maçã','Abacaxi','Banana','Laranja','Morango']}…
-
-2
votes1
answer56
viewsQ: Doubt about finding information in the database
I’m trying to make a simple system of login, would like the system to check the logins that are already registered in the database, so that you have no more than one equal registered. I am using the…
-
0
votes0
answers16
viewsQ: Doubt about if, Elif and Else
Good morning/late/evening I started to venture into the recent python and was making a code for a simple calculator exercise. print('Calculadora simples') def calculadora(): x1 = int(input('Digite o…