convert_filetype#

convert_filetype(filepath, convert_to, **kwargs)[source]#

Convert the file extension from one format to another

Return type:

None

Parameters:
  • filepath – pathlib.Path object with the path to the file to convert

  • convert_to – str extension of the file format to convert to

  • **kwargs – keyword arguments needed to read the file

Returns:

None