Tag: functional

NamedCollection – a Python container for Data Science

NamedCollection – a Python container for Data Science

NamedCollection is a versatile container for Python mixing semantics of list, dictionary and NumPy array/Pandas dataframe in order to provide maximum flexibility for grouping and dispatching common work to selected subsets of variables. Usage example: Alternative construction: Yet another alternative construction: For download please head to GitHub: https://github.com/sadaszewski/named_collection

Yet another Maybe monad for Java

A better one of course – based on cglib’s Enhancer functionality. I wanted to extract some optional elements from an XML file and (if present) assign their contents to fields of my class. In the beginning I started by using try-catch but it soon became unmanageable (and painful to look […]