I love fancy machine learning algorithms as much as anyone. But sometimes, you just need to count things. And Python’s built-in data structures make this really easy. Let’s say we have a list of strings: With a list like this, you might care about a few different counts. What’s the count of all items? What’s ... Read more
The post Basic Counting in Python appeared first on jbencook.
from Planet SciPy
read more
No comments:
Post a Comment