Skip to content
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

Allow booleans to be any case. #134

Merged
merged 2 commits into from Feb 5, 2021
Merged

Conversation

ctSkennerton
Copy link
Contributor

Other programs output their boolean values in CSV files as uppercase (Excel, R) or sentence case (python). This change makes DataFrameTypeDetector>>canAllBeBoolean less stringent so that any case is accepted.

Other programs output their boolean values as uppercase (Excel, R) or sentence case (python). This change makes DataFrameTypeDetector>>canAllBeBoolean less stringent so that any case is accepted.
Added in a couple of extra tests to make sure that a data series of numbers or of other strings doesn't get detected as a boolean column
@olekscode olekscode merged commit a6457e8 into PolyMathOrg:master Feb 5, 2021
github-actions bot pushed a commit to mabdi/DataFrame that referenced this pull request Mar 24, 2022
…L20_L182

		SmallAmp has derived this test from `DataFrameInternalTest>>#testWithRows` by applying some transformations and regenerating its assertions.
	This test can cover this part:
	*	In `DataFrameInternal class>> #withRows:` from 134 to 134:
		Operation: LiteralIntegersIncreaseOperator
		Code snippet: `0`
		Dynamic state: nil
		Mutant id: LiteralIntegersIncreaseOperator#DataFrameInternal class#withRows:PolyMathOrg#134#134
github-actions bot pushed a commit to mabdi/DataFrame that referenced this pull request Mar 24, 2022
		SmallAmp has derived this test from `DataFrameInternalTest>>#testRowsAt` by applying some transformations and regenerating its assertions.
	This test can cover this part:
	*	In `DataFrameInternal class>> #withRows:` from 134 to 134:
		Operation: LiteralIntegersIncreaseOperator
		Code snippet: `0`
		Dynamic state: nil
		Mutant id: LiteralIntegersIncreaseOperator#DataFrameInternal class#withRows:PolyMathOrg#134#134
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants