🎉Community Raffle - Win $25

An exclusive raffle opportunity for active members like you! Complete your profile, answer questions and get your first accepted badge to enter the raffle.
Join and Win

Memory buffered file

User: "vamyl12"
New Altair Community Member
Updated by Jocelyn

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

Find more posts tagged with

Sort by:
1 - 2 of 21
    Hi,
    this does not look like proper python code? Or is there an italian version of python?

    In any case: Please make sure you return a pandas dataframe, not a list.

    Best,
    Martin
    User: "vamyl12"
    New Altair Community Member
    OP
    Updated by vamyl12
    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