We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hello everyone, I'm experiencing what I believe is a bug, but since I'm a Javascript newbie, it could be me...
I'm trying to pull out row by row from a dataframe, after having populated it from a CSV:
dfd.read_csv('http://localhost:8000/claroty_ngrams.csv') .then(df => { var test = df.iloc({rows: [1], columns: [1]}) test.print() }).catch(err => { console.log(err); });
This is returning a weird error:
TypeError: t.columns[0].includes is not a function
The df DataFrame has 144 rows and 5 columns...
The suggested solution from #175:
let sub_df = df.iloc({ rows: [":1"], columns: [":1"] })
Triggers the following error:
Column length mismatch. You provided a column of length 1 but data has length of 3
Thanks!
The text was updated successfully, but these errors were encountered:
@db1981 Sorry for the late reply. The problem is the file path you passed to read_csv. The file path should be absolute or relative paths, not URLs.
Sorry, something went wrong.
No branches or pull requests
Hello everyone,
I'm experiencing what I believe is a bug, but since I'm a Javascript newbie, it could be me...
I'm trying to pull out row by row from a dataframe, after having populated it from a CSV:
This is returning a weird error:
TypeError: t.columns[0].includes is not a function
The df DataFrame has 144 rows and 5 columns...
The suggested solution from #175:
let sub_df = df.iloc({ rows: [":1"], columns: [":1"] })
Triggers the following error:
Column length mismatch. You provided a column of length 1 but data has length of 3
Thanks!
The text was updated successfully, but these errors were encountered: