Questions tagged as 'data'

0
answers

Add user events in dif columns

My idea is to move on from this df2 = pd.DataFrame({'usuario': [1,1,1,2,2,2,3,3,3,3,3], 'evento': ["compro","compro","viopag","viopag","entropag","compro","entropag", "compro","salio","viopag...
asked by 24.11.2018 / 13:29
0
answers

Impose conditions when adjusting a curve

I am trying to fit a series of points to a function of the form f(A)=a·(1-exp(-21.6·A))+b·A+c·A^2+d·A^3 . I want this function to satisfy the condition% co_of%, then, since% co_of% is small, I approximate this condition as% co_of%. The...
asked by 23.11.2018 / 12:29
2
answers

Group Array by matches

My question goes first because I am developing a project where I need to list the medications associated with a medical formula, but after saving the data when I visualize them, I repeat the heading of the formula multiple times, for which I nee...
asked by 23.10.2018 / 07:39
0
answers

How can I send information from one form to another FLASK route?

What I want to do is a program that uses a form to receive data to perform some functions in python code, until here everything is fine, my problem is that if I want to print the result on my web page, I have to have saved the values in cache, b...
asked by 24.09.2018 / 02:40
0
answers

Show Schedule saved in BD in DateTimePikcer when opening Modal?

Hello, I have a question for more than I search the internet I can not find a solution to my problem, in my interface I have a table that contains two columns of Start Time and End Time! and when I give it to edit it opens the modal and sends me...
asked by 10.08.2018 / 19:56
0
answers

Timeout in Web Activity in Azure Data Factory

When performing a web activity in Azure Data Factory, if it takes more than 1 minute to send the response, it gives an error. Is there any way to increase that timeout ? Thanks     
asked by 24.07.2018 / 16:36
1
answer

Read URL every 60 seconds in Python

I want this URL every 60 seconds, I have this code. The URL brings me data of actions import requests url="https:XXXXXXXXXXXXXXX" r = requests.get(url) text = r.text print (text) How can I do a function to read it to me every 60 seconds?...
asked by 14.07.2018 / 17:07
1
answer

Error in CSV file, Python

I want to read a file on my PC but I get an error, maybe you can help me import numpy as np import csv import logging csvFile = 'C:/Users/Usuario/Desktop/house/GFG.csv' def __init__(self, _data=csvFile, _shortTerm=10, _longTerm=15): s...
asked by 12.06.2018 / 22:52
0
answers

From RangeIndex to DatetimeIndex

I am analyzing the time series of an action (historical from 2000 to 2018) df.index Out[179]: RangeIndex(start=0, stop=4309, step=1) df.info [4309 rows x 5 columns]> type(df) Out[178]: pandas.core.frame.DataFrame I want to be able to b...
asked by 03.06.2018 / 12:51
0
answers

New column in pandas:

import pandas as pd df = pd.read_csv("C:/Users/Usuario/Desktop/algotrade/GFG.csv", sep=";", parse_dates=["Date"],dayfirst=True,index_col='Date') df.head(10) Out[131]: Open High Low Close Volume Date...
asked by 05.06.2018 / 17:10