Math

bootstrap_plot() – Pandas Plotting Module

A bootstrap plot is a graphical representation of uncertainty in a characteristic chosen from within a population. While we can usually calculate data confidence levels mathematically, gaining access to the desired characteristics from some populations is impossible or impracticable. In this case, bootstrap sampling and the bootstrap plot come to our aid. This article will …

bootstrap_plot() – Pandas Plotting Module Read More »

Plotting a Load-Duration Curve with Python

You can check out the code in this article in the interactive Jupyter notebook here (Google Colab). Introduction A popular query in Google is about load-duration curves. Some of the questions are: What is a load-duration curve? What is the importance of a load-duration curve? How do you calculate a load-duration curve? What is the …

Plotting a Load-Duration Curve with Python Read More »

Python Print Float Without Decimal Points

Problem Formulation Given a floating point number x = 123.456. How to print the number without decimal remainder? Solution 1: int() Python’s built-in function int(x) converts any float number x to an integer by truncating it towards 0. For example, positive int(1.999) will be truncated to 1 and negative int(-1.999) to -1. To boost your …

Python Print Float Without Decimal Points Read More »