Planet Python RSS
214 subscribers
17K links
Unofficial Planet Python RSS feed from planetpython.org. Maintained by @cfinnberg
Download Telegram
John Ludhi/nbshare.io: Python Generators

Link: https://www.nbshare.io/notebook/286849692/Python-Generators/








Python GeneratorsPython generators are very powerful for handling operations which require large amount of memory.
Let us start with simple example. Below function prints infinite sequence of n
Zero-with-Dot (Oleg Żero): Why using SQL before using Pandas?

Link: https://zerowithdot.com/sql-or-pandas/

Introduction
Data analysis is one of the most essential steps in any data-related project.
Regardless of the context (e.g. business, machine-learning, physics, etc.),
there are many ways to get it rig
Python Pool: 5 Best Ways to Find Python String Length

Link: https://www.pythonpool.com/python-string-length/?utm_source=rss&utm_medium=rss&utm_campaign=python-string-length

What is Python String Length?
Python string length is the function through which we find the length of the string. There is an inbuilt function called len() in python, so this len() function finds the
Matthew Wright: How to remove a column from a DataFrame, with some extra detail

Link: https://www.wrighters.io/how-to-remove-a-column-from-a-dataframe/

Removing one or more columns from a pandas DataFrame is a pretty common task, but it turns out there are a number of possible ways to perform this task. I found that this StackOverflow question, along
Codementor: How I learned Python

Link: https://www.codementor.io/behtgoldaleksej0/how-i-learned-python-1frt0bmg32

About me
I am a senior software developer with experience over 8 years. I am working now at IT company as Developer. I'd like to get new technology and challenge. I love the programming and...
John Ludhi/nbshare.io: Strftime and Strptime In Python

Link: https://www.nbshare.io/notebook/510557327/Strftime-and-Strptime-In-Python/

















Strftime and Strptime In Python








In this post, we will learn about strftime() and strptime() methods from Python datetime package.
Python Strftime FormatThe strftime converts da
Mike Driscoll: PyDev of the Week: Jens Winkelmann

Link: https://www.blog.pythonlibrary.org/2021/03/08/pydev-of-the-week-jens-winkelmann/

This week we welcome Jens Winkelmann (@jWinman) as our PyDev of the Week! Jens is a PhD researcher in the Foams and Complex System Group at Trinity College Dublin (TCD). You can find out more about wh
Stack Abuse: How to Sort a Pandas DataFrame by Date

Link: https://stackabuse.com/how-to-sort-a-pandas-dataframe-by-date/

Introduction
Pandas is an extremely popular data manipulation and analysis library. It's the go-to tool for loading in and analyzing datasets for many.
Correctly sorting data is a crucial element of m
Python Pool: How to Solve TypeError: ‘int’ object is not Subscriptable

Link: https://www.pythonpool.com/typeerror-int-object-is-not-subscriptable/?utm_source=rss&utm_medium=rss&utm_campaign=typeerror-int-object-is-not-subscriptable

Introduction
Some of the objects in python are subscriptable. This means that they hold and hold other objects, but an integer is not a subscriptable object. We use Integers used to store whole number
Real Python: The Real Python Podcast: It's Been a Year!

Link: https://realpython.com/real-python-podcast-first-year/

This week, the Real Python Podcast is reaching its fiftieth episode!
It’s been quite a year, full of sharing and learning and connecting in the Python community. We’re looking forward to bringing you
Python for Beginners: What is a good comment/code ratio?

Link: https://www.pythonforbeginners.com/code/what-is-a-good-comment-code-ratio


A comment is a piece of code that isn’t executed by the compiler or interpreter when the program is executed. Comments can only be read when we have access to the source code. To answer the question
Podcast.__init__: Analyzing The Ecosystem of Python Data Companies With Tony Liu

Link: https://www.pythonpodcast.com/tony-liu-python-venture-investing-episode-305/

There are a large and growing number of businesses built by and for data science and machine learning teams that rely on Python. Tony Liu is a venture investor who is following that market closely and
PyCharm: PyCharm 2021.1 EAP 4: WSL 2 Support and Faster Indexing

Link: http://feedproxy.google.com/~r/Pycharm/~3/TlLTB0eJEOA/

This EAP build brings several nice additions to WSL 2 support, makes indexing faster, and introduces a GitHub pull request template.
As usual, please read the blog post, try out the new features, and
The Digital Cat: First-class objects in Python: generic code, wrappers, and factories

Link: https://www.thedigitalcatonline.com/blog/2021/03/09/first-class-objects-in-python-generic-code-wrappers-and-factories/

One of the most important concepts that you can find in Python (as well in other languages like JavaScript, Ruby, and Scala, just to name some of the most important ones) is that of first-class citize
PyCoder’s Weekly: Issue #463 (March 9, 2021)

Link: https://pycoders.com/issues/463

#463 – MARCH 9, 2021 View in Browser » Poison Packages: User Hits Python Community With 4000 Fake Modules Recently, a PyPI user going by the name “Remind Supply Chain Risks” uploaded nearly 4000
John Cook: Broadcasting and functors

Link: https://www.johndcook.com/blog/2021/03/09/broadcasting-and-functors/

In my previous post, I looked at the map Δ that takes a column vector to a diagonal matrix. I even drew a commutative diagram, which foreshadows a little category theory.
Suppose you have a function f
Python Pool: Why is Numpy asarray() Important in Python?

Link: https://www.pythonpool.com/numpy-asarray/?utm_source=rss&utm_medium=rss&utm_campaign=numpy-asarray

What Exactly is Numpy asarray?
The numpy asarray() function is used when need to convert an input to an array. Whether the input is a list, lists of tuples, tuples, tuples of tuples, tuples of lists,
Python Pool: Various Ways to Find Standard Deviation in Numpy

Link: https://www.pythonpool.com/numpy-standard-deviation/?utm_source=rss&utm_medium=rss&utm_campaign=numpy-standard-deviation

Introduction
In this tutorial, We will learn how to find the standard deviation of the numpy array. we can find the standard deviation of the numpy array using numpy.std() function. we will learn the