The most common kind, and also the most underestimated. Reading an Excel file looks like a five-minute job, and for a tidy file that's true. The problems start when the file was made by a person.
CSV is plain text with delimiters. The pitfalls: the delimiter may be a semicolon or a tab rather than a comma; the same characters turn up inside values; line breaks hide in the middle of a field. It is read with the language's standard tools or with pandas, which handles most dialects on its own.
Excel (XLSX, XLS) is the most temperamental format, because it isn't a data table but a canvas to draw on. Merged cells, a header spread over three rows, a product and its SKU on different levels, numbers saved as text, blank separator rows between sections. It is parsed with openpyxl or pandas, but most of the work goes not into reading but into restoring the structure the author kept in their head.
XML and JSON were designed for machines, and they are usually the easiest: the structure is stated explicitly. XML is read with lxml, JSON with the language's standard tools. The difficulty comes with large volumes: a file of several gigabytes can't be loaded into memory in one go, so it is parsed as a stream, one element at a time.
PDF is a format for printing, not for data. It has no rows or columns, only characters with coordinates on the page. A table is "visible" to a human only because the characters are lined up. Libraries such as pdfplumber and PyMuPDF rebuild the structure from those coordinates, and on tidy documents this works well.
DBF is a legacy of FoxPro and old accounting systems, and it still turns up in data exchange with accounting and the warehouse. It is read with specialised libraries; the main difficulty is the encoding, which we cover below.
Logs are text files whose lines all follow one format. They are parsed with regular expressions, and the main work here is not reading but aggregation: counting, grouping, finding anomalies.