Skip to content

Instantly share code, notes, and snippets.

View amitkaps's full-sized avatar

Amit Kapoor amitkaps

View GitHub Profile
Country,Continent,Year,Population,LifeExpectancy,GdpPerCapita
Afghanistan,Asia,1952,8425333,28.801,779.4453145
Afghanistan,Asia,1957,9240934,30.332,820.8530296
Afghanistan,Asia,1962,10267083,31.997,853.10071
Afghanistan,Asia,1967,11537966,34.02,836.1971382
Afghanistan,Asia,1972,13079460,36.088,739.9811058
Afghanistan,Asia,1977,14880372,38.438,786.11336
Afghanistan,Asia,1982,12881816,39.854,978.0114388
Afghanistan,Asia,1987,13867957,40.822,852.3959448
Afghanistan,Asia,1992,16317921,41.674,649.3413952
@amitkaps
amitkaps / airports.csv
Created August 23, 2018 09:22
Airports
We can't make this file beautiful and searchable because it's too large.
id,name,city,country,iata,icao,latitude,longitude,altitude,timezone,dst,tz,type,source
1,Goroka Airport,Goroka,Papua New Guinea,GKA,AYGA,-6.081689834590001,145.391998291,5282,10,U,Pacific/Port_Moresby,airport,OurAirports
2,Madang Airport,Madang,Papua New Guinea,MAG,AYMD,-5.20707988739,145.789001465,20,10,U,Pacific/Port_Moresby,airport,OurAirports
3,Mount Hagen Kagamuga Airport,Mount Hagen,Papua New Guinea,HGU,AYMH,-5.826789855957031,144.29600524902344,5388,10,U,Pacific/Port_Moresby,airport,OurAirports
4,Nadzab Airport,Nadzab,Papua New Guinea,LAE,AYNZ,-6.569803,146.725977,239,10,U,Pacific/Port_Moresby,airport,OurAirports
5,Port Moresby Jacksons International Airport,Port Moresby,Papua New Guinea,POM,AYPY,-9.443380355834961,147.22000122070312,146,10,U,Pacific/Port_Moresby,airport,OurAirports
6,Wewak International Airport,Wewak,Papua New Guinea,WWK,AYWK,-3.58383011818,143.669006348,19,10,U,Pacific/Port_Moresby,airport,OurAirports
7,Narsarsuaq Airport,Narssarssuaq,Greenland,UAK,BGBW,61.1604995728,-45.4259986877,1
@amitkaps
amitkaps / vis.py
Created July 30, 2018 03:49
Visualisation helpers for DL Workshop
import numpy as np
import pandas as pd
import altair as alt
import matplotlib.pyplot as plt
from mpl_toolkits.mplot3d import Axes3D
from keras.preprocessing.image import ImageDataGenerator
@amitkaps
amitkaps / index.js
Created January 30, 2018 21:06
Gist from mistakes.io
"hello, world"; // edit this to begin
@amitkaps
amitkaps / LICENSE
Created August 12, 2017 21:20
Unit Chart Stacked Vega
The MIT License (MIT)
Copyright (c) 2017 Amit Kapoor
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
@amitkaps
amitkaps / LICENSE
Created August 12, 2017 11:29
Unit Chart Small Multiple
The MIT License (MIT)
Copyright (c) 2017 Amit Kapoor
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
@amitkaps
amitkaps / LICENSE
Last active August 12, 2017 14:47
Unit Chart Stacked
The MIT License (MIT)
Copyright (c) 2017 Amit Kapoor
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
@amitkaps
amitkaps / LICENSE
Last active August 12, 2017 11:27
Unit Chart Rectangular
The MIT License (MIT)
Copyright (c) 2017 Amit Kapoor
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
@amitkaps
amitkaps / LICENSE
Created August 10, 2017 01:06
Bar Brushing Rule
The MIT License (MIT)
Copyright (c) 2017 Amit Kapoor
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
@amitkaps
amitkaps / LICENSE
Last active November 30, 2023 12:06
Scatter Brushing Rule
The MIT License (MIT)
Copyright (c) 2017 Amit Kapoor
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions: