#labordaysale @ManningPublications : eBooks 19.99 and up, pBooks $29.99 and up, All liveProjects and liveVideos $19.99. #learndatascience #learnprogramming https://www.manning.com/books/fighting-churn-with-data?a_aid=fight-churn&a_bid=61baa361 #pythonprogramming #sql #machinelearning #datascience #churn
#labordaysale #learndatascience #learnprogramming #pythonprogramming #sql #machinelearning #DataScience #Churn
Just spent 15 minutes trying to learn python on youtube.
#pythonprogramming #Python #programming
I can't believe it's thw fifth episode of the Python interesting project series!
Interested in computer programming? Learn R and Python with our September UC Carpentries Fall 2023 workshop. Virtual and open to all!
#pythonprogramming #datamanagement
https://www.library.ucsf.edu/news/uc-carpentries-fall-2023/
#pythonprogramming #datamanagement
Holy. Crap. #mamba is so much faster than #conda how can I ever go back? Is there some downside I don't see here? #pythonprogramming
#mamba #conda #pythonprogramming
New article:
β οΈWhy you should avoid import * in Python π
https://pybit.es/articles/why-you-should-avoid-import-in-python/
Covering:
- Why modules are great and namespacing explained
- Why import * is a problem
- A practical example where a function gets overriden
- The recommended way to do imports
- What PEP8 has to say about this
- Protection workaround, use __all__ to define your module's public interface
#python #pythonprogramming #modules #encapsulation #namespacing #zenofpython #bestpractices #pitfalls #imports #dundermethods
#python #pythonprogramming #modules #encapsulation #namespacing #zenofpython #bestpractices #pitfalls #imports #dundermethods
People newer to Python often get confused by the statement:
if __name__ == "__main__":
That's many underscores ("dunders"), right?
In essence it lets you put code in your module that ONLY should execute when the module is called directly. So not when you import from it.
I explain this further with a practical example in this 3 minute video:
https://www.youtube.com/watch?v=ubpFY7_dAW4
#python #pythonprogramming #encapsulation #pythoncoding
2/ After that, there will be no less than seven talks and two discussions, covering MOOCs, curriculum choices, teaching CP with PyCSP3 and many more CP teaching-related topics!
So if you haven't done so already, go to our website to register for the workshop day or just for the entire conference, while you're at it π
https://cp2023.a4cp.org/registration.html
#CP2023conf #ConstraintProgramming #Teaching #AcademicMastodon #AcademicChatter #Conference #Workshop #PythonProgramming
#cp2023conf #constraintprogramming #teaching #academicmastodon #academicchatter #conference #workshop #pythonprogramming
Just recently discovered: Supercharge #conda package management with #mamba and get ultra-fast #Python package installations β‘οΈ
π https://www.fabriziomusacchio.com/blog/2023-07-07-mamba_vs_conda/
π https://mamba.readthedocs.io/en/latest/index.html
#conda #mamba #Python #DataScience #packagemanagement #pythonprogramming
@mc this totally resonates, all too often I do dive into complex bits of #nlproc #pythonprogramming. I was reflecting today that itβs ok to start small, or in this case start from nothing! Thanks for the reminder!
An experiment: to build a separate set of Python dependencies and inject it into different Docker images via layers
Status: semi-success
The idea:
1. There are Python Docker images (A, B) which need the same set of dependencies (x, y)
2. We build a separate Python Docker image M with venv + (x, y) dependencies installed
3. Build base images for A, B
4. Put 'x' from M on top of each of them into a separate directory (e.g. /opt/mydeps/site-packages) using multistage building
5. Register '/opt/mydeps/site-packages' in PYTHONPATH
Result:
Well, technically it works and all deps could be imported into Python. The problem starts when peer dependencies intersect. Let's say:
- A depends on package z v1.0
- x depends on package z v2.0
Python will load z v2.0 from PYTHONPATH while A will expect z v1.0
#development #python #pythonprogramming
ππ Preparing data for analysis has never been easier! Learn Python techniques for Data Preprocessing - from handling missing values to encoding categorical variables. #DataPreprocessing #PythonProgramming π
#datapreprocessing #pythonprogramming
Today I wrote 3 methods in a #python #AWS Lambda that was exactly copied from an older on prem python project. It was fun in the moment but thinking about it, sounds super boring. What interesting projects or tasks have you done lately in #pythonprogramming ?
#programming #developer #pythonjobs
#python #aws #pythonprogramming #programming #developer #pythonjobs
Hey, I run a blog for dev things in #rustlang #Angular #JavaScript #Python
Link: https://surya-dev-journey.hashnode.dev
There isnβt a schedule per-se, I write whenever I find time. Check it out!
#rustlang #angular #javascript #python #opensource #maintainer #pythonprogramming #angulardev
Today's home brew image processing image. Clematis, from our corner bed.
π’Now in print!πΎ
Go from Python programmer to Python developer!
Doug Farrell will take your Python skills to the next level through solving real-world problems and adopting best practices for working with Python in a professional environment: http://mng.bz/jPvy
#python #pythonprogramming #programming
Coding in Python is fun π #programming #coding #pythonprogramming
#programming #coding #pythonprogramming
Code sprint all day #coding #codinglife #codingisfun #django #python #pythonprogramming #pythondeveloper #coder #coderlife
#coding #codinglife #codingisfun #django #python #pythonprogramming #pythondeveloper #coder #coderlife
#python #pandas #lessonlearned today: (1) Merge does not preserve the order unless you are merging by the index. (2) Make sure to use `ignore_index=True` when you concat or your index might acquire duplicates. Want to hear how much fun I had #debugging to come up with these gems of wisdom? π #pythonprogramming
#Python #pandas #lessonlearned #debugging #pythonprogramming
The MVT pattern, which is used in #django , is an adaptable web development pattern that can be used to create applications that are both high-quality and user-friendly. I recommend learning about the MVT pattern if you are new to web development using Django. It is a great starting point for creating web applications.
#django #webdevelopment #pythonprogramming #html