Skip to content

Instantly share code, notes, and snippets.

View djs-basil-sys's full-sized avatar

Daniel Szemiako djs-basil-sys

  • Basil Systems, Inc.
  • Brooklyn, NY
View GitHub Profile
import pandas as pd
from datetime import datetime
from itertools import combinations
from math import comb
from sys import argv
from time import monotonic
from typing import List
MAX_FAMILY_TOKENS = 6
import pandas as pd
from datetime import datetime
from rapidfuzz.process import extractOne
from string_grouper import match_strings, group_similar_strings
from sys import argv
from time import monotonic
from uuid import uuid4
class Constants:
# Make sure the source index is actually open
POST /source_index/_open
# Put the source index in read-only mode
PUT /source_index/_settings
{
"settings": {
"index.blocks.write": "true"
}
}