John Ludhi/nbshare.io: PySpark Distinct Examples
PySpark Distinct ExamplesIn this notebook, we will go through PySpark Distinct. For this exercise, I will be using following data from Kaggle......
View ArticleReal Python: The Real Python Podcast – Episode #109: Start Testing Your...
Did you know you can add testing to your Python code while simultaneously documenting it? Using docstrings, you can create examples of how your functions should interact in a Python REPL and test them...
View ArticleTest and Code: 187: Teaching Web Development, including Front End Testing
When you are teaching someone web development skills, when is the right time to start teaching code quality and testing practices?Karl Stolley believes it's never too early. Let's hear how he...
View ArticlePython for Beginners: Convert List of Lists to CSV File in Python
Lists are one of the most frequently used data structures in python. In this article, we will discuss how we can convert a list of lists to a CSV file in python.Table of ContentsList of Lists to CSV in...
View ArticleAndre Roberge: Python 🐍 fun with emojis
At EuroSciPy in 2018, Marc Garcia gave a lightning talk which started by pointing out that scientific Python programmers like to alias everything, such asimport numpy as npimport pandas as pdand...
View ArticleKay Hayen: Compile Python on Windows
Looking to create an executable from Python script? Let me show you the full steps to achieve it on Windows.Steps to create a Windows executable from a Python script using NuitkaStep 1: Add Python to...
View ArticleMirek Długosz: Announcing Kustosz
I’m happy to announce Kustosz, a new feed reader that aims to help you focus on worthwhile content.These days, many open source RSS readers still try to fill the void left out by Google Reader - their...
View ArticleJuri Pakaste: Creating icons in Xcode playgrounds
I'm no good at drawing. I have Affinity Designer and I like it well enough, but it requires more expertise than I have, really. Usually when I want to draw things, I prefer to retreat back to...
View ArticleNed Batchelder: Cairo in Jupyter, better
I finally came up with a way I like to create PyCairo drawings in a Jupyter notebook.A few years ago I wrote here about how to draw Cairo SVG in a Jupyter notebook. That worked, but wasn’t as...
View Article"Morphex's Blogologue": JSON viewer for JSON database
I was looking to get a little done on the ethereum-classic-taxman accounting tool today, and thought a bit outside-the-box, what could I need in there that isn't a direct priority.The tool uses JSON...
View ArticleJohn Ludhi/nbshare.io: Save Pandas DataFrame as CSV file
How To Save Pandas DataFrame As CSV FileTo save Panda's DataFrame in to CSV or Excel file, use following commands...df.to_csv('data.csv', index=False) df.to_excel('data.xls', index=False)In this...
View ArticleZato Blog: Integrating with Jira APIs
OverviewContinuing in the series of articles about newest cloud connections in Zato 3.2, this episode covers Atlassian Jira from the perspective of invoking its APIs to build integrations between Jira...
View ArticlePodcast.__init__: Take Control Of Your Digital Photos By Running Your Own...
Digital cameras and the widespread availability of smartphones has allowed us all to generate massive libraries of personal photographs. Unfortunately, now we are all left to our own devices of how to...
View ArticleListenData: Only size-1 arrays can be converted to Python scalars
Numpy is one of the most used module in Python and it is used in a variety of tasks ranging from creating array to mathematical and statistical calculations. Numpy also bring efficiency in Python...
View ArticleMike Driscoll: PyDev of the Week: Raza (Rython) Zaidi
This week we welcome Raza Zaidi (@razacodes) as our PyDev of the Week! Raza is a content creator on Twitter and YouTube. You can learn about Python, data science, Django, and more on Raza's YouTube...
View ArticlePython for Beginners: Set Difference in Python
Sets are used to store unique objects. Sometimes, we might need to find the elements in a set that are not present in another given set. For this, we use the set difference operation. In this article,...
View ArticleReal Python: Linear Regression in Python
You’re living in an era of large amounts of data, powerful computers, and artificial intelligence. This is just the beginning. Data science and machine learning are driving image recognition,...
View ArticlePython Morsels: Reading binary files in Python
How can you read binary files in Python? And how can you read very large binary files in small chunks?Table of contentsHow to read a binary file in PythonUse a library to read your binary fileWorking...
View ArticleKushal Das: OAuth Security Workshop 2022
Last week I attended OAuth Security Workshop at Trondheim, Norway. It was a 3-day single-track conference, where the first half of the days were pre-selected talks, and the second parts were...
View ArticlePyCon: PyCon US 2022 Recordings Update
We understand that the PyCon US recordings are an incredibly important resource to the community. We were looking forward to providing the PyCon US 2022 recordings very soon after the event –...
View Article