Categories
Python Study Notes

Python To Copy Or Not

I am a bit lost in dataframes right now, so I decided to take a step back and review compound data types. A very tricky stumbling block for me occurred when I did a simple thing: This is list a: [‘a’, ‘b’, ‘c’, ‘d’, ‘e’]This is list b: [‘a’, ‘b’, ‘c’, ‘d’, ‘e’] (output from […]

Categories
Python Study Notes

Python Type-ing for Help

I’ve been using Python Pandas to analyze the data I recently scraped from BoardGameGeek. I have used lists and dataframes, but this experience showed me how much I have to learn. The official documentation is a treasure trove of information, but can be difficult to understand. One of the first obstacles is figuring out where […]

Categories
Python Study Notes

Pausing Python Code

While working on my first web scraping program in Python3, I wanted to pause between each pull from the target site. Here is an example of how to pause Python code mid-execution: Here is an alternate form for accessing the random and time libraries: Both of these forms produce the same output: These examples show […]