6 Posts

Python

Common errors with Pandas, Sklearn and Tensorflow/Keras

Common errors with Pandas, Sklearn and Tensorflow/Keras

This is a live document that I’ll update as I find more and more of these. Pandas InvalidIndexError: Reindexing only valid with uniquely valued Index …

Flask Login WITHOUT a library - Minimal tutorial

Flask Login WITHOUT a library - Minimal tutorial

The reason why many of us use flask is that it has less black magic than Django. We want a minimal web framework that we can fully understand nad modify just by …

Pyautogui: Common problems and fixes (Python RPA)

Pyautogui: Common problems and fixes (Python RPA)

locateOnScreen is not working, or is returning None all the time (Mac OS/OS X) Step 1. Verify that you’re able to take a screenshot To do this, run the …

How to get historical price data using CCXT (over 500 and 1000 rows)

How to get historical price data using CCXT (over 500 and 1000 rows)

If you want to download crypto price data using Binance or other exchanges’ API, you’ll soon find it’s not possible to download everything at …

Python Checklist

Python Checklist

Disable scientific notation. I wrote a whole post describing why it’s a good idea NOT to use scientific notation. Here’s the code for both pandas …

Why I HATE numpy's scientific notation and how to fix it

Why I HATE numpy's scientific notation and how to fix it

This is a RANT. If you're a math nazi, you'll be offended by this. Scientific notation is **rarely** useful. If you understand anything about statistics and the …