rippinrobr / baseball-stats-db

Tools to help create and maintain databases based on the Baseball Databank Files
Apache License 2.0
10 stars 2 forks source link

Loading 2017 Baseball Databank `FieldingOFsplit.csv.csv` throws an error #15

Closed rippinrobr closed 6 years ago

rippinrobr commented 6 years ago

There was an error while attempting to parse and storethe file /Users/robertrowe/src/baseballdatabank/core/FieldingOFsplit.csv Error: line 25848, column 10: strconv.ParseInt: parsing "29.0": invalid syntax

Column 10 is the putouts column which is an int and not a float.

rippinrobr commented 6 years ago

changed the following properties from int to float32:

All should be integers but the maintainers of the baseball databank repo have let this data in as floats.