Python

Python

209 bookmarks
Newest
Top Python libraries of 2021 you should know about
Top Python libraries of 2021 you should know about
There are so many amazing Python libraries out there that it's hard to keep track of all of them. That's why we share with you our hand-picked selection of some top libraries.
·tryolabs.com·
Top Python libraries of 2021 you should know about
Raising and Handling Python Exceptions – Real Python
Raising and Handling Python Exceptions – Real Python
In this course, you'll learn what an exception is and how it differs from a syntax error. You'll learn about raising exceptions, making assertions, and catching exceptions to change the control flow of your program using the try, except, else, and finally keywords.
·realpython.com·
Raising and Handling Python Exceptions – Real Python
Writing fast async HTTP requests in Python
Writing fast async HTTP requests in Python
I do a lot of web scraping in my spare time, and have been chasing down different formats and code snippets to make a large amount of network requests locally, with controls for rate limiting and error handling.
·blog.jonlu.ca·
Writing fast async HTTP requests in Python
Advanced Visual Studio Code for Python Developers – Real Python
Advanced Visual Studio Code for Python Developers – Real Python
In this tutorial, you'll learn how you can configure, extend, and optimize Visual Studio Code for a more effective and productive Python development environment. By digging into this customizable code editor and IDE, you'll put yourself on track to be a VS Code power user.
·realpython.com·
Advanced Visual Studio Code for Python Developers – Real Python
How to use PyTorch LSTMs for time series regression
How to use PyTorch LSTMs for time series regression
Most intros to LSTM models use natural language processing as the motivating application, but LSTMs can be a good option for multivariable time series regression and classification as well. Here's how to structure the data and model to make it work.
·crosstab.io·
How to use PyTorch LSTMs for time series regression
How to list all python virtual environments in Linux?
How to list all python virtual environments in Linux?
I have more than one Python environment configured in my Debian OS. Is there a way to list all configured environments in Linux? This is different from the possible duplicate as indicated in the c...
·stackoverflow.com·
How to list all python virtual environments in Linux?
Python Concurrency with asyncio
Python Concurrency with asyncio
Learn how to speed up slow Python code with concurrent programming and the cutting-edge asyncio library./bbr/br/ Python is flexible, versatile, and easy to learn. It can also be very slow compared to lower-level languages. Python Concurrency with asyncio/i teaches you how to boost Python's performance by applying a variety of concurrency techniques. You'll learn how the complex-but-powerful asyncio library can achieve concurrency with just a single thread and use asyncio's APIs to run multiple web requests and database queries simultaneously. The book covers using asyncio with the entire Python concurrency landscape, including multiprocessing and multithreading.
·manning.com·
Python Concurrency with asyncio
How to remove stop words using nltk or python
How to remove stop words using nltk or python
So I have a dataset that I would like to remove stop words from using stopwords.words('english') I'm struggling how to use this within my code to just simply take out these words. I have a list ...
·stackoverflow.com·
How to remove stop words using nltk or python
Pandas get topmost n records within each group
Pandas get topmost n records within each group
Suppose I have pandas DataFrame like this: >>> df = pd.DataFrame({'id':[1,1,1,2,2,2,2,3,4],'value':[1,2,3,1,2,3,4,1,1]}) >>> df id value 0 1 1 1 1 2 2 1 ...
·stackoverflow.com·
Pandas get topmost n records within each group
marceloprates/prettymaps: A small set of Python functions to draw pretty maps from OpenStreetMap data. Based on osmnx, matplotlib and shapely libraries.
marceloprates/prettymaps: A small set of Python functions to draw pretty maps from OpenStreetMap data. Based on osmnx, matplotlib and shapely libraries.
A small set of Python functions to draw pretty maps from OpenStreetMap data. Based on osmnx, matplotlib and shapely libraries. - marceloprates/prettymaps: A small set of Python functions to draw pr...
·github.com·
marceloprates/prettymaps: A small set of Python functions to draw pretty maps from OpenStreetMap data. Based on osmnx, matplotlib and shapely libraries.
Peewee Tutorial
Peewee Tutorial
Peewee Tutorial, Peewee is a Python ORM (Object-Relational Mapping) library which supports SQLite, MySQL, PostgreSQL and Cockroach databases. This tutorial will help you to unde
·tutorialspoint.com·
Peewee Tutorial