Five ways to get help in Python

June 21, 2021 | George Mount

In an earlier blog post I offered five ways to get help in R. This post serves as the Python equivalent, assuming you are working in Jupyter notebooks. 0. Web search it This one seems obvious, but is worth pointing out. If you get an error message, plug it into a ... [...Read more...]

Using WITH For Neater SQL

June 21, 2021 | John Mount

  I’d like to work an example of using SQL WITH Common Table Expressions to produce more legible SQL. A major complaint with SQL is that it composes statements by right-ward nesting. That is: a sequence of operations A -__ B -__ C is represented as SELECT C FROM SELECT […] [...Read more...]

A tour of Python + Jupyter Notebooks

June 13, 2021 | George Mount

In an earlier post I offered a tour of RStudio, the popular integrated development environment and my preferred interface for teaching R. With Python, I favor Jupyter notebooks so figured a similar tour would be worth it. This post lays out the basics of Jupyter, how to navigate the interface, ...
[...Read more...]

Scrapy with a Rotating Tor Proxy

June 9, 2021 | Python | datawookie

This post shows an approach to using a rotating Tor proxy with Scrapy. I’m using the scrapy-rotating-proxies download middleware package to rotate through a set of proxies, ensuring that my requests are originating from a selection of IP addresses. However, I need to have those IP addresses evolve over ... [...Read more...]

data_algebra 0.7.0 What is New

June 7, 2021 | John Mount

I’ve been tinkering a lot recently with the data_algebra, and just released version 0.7.0 to PyPi. In this note I’ll touch on what the data algebra is, what the new features are, and my plans going forward.     The data algebra The data algebra is a modern realization of […] [...Read more...]
1 2 3 56