Skip to content

Instantly share code, notes, and snippets.

@xmnlab
xmnlab / DocStringProposal.ipynb
Created November 6, 2019 21:36
Doc String template
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@xmnlab
xmnlab / backend-notes.md
Created September 7, 2019 17:37
backend notes
@xmnlab
xmnlab / omniscidb_geopandas_output.py
Last active June 24, 2019 18:02
omniscidb - workaround to use geopandas output
# workaround to use geopandas output
import pandas as pd
import geopandas as gpd
import geoalchemy2.shape as shape
import shapely.wkt
from pymapd.cursor import Cursor
from ibis.sql.compiler import DDL, DML
from ibis.mapd.client import MapDCursor
@xmnlab
xmnlab / iinput.py
Last active November 10, 2016 20:03
iinput
def iinput():
while True:
v = input('Name: ')
if not v:
break
yield v
[print(v) for v in iinput()]