Open Ellis-808 opened 3 years ago
Small issue but the documentation hosted here: https://stratodem.github.io/pandas.js-docs/#code-dataframe-iterrows-code does not show the proper use of df.iterrows().
Should be: (this worked for me after some trial and error) for(const [row,idx] of **df.iterrows()**) { console.log("INDEX:", idx); console.log("ROW:", row); console.log(row.get('x') * 2); }
for(const [row,idx] of **df.iterrows()**) { console.log("INDEX:", idx); console.log("ROW:", row); console.log(row.get('x') * 2); }
Small issue but the documentation hosted here: https://stratodem.github.io/pandas.js-docs/#code-dataframe-iterrows-code does not show the proper use of df.iterrows().
Should be: (this worked for me after some trial and error)
for(const [row,idx] of **df.iterrows()**) { console.log("INDEX:", idx); console.log("ROW:", row); console.log(row.get('x') * 2); }