On this page
article
Converting your traditional code to ECiDA code
Follow this reference if you have existing code you would like to run on ECiDA.
Converting your traditional code to ECiDA code
Traditional I/O | ECiDA Equivalent |
---|---|
pd.read_csv("file.csv") |
pd.read_csv(StringIO(M.pull("input-name"))) |
df.to_csv("output.csv") |
M.push("output-name", df.to_csv(index=False)) |
with open("file.txt", "r") as f: ... |
text_data = M.pull("input-name") |
with open("output.txt", "w") as f: ... |
M.push("output-name", text_output) |