Skip to content

Commit

Permalink
Remove unneeded code
Browse files Browse the repository at this point in the history
  • Loading branch information
hagenw committed May 30, 2024
1 parent 90089ec commit 501dd06
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions audformat/core/table.py
Original file line number Diff line number Diff line change
Expand Up @@ -847,11 +847,6 @@ def _load_csv(self, path: str):
float_precision="round_trip",
)

# Ensure bool values are stored as boolean,
# as pandas.read_csv()
# does not set this correctly
df.index = utils._maybe_convert_pandas_dtype(df.index)

# For an empty CSV file
# converters will not set the correct dtype
# and we need to correct it manually
Expand Down

0 comments on commit 501dd06

Please sign in to comment.