quara.utils.file_util module

check_file_extension(path)[source]

check if the file extension is csv.

Parameters

path (str) – the file path to check.

Raises

ValueError – the file extension is not csv.

Return type

None