9. Data files#
Often in nanobiology, you need to work with data. Data files can originate from (your) experiments or you may want to extract useful information from data files downloaded from online databases such as UniProt. Note that it’s also possible to directly access data from many databases within Python using specific packages and commands, but this is outside of our current scope.
In this chapter, we will learn how to get data from files into Python, and how to modify the data into a format that we need for subsequent analyses or plotting.