Popular recipes by N N http://code.activestate.com/recipes/users/1639254/2011-02-07T15:38:09-08:00ActiveState Code RecipesAggregates using groupby, defaultdict and Counter (Python)
2011-02-07T15:38:09-08:00N Nhttp://code.activestate.com/recipes/users/1639254/http://code.activestate.com/recipes/577535-aggregates-using-groupby-defaultdict-and-counter/
<p style="color: grey">
Python
recipe 577535
by <a href="/recipes/users/1639254/">N N</a>
(<a href="/recipes/tags/algorithms/">algorithms</a>).
Revision 2.
</p>
<p>How to emulate SQL aggregate functions AVG, COUNT, MAX, MIN and SUM on csv type data files using tools from the standard library.</p>
Very Simple Delimiter Separated Values File Reader Generator (Python)
2007-12-17T20:59:24-08:00N Nhttp://code.activestate.com/recipes/users/1639254/http://code.activestate.com/recipes/535172-very-simple-delimiter-separated-values-file-reader/
<p style="color: grey">
Python
recipe 535172
by <a href="/recipes/users/1639254/">N N</a>
(<a href="/recipes/tags/files/">files</a>).
</p>
<p>This is a bare-bones reader generator for file processing of typical Unix style configuration and data files.</p>
return element of list if it exists (Python)
2004-02-16T14:29:46-08:00N Nhttp://code.activestate.com/recipes/users/1639254/http://code.activestate.com/recipes/269484-return-element-of-list-if-it-exists/
<p style="color: grey">
Python
recipe 269484
by <a href="/recipes/users/1639254/">N N</a>
(<a href="/recipes/tags/shortcuts/">shortcuts</a>).
</p>
<p>'.get()' functionality of mappings for sequences</p>