Skip to content

Instantly share code, notes, and snippets.

View erusso7's full-sized avatar

Ezequiel Russo erusso7

  • Barcelona
View GitHub Profile
@erusso7
erusso7 / clean_csv_data.sql
Last active December 15, 2022 22:14
Corrupt creditcard dataset and output the result
-- 1: We need to create the table to read the data
CREATE TABLE IF NOT EXISTS hive.fraud.fraud_data
(
time VARCHAR,
v1 VARCHAR,
v2 VARCHAR,
v3 VARCHAR,
v4 VARCHAR,
v5 VARCHAR,

Kaggle example adapted to run in RHODS sandbox

This document explains how to adapt the original JH notebook from Kaggle to run it in the RedHat Openshift Data Science sandbox.

Import section

Original

import pandas as pd
import numpy as np 
import tensorflow as tf