Lee Vaughan

AI

USGS DEM Files: How to Load, Merge, and Crop with Python

QUICK SUCCESS DATA SCIENCE A quick guide to prepping digital elevation data Lee Vaughan · Follow Published in Towards Data Science · 11 min read · 2 hours ago — United States Geological Survey Digital Elevation Model (by the author) A Digital Elevation Model (DEM) is a 3D digital representation of the earth’s surface. It records the height above sea level for various points, which may be measured using traditional surveying techniques, LIDAR, satellite imagery,

Read More »
AI

How to Make Proximity Maps with Python

QUICK SUCCESS DATA SCIENCE Geopy’s great circle method Lee Vaughan · Follow Published in Towards Data Science · 11 min read · 16 hours ago — Distance map from Mississippi State University (by author) Have you noticed some of the “distance from” maps on social media? I just saw one by Todd Jones that shows how far you are from a national park at any location in the Lower 48 States. These proximity maps are

Read More »
AI

Introducing NumPy, Part 4: Doing Math with Arrays

Quick Success Data Science Plus reading and writing array data! Lee Vaughan · Follow Published in Towards Data Science · 11 min read · 3 hours ago — An array doing math as imagined by DALL-E3 Welcome to the fourth and final edition of the beginner series, Introducing NumPy! In the previous articles, we reviewed NumPy’s workhorse arrays: what they are and how to create them (Part 1); how to index and slice them (Part

Read More »
AI

Introducing NumPy, Part 3: Manipulating Arrays

Shaping, transposing, joining, and splitting arrays Lee Vaughan · Follow Published in Towards Data Science · 8 min read · 9 hours ago — Manipulating an array as imagined by DALL-E3 Welcome to Part 3 of Introducing NumPy, a primer for those new to this essential Python library. Part 1 introduced NumPy arrays and how to create them. Part 2 covered indexing and slicing arrays. Part 3 will show you how to manipulate existing arrays

Read More »
AI

An Easy Way to Remove Tourists from Photos

Quick Success Data Journalism Image cleanup with Python, PIL, and OpenCV Lee Vaughan · Follow Published in Towards Data Science · 8 min read · 12 hours ago — Photo of the Taj Mahal by DALL-E3 If you take photographs of famous landmarks or do any astrophotography, you’re probably aware of image stacking. This is a process where you take many stationary pictures and then stack (average) them together to remove noise or other unwanted

Read More »
AI

Chart Wars: Pie Chart vs. Sorted Radial Bar Chart

Quick Success Data Science Have your pie and eat it too! Lee Vaughan · Follow Published in Towards Data Science · 8 min read · 11 hours ago — A sorted radial bar chart (by the author) Bar charts may be the King of Charts, but let’s face it, they’re boring. Some popular alternatives, like pie charts, aren’t much better. Here’s a pie chart showing where Germany got its electricity in 2023:

Read More »
AI

Comparing Country Sizes with GeoPandas

Quick Success Data Science How to project, shift, and rotate geospatial data Lee Vaughan · Follow Published in Towards Data Science · 12 min read · 10 hours ago — I live in Texas (Yee-hah!), and we love comparing Texas to other states, countries, islands, asteroids, you name it. We’ll even compare Texas to Texas:

Read More »
AI

Introducing Time Series in pandas

Quick Success Data Science A beginner’s guide to handling dates and times Lee Vaughan · Follow Published in Towards Data Science · 25 min read · 12 hours ago — Panda time by DALL-E3 Data referenced to a time index is called a time series. Think of stock prices, temperature readings, and Google Trends. While I don’t know anyone who likes working with time series, Python does its best to make it as easy as

Read More »
AI

Decoding Writing Success on Medium

Quick Success Data Science A data-driven approach Lee Vaughan · Follow Published in Towards Data Science · 12 min read · 4 hours ago — Line chart of Medium followers and earnings (by author) If you write on Medium, you’re likely aware of the abundant statistics the platform provides about your stories and audience. A deep dive into these stats can reveal useful insights into your current performance and how you can enhance it going

Read More »
AI

A Data Science Project for Eclipse Watchers

Quick Success Data Science Record the solar light curve Lee Vaughan · Follow Published in Towards Data Science · 6 min read · 11 hours ago — The diamond ring effect just before totality during the 2017 solar eclipse (by the author) I live only a couple hours’ drive from the path of totality for this year’s eclipse, and it drives me crazy when people say that they’re staying home because “95% of the sun

Read More »