July 2016
Beginner to intermediate
462 pages
9h 14m
English
The pandas library has more than a dozen configuration options, as described in http://pandas.pydata.org/pandas-docs/dev/options.html (retrieved July 2015).
The pandas library is Python open source software originally created for econometric data analysis. It uses data structures inspired by the R programming language.
You can set and get properties using dotted notation or via functions. It is also possible to reset options to defaults and get information about them. The option_context() function allows you to limit the scope of the option to a context using the Python with statement. In this recipe, I will demonstrate pandas configuration and a simple API to set and reset options I find useful. The two options are precision ...