The easiest way to get an ImportError
in Python is to install Python and open a console, type the following.
from sys import ham
---------------------------------------------------------------------------
test |
s |
The easiest way to get an ImportError
in Python is to install Python and open a console, type the following.
from sys import ham
---------------------------------------------------------------------------
hex_id,total_session_count | |
880982141dfffff,1 | |
882f5aa887fffff,1 | |
8810ad7559fffff,11 | |
8830e02eddfffff,13 | |
8812d03351fffff,2 | |
88194e6a65fffff,1 | |
88101608adfffff,1 | |
8819599113fffff,1 | |
8810ad7559fffff,9 |
_etl_created_at,_etl_updated_at,aggregate_timestamp,hex_id,order_count,sum_cost,mean_cost,min_value_cost,max_value_cost,percentile_25th_cost,percentile_50th_cost,percentile_75th_cost,percentile_99th_cost,standard_deviation_cost | |
2020-03-12 12:22:1584015765,2020-03-12 12:22:1584015765,2020-03-10 00:00:1583798400,883ca96501fffff,1,311.0,311.0,311.0,311.0,311.0,311.0,311.0,311.0,0.0 | |
2020-03-12 12:22:1584015765,2020-03-12 12:22:1584015765,2020-03-10 00:00:1583798400,883ca96503fffff,1,1806.0,1806.0,1806.0,1806.0,1806.0,1806.0,1806.0,1806.0,0.0 | |
2020-03-12 12:22:1584015765,2020-03-12 12:22:1584015765,2020-03-10 00:00:1583798400,883ca96507fffff,1,2851.0,2851.0,2851.0,2851.0,2851.0,2851.0,2851.0,2851.0,0.0 | |
2020-03-12 12:22:1584015765,2020-03-12 12:22:1584015765,2020-03-10 00:00:1583798400,883ca96513fffff,1,655.0,655.0,655.0,655.0,655.0,655.0,655.0,655.0,0.0 | |
2020-03-12 12:22:1584015765,2020-03-12 12:22:1584015765,2020-03-10 00:00:1583798400,883ca96515fffff,1,755.0,755.0,755.0,755.0,755.0,755.0,755.0,755.0,0.0 | |
2020-03-12 |
from sqlalchemy import create_engine | |
engine = create_engine('sqlite:///:memory:', echo=True) | |
# engine = create_engine("mysql://scott:tiger@hostname/dbname", encoding='latin1', echo=True) | |
# engine = create_engine("postgresql://scott:tiger@localhost/test") | |
from sqlalchemy.ext.declarative import declarative_base | |
Base = declarative_base() | |
from sqlalchemy import Column, Integer, String | |
class User(Base): | |
__tablename__ = 'users' |
{ | |
"cells": [ | |
{ | |
"cell_type": "code", | |
"execution_count": 158, | |
"metadata": {}, | |
"outputs": [ | |
{ | |
"name": "stdout", | |
"output_type": "stream", |