Articles in the file formats tag

Numpy Files


This is part of a series on data storage with Python.

In this post, we'll be covering .npy and .npz files. NumPy is short for "Numerical Python", which is the library for handling arrays in Python.

Let's suppose that we have some dataset which consists of one million random 64-bit …

CSV Files


This is part of a series on data storage with Python.

In this post, we'll be covering .csv files. CSV stands for comma-separated values. If you've ever worked with spreadsheets, you know what these are.

CSV files are ideal for saving data that you may have taken by hand and …

JSON Files


This is part of a series on data storage with Python.

In this post, we'll be covering .json files. JSON stands for JavaScript Object Notation. This is the format that a lot of data is passed around on the internet, and is an extremely common way of storing information in …

YAML Files


This is part of a series on data storage with Python.

In this post, we'll be covering .yaml files. YAML stands for "YAML Aint Markup Language", and it's a nice way for humans to read and edit several properties of some thing (e.g., an experiment, a piece of hardware …

Text Files


This is part of a series on data storage with Python.

In this post, we'll be covering plain .txt files. This is the most generic way to store data as it is very easy to edit (using any text editor), but it is also the least structured. Text files are …