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
import collections | |
import csv | |
import dataclasses | |
import datetime | |
import io | |
import itertools | |
import logging | |
import os | |
import json | |
import random |
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
import collections | |
import csv | |
import dataclasses | |
import datetime | |
import io | |
import itertools | |
import logging | |
import os | |
import json | |
import random |
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
CREATE EXTERNAL TABLE ex_nyc_phil ( | |
raw_data TEXT | |
) | |
URL = 's3://<your_bucket>/' | |
OBJECT_PATTERN = '*.json' | |
TYPE = (JSON PARSE_AS_TEXT = 'TRUE'); |
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
import os | |
from dotenv import load_dotenv | |
from firebolt.client.auth import UsernamePassword | |
from firebolt.db import connect | |
import streamlit as st | |
import altair as alt | |
import pandas as pd | |
import matplotlib.pyplot as plt |