5 tips to speed up your Python code

Posted by Bob on Tue 21 February 2017 in Best practices • Tagged with performance, data structures, pythonic, generators, map, builtin, algorithms, regex, patterns

In this post I will give you 5 tips to speed up your code.


Continue reading

Code Challenge 07 - Twitter data analysis Part 3: sentiment analysis

Posted by PyBites on Mon 20 February 2017 in Challenges • Tagged with codechallenges, learning, pypi, prediction

A new week, more coding! In this challenge you will do a sentiment analysis of a recently released movie, is it well received or not?


Continue reading

Twitter digest 2017 week 07

Posted by PyBites on Sat 18 February 2017 in Digest • Tagged with twitter, news, podcasts, 3.6, functional programming, 2vs3, git, github, guido, oop, namedtuples, algorithms, refactoring

On Saturdays we will share a curated list of 15 cool things (mostly Python) we found / tweeted during the week.


Continue reading

Code Challenge 06 - When does PyPI reach 100K packages? - review

Posted by PyBites on Fri 17 February 2017 in Challenges • Tagged with codechallenges, code review, learning, pypi, prediction, scipy, numpy, matplotlib

It's end of the week again so we review the code challenge of this week. It's never late to sign up, just fork our challenges repo and start coding.


Continue reading

How to Order Dict Output in Python

Posted by Julian on Thu 16 February 2017 in Tips • Tagged with python, tips, tricks, code, pybites, dicts, data structures

Learn how to order the output of a Python Dict


Continue reading

Shelve It!

Posted by Julian on Tue 14 February 2017 in Learning • Tagged with shelve, python, tips, tricks, code, pybites, database

Shelve basics and a question on how best to manage importing the DB.


Continue reading

Code Challenge 06 - When does PyPI reach 100K packages?

Posted by PyBites on Mon 13 February 2017 in Challenges • Tagged with codechallenges, learning, pypi, prediction

A new week, more coding! In this challenge you will make a prediction when PyPI will reach the 100.000 packages milestone.


Continue reading

Twitter digest 2017 week 06

Posted by PyBites on Sat 11 February 2017 in Digest • Tagged with twitter, news, podcasts, Excel, Django, k-means, iterators, magicmethods, lambda

On Saturdays we will share a curated list of 15 cool things (mostly Python) we found / tweeted during the week.


Continue reading

Code Challenge 05 - Twitter data analysis Part 2: similar tweeters - review

Posted by PyBites on Fri 10 February 2017 in Challenges • Tagged with codechallenges, code review, learning, nlp, Twitter, twitterapi, gensim, nltk

It's end of the week again so we review the code challenge of this week. It's never late to sign up, just fork our challenges repo and start coding.


Continue reading

Visualizing website and social media metrics with matplotlib [notebook]

Posted by Bob on Wed 08 February 2017 in Data • Tagged with matplotlib, visualization, histogram, jupyter, data analysis, data science, socialmedia, googletrends

in this notebook i use matplotlib.pyplot to create simple yet powerful visualizations of pybites twitter activity, our blog's tag usage and our website traffic. Lastly I use Google trends to see popularity of various social media.


Continue reading