tompollard / tableone

Create "Table 1" for research papers in Python
https://pypi.python.org/pypi/tableone/
MIT License
161 stars 38 forks source link

test that input dataset is not modified #40

Closed tompollard closed 6 years ago

tompollard commented 6 years ago

add test (if it doesn't exist already) for checking that the input dataset isn't modified.

alistairewj commented 6 years ago

there is a test here: https://github.com/tompollard/tableone/commit/b1d9c5136688e945c3131a04de0af25505d25a2b

only really tests that the coercion of values to numeric does not modify the original dataset

tompollard commented 6 years ago

Several more checks added in https://github.com/tompollard/tableone/pull/42/files