Quantcast
Channel: Shane Lynn
Browsing all 38 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

Batch Geocoding in Python with Google Geocoding API

Geocode your addresses for free with Python and Google For a recent project, I ported the “batch geocoding in R” script over to Python. The script allows geocoding of large numbers of string addresses...

View Article


Image may be NSFW.
Clik here to view.

Merge and Join DataFrames with Pandas in Python

In any real world data science situation with Python, you’ll be about 10 minutes in when you’ll need to merge or join Pandas Dataframes together to form your analysis dataset. Merging and joining...

View Article


Image may be NSFW.
Clik here to view.

Using big data to create better mobile video games

** Sponsored post ** A lot of modern-day games, especially the ones being developed for mobile, are built on business models revolving around data. Understanding how the audience thinks and responds...

View Article

Pandas CSV error: Error tokenizing data. C error: EOF inside string starting...

Tokenizing Error Recently, I burned about 3 hours trying to load a large CSV file into Python Pandas using the read_csv function, only to consistently run into the following error:ParserError Traceback...

View Article

Image may be NSFW.
Clik here to view.

The Irish Property Price Register – Geocoded to Small Areas

Data Download Links In this post, I’ve added GPS coordinates to the Property Price Register (PPR) data from years 2012-2017 (approx 220k property sales). Read below to find the method used to generate...

View Article


Image may be NSFW.
Clik here to view.

The Pandas DataFrame – loading, editing, and viewing data in Python

Starting out with Python Pandas DataFrames If you’re developing in data science, and moving from excel-based analysis to the world of Python, scripting, and automated analysis, you’ll come across the...

View Article

Image may be NSFW.
Clik here to view.

Get Busy with Word Embeddings – An Introduction

This post provides an introduction to “word embeddings” or “word vectors”. Word embeddings are real-number vectors that represent words from a vocabulary, and have broad applications in the area of...

View Article

Image may be NSFW.
Clik here to view.

Word Embeddings in Python with Spacy and Gensim

This post follows on from the previous “Get Busy with Word Embeddings” post, and provides code samples and methods for you to use and create Word Embeddings / Word Vectors with your systems in Python....

View Article


Image may be NSFW.
Clik here to view.

Python Pandas read_csv – Load Data from CSV Files

CSV (comma-separated value) files are a common file format for transferring and storing data. The ability to read, manipulate, and write data to and from CSV files using Python is a key skill to master...

View Article


Image may be NSFW.
Clik here to view.

Plotting with Python and Pandas – Libraries for Data Visualisation

Anyone familiar with the use of Python for data science and analysis projects has googled some combination of “plotting in python”, “data visualisation in python”, “barcharts in python” at some point....

View Article

Data Visualisation in Python – Pycon Dublin 2018 Presentation

The ability to explore and grasp data structures through quick and intuitive visualisation is a key skill of any data scientist. Different tools in the Python ecosystem required varying levels of...

View Article

Image may be NSFW.
Clik here to view.

Bar Plots in Python using Pandas DataFrames

Table Of ContentsBar Plots – The king of plots?Editing environmentGetting started: Bar charting numbersDataframe.plot.bar()Bar labels in plotsLabelling axes and adding plot titlesRotate the x-axis...

View Article

Plot your Fitbit data in Python (API v1.2)

Introduction Sleeping, and python. Two of my favourite things, when combined with the the Python Fitbit library, Matplotlib, and Pandas, can generate informative plots of your sleeping habits! This...

View Article


Pandas Drop: Delete DataFrame Rows & Columns

Learn how to delete rows & columns from Python Pandas DataFrames using drop(). For large removals, delete rows based on column values using iloc and loc. The post Pandas Drop: Delete DataFrame Rows...

View Article

PostgreSQL: Find slow, long-running and Blocked Queries

If you run a PostgreSQL database, use pg_stat_activity to find and identify slow and blocked processes and queries, with the query text and responsible user quickly. pg_blocking_pids and pg_locks will...

View Article


How to Build a Sentiment and Entity Detection API with Python (1/2)

Sentiment analysis and entity detection are key elements of NLP pipelines today. In this tutorial we'll build a FastAPI based API that can process text passages from HTTP requests to detect sentiment...

View Article

Build a Sentiment & Entity Detection API with FastAPI (2/2)

Part 2/2 of our tutorial on using FastAPI, Flair, Spacy to create a powerful NLP sentiment and entity detection API with Python in less than 70 lines of code. The post Build a Sentiment & Entity...

View Article


Electric Car Prices in Ireland for 2023

Electric car prices for Ireland in 2023, compared by range and car body type and visualised using plotly. MG comes out on top! The post Electric Car Prices in Ireland for 2023 first appeared on Shane...

View Article
Browsing all 38 articles
Browse latest View live