-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
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
DataFrame select:
fails when no rows are selected
#91
Comments
Yes, that's definitely a bug! DataFrame withRows: #(). "a DataFrame(0@0)" |
Same is true for
|
Can I take this up and adding related tests? |
I have created a related issue #92 for it |
But don't work on this issue now, because I want to plan and organize all tasks and issues first. |
Fixed with #100. |
…nOrient_amp_U1 SmallAmp has derived this test from `DataFrameJsonReaderTest>>#testReadFromJsonOrient` by applying some transformations and regenerating its assertions. This test can cover this part: * In `DataFrameJsonReader>> #read:` from 91 to 148: Operation: ReplaceIfTrueReceiverWithTrueOperator Code snippet: `orient = 'auto' ifTrue: [ self inferOrientFromJson: json ]` Dynamic state: {#orient->'auto'} Mutant id: ReplaceIfTrueReceiverWithTrueOperator#DataFrameJsonReader#read:PolyMathOrg#91#148
…nOrient_amp_L8 SmallAmp has derived this test from `DataFrameJsonReaderTest>>#testReadFromJsonOrient` by applying some transformations and regenerating its assertions. This test can cover this part: * In `DataFrameJsonReader>> #read:` from 91 to 148: Operation: ReplaceIfTrueReceiverWithTrueOperator Code snippet: `orient = 'auto' ifTrue: [ self inferOrientFromJson: json ]` Dynamic state: {#orient->'auto'} Mutant id: ReplaceIfTrueReceiverWithTrueOperator#DataFrameJsonReader#read:PolyMathOrg#91#148
…nOrient_amp_U1 SmallAmp has derived this test from `DataFrameJsonReaderTest>>#testReadFromJsonOrient` by applying some transformations and regenerating its assertions. This test can cover this part: * In `DataFrameJsonReader>> #read:` from 91 to 148: Operation: ReplaceIfTrueReceiverWithTrueOperator Code snippet: `orient = 'auto' ifTrue: [ self inferOrientFromJson: json ]` Dynamic state: {#orient->'auto'} Mutant id: ReplaceIfTrueReceiverWithTrueOperator#DataFrameJsonReader#read:PolyMathOrg#91#148
…nOrient_amp_N1 SmallAmp has derived this test from `DataFrameJsonReaderTest>>#testReadFromJsonOrient` by applying some transformations and regenerating its assertions. This test can cover this part: * In `DataFrameJsonReader>> #read:` from 91 to 148: Operation: ReplaceIfTrueReceiverWithTrueOperator Code snippet: `orient = 'auto' ifTrue: [ self inferOrientFromJson: json ]` Dynamic state: {#orient->'auto'} Mutant id: ReplaceIfTrueReceiverWithTrueOperator#DataFrameJsonReader#read:PolyMathOrg#91#148
…nOrient_amp_L7 SmallAmp has derived this test from `DataFrameJsonReaderTest>>#testReadFromJsonOrient` by applying some transformations and regenerating its assertions. This test can cover this part: * In `DataFrameJsonReader>> #read:` from 91 to 148: Operation: ReplaceIfTrueReceiverWithTrueOperator Code snippet: `orient = 'auto' ifTrue: [ self inferOrientFromJson: json ]` Dynamic state: {#orient->'auto'} Mutant id: ReplaceIfTrueReceiverWithTrueOperator#DataFrameJsonReader#read:PolyMathOrg#91#148
Running the following block:
leads to
SubscriptOutOfBounds: 1
, due tofirst
inDataFrameInternal withRows:
:Shouldn't it return an empty Dataframe instead?
The text was updated successfully, but these errors were encountered: