earn the White PyBites Ninja earn the Yellow PyBites Ninja earn the Orange PyBites Ninja right arrow earn more PyBites Ninja belts and certificates
The best way to learn to code in Python is to actually use the language.

Our platform offers effective Test Driven Learning which will be key to your progress.


Join thousands of Pythonistas and start coding!


Join us on our PyBites Platform
Click here to code!

Automating PyBites Review Post Using Github API and collections.defaultdict

Posted by Bob on Tue 13 November 2018 in Data • Tagged with collections, defaultdict, re, regular expressions, requests, challenges, review post, parsing, string manipulation, github, API • 4 min read

In this post I share a quick script I produced last week to automate a portion of our review post. There are some nice idioms that you might find useful.


Continue reading

Data Analysis of Pybites Community Branch Activity

Posted by Martin Uribe on Thu 18 October 2018 in Data • Tagged with data analysis, community, matplotlib, seaborn, dateutil, pathlib, collections, json, code challenges, numpy, pandas, requests • 15 min read

I wanted to play around with a dataset and see what I could find out about it. I decided on analyzing the little bit of data that I could collect from Github without having to use an OAuth key, which limits it to just 300 events. If you want to follow along with my notebook check out the instructions here. This notebook was my submission for Code Challenge 47 - PyBites First Year in Data (Special).


Continue reading

Using Pandas and Seaborn to solve PyBites Marvel Challenge

Posted by Martin Smith on Thu 07 December 2017 in Data • Tagged with Pandas, Seaborn, data analysis, Marvel, Comicsm, challenge, guest • 18 min read

Today we have Martin Smith show us how he used Pandas and Seaborn to solve our Marvel Comics Challenge. Take it away Martin!


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 • 12 min read

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

Read the stdlib: deque

Posted by Bob on Wed 21 December 2016 in Data • Tagged with collections, data structures, performance, stdlib, deque • 2 min read

Use collections.deque to rotate letters in string (or elements in list). It has a native method which performs faster too.


Continue reading