Sign in

Work at the nexus of biomedicine, data science & mobile dev. Love to write on these technological topics. Follow me @ycui01 on Twitter to get latest articles.

Let’s clarify some idiomatic Python usages

Man holding Rubik’s cube
Man holding Rubik’s cube
Photo by Juan Pablo Donadías on Unsplash.

1. Logical Operators: and, or

Advance your Python knowledge by bringing related topics together

Water washing up on rocks
Water washing up on rocks
Photo by Dan Stark on Unsplash.

Basic Concept

Highlighting some of the most common features

Photo by Yeshi Kangrang on Unsplash
pip install streamlit

Write Python code in a Pythonic way

Multi-colored dwellings
Multi-colored dwellings
Photo by Nick Fewings on Unsplash.

Groupby is so powerful, which may sound daunting to beginners, but you don’t have to know all of its features

Photo by Hudson Hintze on Unsplash

Know what goes on under the hood

Rubik’s cube
Rubik’s cube
Photo by Belhadj lamine on Unsplash.

1. Invocation of Instance Methods

Functions are more than just good names and docstrings

Hands holding colorful pieces of candy
Hands holding colorful pieces of candy
Photo by Patrick Fore on Unsplash.

1. Type Hints

Start to use environments for all data science projects

Photo by Benjamin Grant on Unsplash


Let’s start taking ownership of our codebases

Photo by Alvin Mahmudov on Unsplash

Improve the productivity of your notebooking

Photo by Dan Dimmock on Unsplash

1. Run Commands

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store