Python

Pandas Rename Column and Index — step-by-step Python tutorial on Progressive Robot

Pandas Rename Column and Index

URL: https://www.progressiverobot.com/pandas-rename-column-index/ Sometimes we want to rename columns and indexes in the Pandas DataFrame object. We can use pandas DataFrame rename() function to rename columns and indexes. It supports the following parameters. mapper: dictionary or a function to apply on the columns and indexes. The 'axis' parameter determines the target axis – columns or indexes. […]

Read more
How to Perform Flask-SQLAlchemy Migrations Using Flask-Migrate — step-by-step Python tutorial on Progressive Robot

How to Perform Flask-SQLAlchemy Migrations Using Flask-Migrate

*The author selected Apache Software Foundation to receive a donation as part of the Write for DOnations program.* Introduction Flask is a lightweight Python web framework that provides valuable tools and features for creating web applications in the Python Language. SQLAlchemy is an SQL toolkit offering efficient and high-performing relational database access. It provides ways […]

Read more
Python 2 vs Python 3: Practical Considerations — step-by-step Python tutorial on Progressive Robot

Python 2 vs Python 3: Practical Considerations

Python is an extremely readable and versatile programming language. While Python 2.7 and Python 3 share many similar capabilities, they should not be thought of as entirely interchangeable. This article will take you through the key differences to consider when choosing on whether to work in Python 2 or Python 3 for your development projects.

Read more
How To Use Web Forms in a Flask Application — step-by-step Python tutorial on Progressive Robot

How To Use Web Forms in a Flask Application

Flask is a lightweight Python web framework that provides useful tools and features for creating web applications in the Python Language. In this tutorial, you’ll build a small web application with Flask that demonstrates how to use web forms. The application will have a page for displaying messages that are stored in a Python list, and a page for adding new messages. You’ll also use message flashing to inform users of an error when they submit invalid data.

Read more
Building Your First Slackbot With Python — step-by-step Python tutorial on Progressive Robot

Building Your First Slackbot With Python

Want to make a Slackbot to automate all the things? Slack’s amazing Python libraries can help get your bot up and running. See what a Slackbot is, how to configure it in the Slack developer portal, build your first Python Slackbot, and deploy it to production using an app platform.

Read more
Vectors in Python - A Quick Introduction! — step-by-step Python tutorial on Progressive Robot

Vectors in Python – A Quick Introduction!

URL: https://www.progressiverobot.com/vectors-in-python/ Hello, folks! Today, we will be having a look at one of the most unaddressed topics in Python that is, Vectors in Python. So, let us begin! First, what is a Vector? A vector in a simple term can be considered as a single-dimensional array. With respect to Python, a vector is a […]

Read more
Understanding Dictionaries in Python 3 — step-by-step Python tutorial on Progressive Robot

Understanding Dictionaries in Python 3

The dictionary is Python’s built-in mapping type. Dictionaries map keys to values, making key-value pairs that can then store data. In this tutorial, we will go over the dictionary data structure in Python.

Read more
CHAT