CE - Python 🐍
254 subscribers
40 photos
3 files
6 links
‼️ Part Of @TheCodingExpert

Python projects, tips, code snippets, ebooks & courses—all in one place.

• Learn | Code | Build •
Download Telegram
Channel created
😃 Excel vs SQL vs Python

@CEPython ✅
Please open Telegram to view this post
VIEW IN TELEGRAM
❤3🔥2
Important Pandas Methods for Machine Learning

@CEPython ✅
Please open Telegram to view this post
VIEW IN TELEGRAM
🥰2❤1🔥1😁1
Clean code advice for Python:

Do not add redundant context.
Avoid adding unnecessary data to variable names, especially when working with classes.

Example:

This is bad:

class Person:
    def __init__(self, person_first_name, person_last_name, person_age):
        self.person_first_name = person_first_name
        self.person_last_name = person_last_name
        self.person_age = person_age


This is good:

class Person:
    def __init__(self, first_name, last_name, age):
        self.first_name = first_name
        self.last_name = last_name
        self.age = age


👉 @CEPython
Please open Telegram to view this post
VIEW IN TELEGRAM
🔥2❤1