Python

Mesa relies on Python, but Python also provides a wide range of tools dedicated to computational science.

[listchildpages aclass=”” ifempty=”No child pages yet” orderby=”title” order=”desc” displayimage=”no”][/listchildpages]

Mode

To find the mode (most frequent observation) on a list:

max(set(list), key=list.count)

where list is the list where you want to search in.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.