Posts by Iuri Moura • 61 points
8 posts
-
0
votes1
answer206
viewsQ: Information an HTML inside a JSON request in PHP
I am developing an integration to send email inside Sendinblue, but in the request it is necessary to send the HTML code of the email and only works if I put " " in front of all double quotes. I…
-
0
votes1
answer287
viewsQ: Handle Response Curl with PHP
I am integrating an email service with Curl and PHP and would like to pick up the answer that comes in this format: { "id": 8 } How do I get the field number ID with PHP?…
-
-1
votes2
answers33
viewsQ: Error Sitaxe PHP query in XML
Hello, I’m looking for a solution to query information within an XML, I found a tutorial on the internet, but the code is with an error that I can not solve. The code is this: <?php # Carrega e…
phpasked Iuri Moura 61 -
3
votes1
answer713
viewsQ: Find most repeated value
I’m trying to analyze some shoe sales data, but I’m having a hard time creating a function to find out which number the customer bought the most in the previous year. I have a table with this data:…
-
1
votes1
answer466
viewsQ: Function to create Column
Hello, I’m trying to create a column using a function, but it’s giving an error, which should be silly to fix, and even so I couldn’t, come on: import pandas as pd import numpy as np import…
pythonasked Iuri Moura 61 -
0
votes2
answers159
viewsA: Indexing error when separating line information
I appreciate the above comments to help me solve the problem, but I have identified here what is happening and now there is another error that I need to solve. The data is like this in fact: import…
-
0
votes2
answers159
viewsQ: Indexing error when separating line information
import pandas as pd import numpy as np import matplotlib as plt df = pd.read_csv('dito_julho.csv') df.head() campanha valor 1 Prospect | 5 dias | Com crédito 2 2 Prospect | 5 dias | Com crédito 5 3…
-
1
votes1
answer3264
viewsQ: Change Column Data using Pandas
I’m trying to learn panda but I’m having a question here I have the following data: PSG CLASS AAA 1 BBB 2 CCC 3 DDD 1 I wanted to create a new column, using Pandas, with the name Class and with the…