You've successfully subscribed to Better Data Science
Great! Next, complete checkout for full access to Better Data Science
Welcome back! You've successfully signed in
Success! Your account is fully activated, you now have access to all content.

Python

Members
Python Single vs. Double Quotes - Which Should You Use And Why?

Python Single vs. Double Quotes - Which Should You Use And Why?

Should you use single or double quotes in Python? These are the differences and best practices for both.

Read more
Members
Python If-Else Statement in One Line - Ternary Operator Explained

Python If-Else Statement in One Line - Ternary Operator Explained

Python supports if-else statements in one line - but should you use them and how? When should you opt for regular if statements? Read to find out.

Read more
Members
Python Structural Pattern Matching — Top 3 Use Cases To Get You Started

Python Structural Pattern Matching — Top 3 Use Cases To Get You Started

Python 3.10 packs support for Switch statements (structural pattern matching). Here are a couple of examples to get you started.

Read more
Members
Dask Delayed — How to Parallelize Your Python Code With Ease

Dask Delayed — How to Parallelize Your Python Code With Ease

Python and GIL - Problem no more! Yes, you can execute Python code in parallel with Dask Delayed - Learn how to parallelize any function.

Read more
Members
Concurrency in Python: How to Speed Up Your Code With Threads

Concurrency in Python: How to Speed Up Your Code With Threads

Yes, Python is slow by default, but there's a workaround. Read our hands-on guide on implementing concurrent execution in Python.

Read more