Effective Python Outline
programming
Python
effective python
A series of posts about effective Python programming for the intermediate user.
Effective Python: Outline
Contents
No matching items
General Python
- About, goals and objectives; leverage the work of others, use established libraries
- String manipulation and slicing
- Lists and slicing
- Dictionaries
- Sets
- [Strings and Unicode, encode/decode, bytes] (/blog?id=e74df0049a9a03999462358a4a8ad821)
- Regular expressions
- [
zip,enumerate, anditer] (/blog?id=fe68fcd9f6e0a29c6a0f135869403f98) - Standard library packages
- Understanding the help:
argvandkwargs - Established packages (for modeling, graphics)
- [Files:
pathlibandPath] (/blog?id=55fc3ae8fe011350dc764f3b7af5b241) - [Dates] (/blog?id=4f205412b12e4ca84a8f2444fb782aac)
requests,BeautifulSoup, and web-scrapingIPythonand magicipyparallel
Effective Matplotlib
- Work with
axisobjects - Flavors of grid specifications and how they define plot dimensions
- Tight versus constrained layout
- Roll-your-own layouts
- WYSIWYG - except when it isn’t
- Using ticker formatters and locators
- A generic axis formatter and the joy of the engineering format
- Join styles and discrete distributions and percentiles
- Colors
- Fonts
- Using magic
- Three-dimensional plots
Effective pandas
- A test
DataFrame - Embrace the index (xs, loc, iloc, at)
queryfilterconcatgroupbystackandunstackMultiIndexread_csvread_htmland web…- Python introspection with
pandas geopandas