Skip to content

Commit

Permalink
fix: include 0 and 1 as truth values as before
Browse files Browse the repository at this point in the history
  • Loading branch information
Midnighter committed Jan 8, 2024
1 parent 4564ad0 commit 329a332
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/memote/experimental/tabular.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@
def read_tabular(
filename,
dtype_conversion=None,
truthy=("yes", "Yes", "YES"),
falsy=("no", "No", "NO"),
truthy=("yes", "Yes", "YES", "1"),
falsy=("no", "No", "NO", "0"),
):
"""
Read a tabular data file which can be CSV, TSV, XLS or XLSX.
Expand Down

0 comments on commit 329a332

Please sign in to comment.