## Jupyter Password: Easy Notebook and Lab Configuration

Are you tired of hunting for tokens in Jupyter Notebook / Jupyter lab? Setting a password for both only takes a few minutes. Learn how in this article.

## Creating a Python Interactive Plot Using Matplotlib in Jupyter

While static plots tell a story with data, interactive plots let your users explore that story on their own. Simple interactive plots allow for basic operations like scaling or panning a view, which is often necessary to make the data relationships appear at all. More advanced plots allow the user to select features, filter or … Read more

## How to Use the Pandas Groupby Method?

Contents What is The Pandas Groupby Function? The groupby function in Pandas is a powerful and versatile tool in Python. Using this method, we may split our data, apply different operations to different subsets, and then merge the final results. This may be used to process enormous amounts of data for various computations. This tutorial … Read more

## SciPy vs. SymPy for Symbolic Math: Let Us Never Speak of This Again

In a recent article about SymPy, I included a section on SymPy vs. SciPy. In it, I made the claim that SciPy where I said that it has excellent support for functionality that overlaps SymPy. I also made the qualified prediction in the conclusion that “Although I also resolved to spend more time researching and … Read more

## SymPy: Solving Math Equations in Python and Jupyter

SymPy is a Python library for symbolic mathematics. It’s free and open source, and because it’s written entirely in Python, it’s easy to install and use. Symbolic math software tools, also called Computer Algebra Systems (CAS), allow you to work with mathematical equations more or less as you would on paper. For example, you can … Read more

## Python Shell Programming: Overview and Top Tools

If you ask developers about Python, those who love it may tell you that it’s a powerful, object-oriented, multi-purpose language. They’ll also say it supports many use cases, including back support for back-end web development, data science, cloud programming, and more. On the other hand, those who hate it may tell you it’s “just a … Read more

## Debugging Python in VS Code

Introduction Using VS Code as a Python IDE has many advantages. It is faster than PyCharm, and it is also a great general editor. That means you can use the same editor and keyboard shortcuts for Python as you use to edit your Bash scripts, JavaScript, and whatever else you may need to do. Unlike … Read more

## Python With: Using and Writing Context Managers in Python

If you’re an experienced programmer who started in Python, you’re probably at least familiar with the basic uses of the with statement. The with statement in Python is an elegant way to manage resources, and is most famously implemented by Python’s open function. Here’s a simple example that prints its own contents and exits. Again, … Read more

## Python Indexing and Slicing: Complete Tutorial With Hands-On Exercises

Almost all Python developers encounter indexing early on when they learn about lists. As you probably already know, Python lists have zero-based indexes. That is to say, given a list named movies, for example, movies[0] returns the first element in the ist, while movies[len(movies)-1] returns the last element. So far, there’s nothing to see here, … Read more

## Python Docker Examples: SageMath in a Container

In my recent article Introducing SageMath: Symbolic Math Software in Python, I discussed some issues I had encountered with some of SageMath’s installation options, and that I got it installed and working well on a Mac using the binary downloads that are available. I also hinted that I was able to create a Docker container … Read more