Skip to content

Instantly share code, notes, and snippets.

import re
import numpy as np
from langdetect import detect
from sklearn.feature_extraction.text import TfidfVectorizer
from sklearn.metrics.pairwise import linear_kernel
from toolz.functoolz import pipe
def find_non_sentences(sentences: list, nlp):
non_sentences = []
@allenday
allenday / pizza-bigquery.md
Last active June 16, 2022 21:27
Retrieve and visualize Bitcoin network transactions associated with the Pizza transaction sending address.

Retrieve and visualize Bitcoin network transactions associated with the Pizza transaction sending address.

Data are from Google BigQuery public dataset (free).

Produces an image as shown below (scroll down).

R code:

library(plyr)