PinnedMarcin KozakAt the start — a little about Python writingSo this is it. My first post here on Medium. I’ve spent a lot of time thinking about what topic to start with, even more than the time it…·6 min read·Sep 22, 2022--3--3
Marcin KozakinTowards Data ScienceSlicing in Python: A Comprehensive GuideMaster Python slicing: from lists and tuples to NumPy arrays and Pandas dataframes, plus custom implementations·30 min read·Jun 5, 2024--2--2
Marcin KozakinTowards Data ScienceThe Trap of Sprints: Don’t Be Like Scarlett O’Hara. Think Today!Why data scientists should prioritize communication and flexibility in agile projects·8 min read·Jun 3, 2024----
Marcin KozakinTowards Data ScienceEmbedding Markdown Files in a Streamlit DashboardSimplify Streamlit app code by moving longer static contents to Markdown files.·6 min read·May 28, 2024----
Marcin KozakinTowards Data SciencePassing Functions to Test Files in Python PytestThis is a very frequent question, but the solution is very simple: use a fixture.·7 min read·May 27, 2024----
Marcin KozakinTowards Data ScienceA Guide to Powerful Python EnumerationsImprove Python code for data science with simple, readable and performant enumerations.·23 min read·May 20, 2024--2--2
Marcin KozakinTowards Data ScienceDon’t Let the Python dir() Function Trick You!The dir() function returns an object’s attributes. Unfortunately, it doesn’t reveal everything — discover how to find all attributes…·7 min read·May 13, 2024--3--3
Marcin KozakinTowards Data SciencePython Type Hinting: Introduction to The Callable SyntaxThe collections.abc.Callable syntax may seem difficult. Learn how to use it in practical Python coding.·14 min read·May 8, 2024--1--1
Marcin KozakinTowards Data SciencePython and the underscore (_)The article discusses various roles the underscore plays in Python.·10 min read·Apr 30, 2024--4--4
Marcin KozakinLevel Up CodingFind a Bug in Python Code: Spoiled DecoratorsDecorators offer a great way to change a function’s behavior. Check yourself and try to find a bug in this decorator.·7 min read·Apr 28, 2024----