This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" | |
Converts a large CSV into SQL, can process some of the smaller chunks | |
Based on https://plot.ly/python/big-data-analytics-with-pandas-and-sqlite/ | |
Original code probably from https://github.com/chriddyp | |
""" | |
import pandas | |
from sqlalchemy import create_engine | |
import tqdm |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
from bitarray import bitarray | |
start = "101001110001000100010010" | |
ends = ["1000000000100100", | |
"0100000011100100", | |
"1100000001100100", | |
"0010000010000100", |