Skip to content

Commit

Permalink
Bugfix for NJ date handling with pandas update to 2.1.3 (#159)
Browse files Browse the repository at this point in the history
* In pandas 1.5.3, a date with the format "1995-10-19 00:00:00" could be successfully converted with format string "%Y-%m-%d". Updating to pandas 2.1.3, it seems the string needs to be more specific.

* Updates pandas version to match Inspector
  • Loading branch information
cvcotton authored Nov 28, 2023
1 parent 268e332 commit be1fbd2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions reggie/configs/data/new_jersey2.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ birthday_identifier: dob
date_format:
- "%m/%d/%y"
- "%Y-%m-%d"
- "%Y-%m-%d %H:%M:%S"
voter_status: status
voter_status_active: Active
voter_status_inactive: Inactive
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ click>=7.1.2
detect_delimiter>=0.1.1
numpy>=1.19.2
openpyxl>=3.0.5
pandas>=0.23.1
pandas>=2.1.3
pytest>=6.0.0
python-slugify>=4.0.1
PyYAML>=5.3.1
Expand Down

0 comments on commit be1fbd2

Please sign in to comment.