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
Describe the bug
The output after slicing does not match the expectation
To Reproduce Steps to reproduce the behavior:
const dfd = require('danfojs-node') let data = { "Name": ["Apples", "Mango", "Banana", "Pear"] , "Count": [21, 5, 30, 10] , "Price": [200, 300, 40, 250] } let df = new dfd.DataFrame(data) let sub_df = df.iloc({rows: ["2:3"], columns: ["0:1"]}) sub_df.print()
The above code gives me the output:
Expected behavior
The output that I get has all the columns. Expected was only the Name column to be shown since I have sliced with "0:1" for columns
"0:1"
Desktop (please complete the following information):
Ubuntu 20.04
The text was updated successfully, but these errors were encountered:
@callmekatootie I will look into it. thanks
Sorry, something went wrong.
Fixes #203 bug in column slicing index generation
aaeadd2
Merge pull request #209 from opensource9ja/fix/col-slicing
ee78805
FIXED: #209
Successfully merging a pull request may close this issue.
Describe the bug
The output after slicing does not match the expectation
To Reproduce
Steps to reproduce the behavior:
The above code gives me the output:
Expected behavior
The output that I get has all the columns. Expected was only the Name column to be shown since I have sliced with
"0:1"
for columnsDesktop (please complete the following information):
Ubuntu 20.04
The text was updated successfully, but these errors were encountered: