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

Swap itertuples for .values #210

Merged
merged 1 commit into from
Apr 11, 2019
Merged

Swap itertuples for .values #210

merged 1 commit into from
Apr 11, 2019

Conversation

randyzwitch
Copy link
Contributor

Calling .values on a dataframe creates an array, promoted to the common datatype able to hold all the data. This can cause ints to be converted to float and other undesirable behavior.

Intent is just to move from dataframe to an iterable, which itertuples does without changing data representation in a cell

Calling .values on a dataframe creates an array, promoted to the common 
datatype able to hold all the data. This can cause ints to be converted 
to float and other undesirable behavior.

Intent is just to move from dataframe to an iterable, which itertuples 
does, without changing data representation in a cell
@randyzwitch randyzwitch merged commit 5ad20cc into master Apr 11, 2019
@randyzwitch randyzwitch deleted the rz/fixrowwiseitertuple branch April 11, 2019 12:38
randyzwitch added a commit that referenced this pull request Apr 11, 2019
Fixes #209

Calling .values on a dataframe creates an array, promoted to the common datatype able to hold all the data. This can cause ints to be converted to float and other undesirable behavior.

Intent is just to move from dataframe to an iterable, which itertuples does, without changing data representation in a cell

Add integer CPU tests

Test table structure

Switch from testing ints to no nulls

Add integer CPU tests

Test table structure

Switch from testing ints to no nulls

Add integer CPU tests

Test table structure

Switch from testing ints to no nulls

Add integer CPU tests

Test table structure

Switch from testing ints to no nulls

Add integer CPU tests

Test table structure

Switch from testing ints to no nulls

Add integer CPU tests

Test table structure

Switch from testing ints to no nulls

Add integer CPU tests

Test table structure

Switch from testing ints to no nulls

Add integer CPU tests

Add integer CPU tests

Test table structure

Switch from testing ints to no nulls
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.

1 participant