openpyxl Part 10 – Freezing Rows and Columns
In the previous part of the openpyxl series we were adding and removing sheets. We didn’t save the changes, though,… Read More »openpyxl Part 10 – Freezing Rows and Columns
In the previous part of the openpyxl series we were adding and removing sheets. We didn’t save the changes, though,… Read More »openpyxl Part 10 – Freezing Rows and Columns
Matplotlib is a cross-platform data visualization library. It’s used to visualize data and the results of all sorts of computations.… Read More »matplotlib Part 1 – Introduction to Matplotlib
Today we’ll be talking about list methods used to sort or reverse lists, determine their length, find the index of… Read More »List Methods in Python
Today we’ll learn how repetition works with lists. Here’s the video version of the article: You can use the *… Read More »List Repetition in Python
PANDAS MULTI-INDEX The two data structures that you know, Series and DataFrame, are basically used for one- and two-dimensional data… Read More »pandas Part 12 – Pandas MultiIndex
Today we’ll be talking about two basic operations on lists: slicing and concatenation. Here’s the video version of this article:… Read More »Slicing and Concatenating Lists in Python
In the previous part we were adding colors to widgets. But besides colors you can also add images. But before… Read More »Kivy Part 30 – Slugrace – Background Graphics
MISSING DATA In real-life scenarios data is seldom complete. How does pandas handle missing data? Generally, it uses two null… Read More »pandas Part 11 – Missing Data
In the previous part of the Panda3D series we were talking about and installed Blender, the 3D modeling program that… Read More »Panda3D Part 6 – Getting to Know the Blender GUI
In one of the previous articles we learned how to remove elements from a list. In this article we’ll be… Read More »The pop Method in Python
In the previous part of the openpyxl series we were inserting and deleting rows and columns. We didn’t save the… Read More »openpyxl Part 9 – Managing Sheets
Today we’ll be talking about particles in Blender. In this project I’ll be using the 2.90 version of Blender. So,… Read More »Star Dust Burst – Particles in Blender
You already know how to append and insert elements to list. You also know how to extend lists. Today we’ll… Read More »Removing Elements from a List in Python
You already know how to append elements at the end of a list. This is what you use the append… Read More »Inserting Elements to Lists in Python
Pandas makes it easy to operate on data. In case of unary operations index and column labels are preserved. In… Read More »pandas Part 10 – Operations on Data
Today we’ll be talking about the shrinkwrap modifier. I’ll demonstrate it on an example of a boat floating on waves.… Read More »Boat Floating on the Waves – The Shrinkwrap Modifier in Blender
Today we’ll learn how to extend lists with elements from other lists, tuples and strings. Here’s the video version of… Read More »Extending Lists in Python
In the previous part we added some colors to our screens. However, except for the text color on the labels,… Read More »Kivy Part 29 – Styling the Widgets in the Slugrace Project
Today we’ll learn how to append elements to lists using the append method. Here’s the video version of this article:… Read More »Appending Elements to Lists in Python
In the previous part of the openpyxl series we were talking about adding and updating spreadsheet data. This part is… Read More »openpyxl Part 8 – Inserting and Deleting Rows and Columns
We know how to index and slice Series objects. What about DataFrames? Let’s have a look at the example we… Read More »pandas Part 9 – Indexing and Slicing DataFrame Objects
Today we’ll be talking about the very basics of lists. Here’s the video version of this article: A list is… Read More »List Basics in Python
In the previous parts of the Panda3D series we created a basic Panda3D game that does… nothing. But it works.… Read More »Panda3D Part 5 – Introduction to Blender
In the previous article we were talking about replacing substrings by other substrings. You may also want to read about… Read More »String Mapping in Python
Today we’ll be talking about the replace method. It’s another string method that you can use to work on strings.… Read More »The replace Method
In the previous part we saw an interesting example of slicing. Let’s use the same example again: In [1]: import numpy… Read More »pandas Part 8 – The loc and iloc Indexers
Today we’ll be talking about projection painting in Blender. We’ll see how to paint a texture from a projection. I’ll… Read More »Projection Painting in Blender
Today we’ll be talking about stripping strings. In two of my previous articles we were talking about joining and splitting… Read More »Stripping Strings in Python
In the previous part we were talking about colors in Kivy. In this part we’ll add some colors in the… Read More »Kivy Part 28 – Colors in the Slugrace App
In one of my previous articles we were talking about joining strings. If you want to read it, here it… Read More »Splitting Strings in Python
In the preceding parts of the openpyxl series we were working on a small workbook saved as wb2.xlsx. We retrieved… Read More »openpyxl Part 7 – Adding and Updating Spreadsheet Data
When we were talking about Series objects we saw that slicing Series objects may be pretty straightforward. Let’s have a… Read More »pandas Part 7 – Slicing and Indexing Series Objects
Today we’ll be talking about joining strings. We can join strings using the method join. The method join(seq) takes the… Read More »Joining Strings in Python
In the previous part of the series we ran our basic Panda3D app. What we got was an empty game… Read More »Panda3D Part 4 – Runtime Configuration Options
In the previous part of the openpyxl series we manually created a workbook with some data in it and then… Read More »openpyxl Part 6 – Converting Spreadsheet Data into a Class
In the previous parts of this series we discussed two of the three fundamental data types in pandas, the Series… Read More »pandas Part 6 – the Index Class
In one of my previous articles we were talking about the methods isalnum, isalpha and isspace. They are used to… Read More »The isdecimal, isdigit and isnumeric Methods
In the previous part of the openpyxl series we were iterating over the data in the spreadsheet. In this part… Read More »openpyxl Part 5 – Converting Spreadsheet Data into a Dictionary
In a couple preceding lectures we’ve been drawing shapes on widgets. But they were all white. Let’s see how to… Read More »Kivy Part 27 – Canvas Context Instructions – Colors
In my previous articles I covered quite a few string methods. If you haven’t read those articles, feel free to… Read More »The isalnum, isalpha and isspace Methods
In the previous part of the openpyxl series we were iterating over the rows and columns of a spreadsheet using… Read More »openpyxl Part 4 – Using Python Iterators
In the previous part of this series we created a DataFrame from a dictionary of Series objects. Let’s quickly recreate… Read More »pandas Part 5 – Creating DataFrame Objects
In the previous part of the series we wrote a basic Panda3D app. Here’s the test.py file we created, this… Read More »Panda3D Part 3 – Run Your Panda3D Game
Today we’ll be talking about string boolean methods. In my previous articles I covered quite a few string methods. If… Read More »String Boolean Methods in Python
In the previous part of the series we saw how to access single cells of the spreadsheet and the values… Read More »openpyxl Part 3 – Iterating Over Rows and Columns
Among the numerous string methods are formatting methods and statistical methods, which I covered in my articles not long ago.… Read More »String Searching Methods in Python
In the previous part we were talking about adding shapes to the GUI. We know how to draw ellipses, rectangles,… Read More »Kivy Part 26 – Slugrace – Adding Shapes to the GUI
In the previous two parts of this series we were talking about the Series class in general and about creating… Read More »pandas Part 4 – the DataFrame Class
In the previous part of the series we created a simple spreadsheet and saved it as wb1.xlsx. Today we’ll retrieve… Read More »openpyxl Part 2 – Retrieving Data from a Spreadsheet
There are lots of string methods that we can use. In one of my previous articles I was talking about… Read More »String Statistical Methods in Python
In the previous part we were talking in general about Canvas, coordinate space and Canvas drawing instructions, so vertex instructions… Read More »Kivy Part 25 – Canvas Vertex Instructions
Today we’ll be talking about string formatting methods. Here’s the video version of the article: If you haven’t read my… Read More »String Formatting Methods in Python
In this series we’ll be using the openpyxl module to work on spreadsheets. In this part we’ll install the module… Read More »openpyxl Part 1 – A Simple Workbook
In the previous part we introduced the Series class, which is one of the fundamental data types in pandas. Let’s… Read More »pandas Part 3 – Creating Series Objects
Most programming tutorials, regardless of which programming language or framework you are learning, begin with a very basic program where… Read More »Panda3D Part 2 – A Basic Panda3D App
Today we’ll be talking about the string format operator. The string format operator is not the preferable way of formatting… Read More »The String Format Operator
In the previous part we installed pandas, or, if you have the Anaconda distribution of Python, we just made it… Read More »pandas Part 2 – the Series Class
Today we’ll learn how to use dictionaries to format strings. If you haven’t read my previous articles on formatting strings,… Read More »Using Dictionaries to Format Strings
In this series we’ll be working on a 3D game, Slugrace 3D, where players will put bets on racing slugs.… Read More »Panda3D Part 1 – Installing Panda3D
pandas is a Python module that builds on top of numpy and is used to deal with data in a… Read More »pandas Part 1 – Introduction to Pandas