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 pandas as pd | |
from cryptography.fernet import Fernet | |
# Create a test dataframe with 3 columns. The first column is an index, the second are random float values and third are one of three types (Delta, Gamma, Vega) | |
test_df = pd.DataFrame( | |
{ | |
"index": [1, 2, 3], | |
"trader_name": ['Luis Arteaga', 'Peter Meier', 'Max Mustermann'], | |
"trader_group": ["Delta", "Gamma", "Vega"] |
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
/* Setup */ | |
USE DATABASE FROSTY_FRIDAY; | |
USE SCHEMA PUBLIC; | |
USE WAREHOUSE COMPUTE_WH; | |
/* Create external stage */ | |
CREATE STAGE WEEK1_BASIC_S3_BUCKET | |
url = 's3://frostyfridaychallenges/challenge_1/'; | |
/* Explore data in stage */ |
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 ntpath | |
from selenium import webdriver as webdriver | |
from selenium.webdriver.common.by import By | |
import re | |
import csv | |
class Configuration: | |
""" | |
This class contains the information about the chrome driver and the details about website to be crawled |
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
#====#====#====#====#====#====#====# Initialization #====#====#====#====#====#====#====#==== | |
library(tidyverse) # enthalten: ggplot2, dplyr, tidyr, readr, purr, tibble, stringr, forcats | |
library(rstudioapi) | |
library(lubridate) | |
library(plotly) | |
library(bsts) | |
library(feather) | |
options(stringsAsFactors = FALSE, # Zeichen enthalten eine Labels in Ganzzahlen Form | |
scipen = 999) # Wissenschaftliche Notation ist deaktiviert |