Planet Python RSS
216 subscribers
16.9K links
Unofficial Planet Python RSS feed from planetpython.org. Maintained by @cfinnberg
Download Telegram
Ahmed Bouchefra: [5] Transform data with Angular pipes

Link: https://efficientcoder.net/angular-pipe/

In this tutorial, we’ll see how to use a pipe in Angular 14 to transform and display data in our components’ templates.
Since under the How to apply part, we are displaying the content of the applyMet
Ahmed Bouchefra: How to add days to dates in JavaScript

Link: https://efficientcoder.net/howto-add-days-dates-javascript/

We can add days to dates in JavaScript as follows:

Call the JavaScript’ getDate() method to obtain the day of the month for the date.
Call the JavaScript’ setDate() method, and passing as a parameter
Ahmed Bouchefra: How to get current time zone in JavaScript

Link: https://efficientcoder.net/howto-get-current-time-zone-javascript/

You can get your time zone using JavaScript by using the Intl.DateTimeFormat object which is available in all modern browsers and returns the language-specific date and time formatting methods.
Here i
IslandT: Python Tutorial — Chapter 7

Link: https://islandtropicaman.com/wp/2022/09/22/python-tutorial-chapter-7/

In this chapter let us look at how to store various items within a tuple. A tuple is just like a list that can be used to store multiple items and then allows us to retrieve those items through its in
PyBites: Tips for Navigating the Job Hunt with Rhys Powell

Link: https://pybit.es/articles/pp88-job-hunting-tips/

Listen here:

The job hunt is on! With so many people looking to change things up with work, whether it be a new role, a new company, remote work – you name it – we decided it was time to talk a littl
Nicola Iarocci: Eve 2.0.2 released

Link: https://nicolaiarocci.com/eve-2.0.2-released/

Eve 2.0.2 was just released today. It fixes a problem introduced with v2.0 in which ETag generation failed if uuidRepresentation was not set in MONGO_OPTIONS. See issue #1486 for details. Many thanks
eGenix.com: Python Meeting Düsseldorf - 2022-09-28

Link: https://www.egenix.com/company/news/Python-Meeting-Duesseldorf-2022-09-28

The following text is in German, since we're announcing a regional user group meeting in Düsseldorf, Germany.

Ankündigung
Das nächste Python Meeting Düsseldorf findet an folgendem Termin statt:

28.0
Real Python: The Real Python Podcast – Episode #126: Python as an Efficiency Tool for Non-Developers

Link: https://realpython.com/podcasts/rpp/126/

Are you interested in using Python in an industry outside of software development? Would adding a few custom software tools increase efficiency and make your coworkers' jobs easier? This week on the s
Python for Beginners: Rename Columns in a Dataframe in Python

Link: https://www.pythonforbeginners.com/basics/rename-columns-in-a-dataframe-in-python

Pandas dataframes are one of the most efficient data structures to handle tabular data in python. When we import tabular data into dataframes from csv files, we usually need to rename the columns in t
PyCharm: PyCharm 2022.3 EAP 1 Is Out!

Link: https://blog.jetbrains.com/pycharm/2022/09/2022-3-eap-1/

We are launching the Early Access Program (EAP) for PyCharm 2022.3! This means that you can get access to the features that we are still polishing for the major release. We are looking forward to all
PyBites: Help, I need to refactor a mega class! Here are 5 tips …

Link: https://pybit.es/articles/tips-for-refactoring-a-mega-class/

Somebody asked the other day for tips on how to refactor a mega-class? It was actually one of the first tasks on the new job, ouch!
A single class, several thousands lines of code, no tests available
IslandT: Python Tutorial — Chapter 8

Link: https://islandtropicaman.com/wp/2022/09/24/python-tutorial-chapter-8/

In this chapter let us look at the python dictionary collection object. Python dictionary object has both key and value pair and it is used to store data. The key of the python dictionary is not dupli
Go Deh: Answering a Reddit Question with timings.

Link: http://paddy3118.blogspot.com/2022/09/answering-reddit-question-with-timings.html

Best viewed on larger than a phone screen. Someone had a problem on Reddit r/python:Hello guys, I want to find a string in a list and this list has 350K elements all they are strings . I want to find
Matthew Wright: Use pandas DateOffsets for easy date manipulation

Link: https://www.wrighters.io/use-pandas-dateoffsets-for-easy-date-manipulation/

So much useful data has a date or time component. Often, data has a timestamp to represent when the data was acquired, or when an event will take place, or as an identifying attribute like an expirati
IslandT: Python Tutorial — Chapter 9

Link: https://islandtropicaman.com/wp/2022/09/26/python-tutorial-chapter-9/

In this chapter, let us look at the Python set object which is used to store multiple items just as tuples, lists, and dictionaries.
You can declare a set object with one of these methods:-

set1 = {
Python for Beginners: Inner Join DataFrames in Python

Link: https://www.pythonforbeginners.com/basics/inner-join-dataframes-in-python

The inner join operation is used in database management to join two or more tables. We can also perform inner join operations on two pandas dataframes as they contain tabular values. In this article,
Real Python: How to Add Python to PATH

Link: https://realpython.com/add-python-to-path/

You may need to add Python to PATH if you’ve installed Python, but typing python on the command line doesn’t seem to work. You may be getting a message saying that the term python isn’t recognized, or
Chris Moffitt: Pandas Groupby Warning

Link: https://pbpython.com/groupby-warning.html


Introduction
One of the reasons I like using pandas instead of Excel for data analysis is that it is
easier to avoid certain types of copy-paste Excel errors. As great as pandas is, there
is still pl