The Altair Community is migrating to a new platform to provide a better experience for you. In preparation for the migration, the Altair Community is on read-only mode from October 28 - November 6, 2024. Technical support via cases will continue to work as is. For any urgent requests from Students/Faculty members, please submit the form linked here

Memory buffered file

vamyl12vamyl12 Member Posts: 2 Learner I
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

  • vamyl12vamyl12 Member Posts: 2 Learner I
    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.