Comments (7)
How did this csv file end up with floats in it - was it created by populationsim? (If so, then we should fix that bug?)
Or was it user pilot error? (In which case, there are probably lots of places that could happen and we should talk about whether this is an eventuality that we should allow generally - because it doesn't make sense to just fix it in one place and not otehrs...)
from populationsim.
This is a user created input file. I think we should check for this issue at the beginning when we read in inputs.
from populationsim.
For every field in every file that ought to have integers? Do we check to make sure it was a float int and not a float that will be rounded/truncated (in which case maybe it is an error?)
Just wondering why we are fixing this particular random bad input?
from populationsim.
We don't have to fix bad data, but I think we should catch bad data / do more error checking / add more informative error messages / etc. It took me quite some time to figure this out and I'm pretty familiar with PopulationSim.
from populationsim.
Might as well address it opportunistically then - but we should throw an error if the values change when coerced to ints.
from populationsim.
sounds good
from populationsim.
This is also true for the geo crosswalk file as well - the data needs to be ints. We should fix this.
from populationsim.
Related Issues (20)
- repop mode can also start from CSV files instead of one HDF5 file
- conda no longer free for organizations > 200 employees HOT 1
- Bug: populationsim.util does not exist HOT 3
- repop-pop-pop feature - pipeline file is not updated HOT 2
- Convert distribution system to conda-forge HOT 1
- add to documentation based on Zephyr review
- Different outputs when using MultiProcessing HOT 9
- Installation process issues HOT 3
- example_calm_repop not running HOT 8
- Repop mode not populating the second level geography (example_calm_repop)
- Allow specification of non-boolean expressions HOT 1
- Running Error: ValueError("Lengths must match to compare")
- Running Error: Lengths must match to compare on "integerize_final_seed_weights'" HOT 9
- Adjust a third party synthetic population HOT 8
- WGTP and PWGTP Calculations HOT 6
- NumPy deprecation HOT 1
- ValueError: Buffer dtype mismatch, expected 'const int64_t' but got 'int' in setup_data_structures.py HOT 1
- ValueError exception running sub_balancing.geography=TRACT model: Length of values (2) does not match length of index (37) HOT 8
- Repop Error HOT 1
- Multiprocessing Start_time Error
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from populationsim.