How to add a list to a variable that contains a list and the result use it as a list to extract data from a dataframe with "at"

0

In the variable MARCADOR , LAD and FAD I would like to extract with each cycle for data% DataFrame intersection :

INCREMENTO = np.array([0, 0])

for x in range(self.total_rows):

    MARCADOR = self.intersection.at([0, 0] + INCREMENTO)
    LAD = self.intersection.at([0, 2] + INCREMENTO)
    FAD = self.intersection.at([0, 1] + INCREMENTO)

    INCREMENTO = INCREMENTO + [1, 0]

For example, in the second cycle for for the variable MARCADOR you need to extract the data [1,0] and for the third the [2,0] and so on but I do not know the syntax to add a variable with a list to another list that extracts the data at dataframe with at .

The idea is to plot MARCADOR , FAD and LAD in each cycle for .

Please show me how to do it or indicating where I should look.

    
asked by Juan Pablo 05.09.2018 в 17:59
source

0 answers