Skip to content
This repository has been archived by the owner on Oct 9, 2023. It is now read-only.

Commit

Permalink
added .csv image loading utils
Browse files Browse the repository at this point in the history
  • Loading branch information
williamFalcon committed Feb 14, 2021
1 parent 70b42a9 commit 3a07e7d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flash/data/data_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import pandas as pd


def labels_from_categorical_csv(csv: str, index_col: str, return_dict: dict = True) -> Union[Dict, List]:
def labels_from_categorical_csv(csv: str, index_col: str, return_dict: bool = True) -> Union[Dict, List]:
"""
Returns a dictionary with {index_col: label} for each entry in the csv.
Expand Down

0 comments on commit 3a07e7d

Please sign in to comment.