Options

Memory buffered file

vamyl12vamyl12 Member Posts: 2 Newbie
edited June 2020 in Help

ciao sono davvero un principiante di rapidminer e python ..
sto cercando di collegare il codice python a rapidminer ma non riesco a visualizzarlo, è "MEMORY BUFFERED FILE"
What can i do?
il codice che ho scritto è questo:


lista = []

con open (r'C: \ Users \ VA \ Desktop \ okk.csv ') come file:
    per riga nel file:
        item = int (riga)
        lista.append (voce)
        

risultato = []

per i nell'intervallo (0,1086): 
    a = lista [i-1]
    b = lista [i]
    c = lista [i + 1]
    se b> = a e b> = c:
        risultato.append (b)
stampa (RISULTATO)
def rm_main ():
    ritorno risultato
Tagged:

Answers

  • Options
    vamyl12vamyl12 Member Posts: 2 Newbie
    edited June 2020
    Hi @mschmitz !! Thank you very much for helping.

    however yes, this is a Python code.

    Could I ask you to show me what you mean by returning a Panda data frame? I'm sorry, I'm really a beginner
Sign In or Register to comment.