Newbie Bite 14. Functions
|
|
Here we go, the big one. Functions! This is where …
3.10
functions
newbie
|
|
Newbie Bite 15. Functions part II
|
|
Functions can be kind of tricky to start off with …
3.10
functions
newbie
|
|
Newbie Bite 25. Calling a function
|
|
The last Bite! Let's actually use what we've created by …
3.10
functions
newbie
|
|
Newbie Bite 29. Default Arguments
|
|
In this Bite, we are going to explore the concept …
3.10
arguments
functions
newbie
|
|
Newbie Bite 45. Exceptions
|
|
In this Bite, we introduce you to the essentials of …
3.10
error handling
exceptions
functions
newbie
|
|
Bite 6. PyBites Die Hard
|
|
Given a listing of files for our community branch, determine: …
3.10
Counter
file processing
generators
namedtuple
|
|
Bite 35. Having fun with heapq
|
|
In this Bite you are provided with 3 data structures: …
3.10
datetime
heapq
|
|
Bite 38. Using ElementTree to parse XML
|
|
In this Bite you will use ElementTree to parse some …
3.10
movie data
xml
|
|
Bite 62. Data structures matter - speed up your Python code
|
|
In this Bite we provide you with 5 functions which …
3.10
data structures
performance
|
|
Bite 69. Regex Fun - part II
|
|
It's time for another Regex one! (here is part I) …
3.10
re
regular expressions
|
|
Bite 76. The singledispatch countdown challenge
|
|
We are stoked and grateful to have Martin have you …
3.10
decorators
functools
singledispatch
|
|
Bite 81. Filter and order tweets by polarity values
|
|
In this Bite we collected some random tweets and populated …
3.10
namedtuple
TextBlob
Twitter
|
|
Bite 94. Parse PyCon talk data from YouTube
|
|
PyCon2018 was awesome! But you clearly had to choose the …
3.10
list comprehensions
max
namedtuple
|
|
Bite 124. Marvel data analysis
|
|
This is a simplified version of our Marvel Data Analysis we …
3.10
Counter
csv
data analysis
list comprehensions
rounding
sum
|
|
Bite 126. The Emoji (Unicode) Bite
|
|
Python 3 supports Unicode so we can do cool stuff …
3.10
emojis
sys
unicode
|
|
Bite 129. Analyze Stock Data
|
|
In this Bite we will answer some questions about stocks, …
3.10
counting
data analysis
json
requests
sorting
string manipulation
|
|
Bite 135. Sort a list of book objects
|
|
In this Bite you are going to look at a …
3.10
attrgetter
datetime
lambda
list
namedtuple
operator
sorting
|
|
Bite 142. Exception Handling: Calculate the Winning Player
|
|
Complete the two functions below: calculate_score takes a list of …
3.10
exception handling
namedtuple
numbers
|
|
Bite 172. Having fun with Python Partials
|
|
Meet another gem in the standard library: functools, which contains …
3.10
functools
partial
rounding
|
|
Bite 183. Analyze sales data with pandas
|
|
For this Bite we got some fake Excel sales data …
3.10
data analysis
groupby
pandas
|
|
Bite 195. Analyze NBA Data with sqlite3
|
|
In this Bite you are going to use sqlite3! We …
3.10
data analysis
databases
SQL
sqlite3
|
|
Bite 200. 🥳 Minecraft Enchantable Items
|
|
My kids love Minecraft and they always want me to …
3.10
beautifulsoup
web scraping
|
|
Bite 204. Pomodoro with asyncio
|
|
This Bite explores asyncio and type-hinting. For this bite, you …
3.10
asyncio
pomodoro
|
|
Bite 242. Zodiacal data parsing
|
|
In this Bite we will write tests for a module …
3.7
datetime
fixtures
pytest
|
|
Bite 251. Introducing Pandas Series
|
|
Let's get started with Pandas! In case you are not …
3.10
pandas
series
string module
|
|
Bite 259. Reverse complement
|
|
In the majority of organisms, the genetic code is encoded …
3.10
bioinformatics
string manipulation
translate
|
|
Bite 292. Scoring matrices
|
|
Proteins fulfill important functions in all organisms and consist of …
3.10
bioinformatics
enumerate
looping
numbers
zip
|
|
Bite 296. Jagged list
|
|
Write a function that takes an irregular shaped list of …
3.10
iteration
itertools
list
|
|
Bite 311. Cleaning text with pandas
|
|
We recently published a blog post about how to approach …
3.8
data cleaning
pandas
TF-IDF
|
|
Bite 317. Pickling objects
|
|
In this Bite you will load (deserialize) and dump (serialize) …
3.10
data wrangling
pickle
serialization
|
|
Bite 319. Identity and equality
|
|
Identity and equality are two important concepts in Python. Please …
3.10
equality
integer caching
staticmethod
|
|
Bite 327. AST visitor
|
|
In Bite 312 we learned how to identify builtin functions, …
3.10
AST
|
|
Bite 333. Metropolis–Hastings Algorithm
|
|
In statistics and statistical physics, the Metropolis–Hastings algorithm is a …
3.10
algorithms
Markov chain Monte Carlo
numpy
statistics
|
|