I hereby claim:
I am asheone on github. I am asheone (https://keybase.io/asheone) on keybase. I have a public key ASCEu2Q86PL8dzcHtECvowGeGaoVL2IpzjOhuKmeJV7x9wo To claim this, I am signing this object:
{
"body": {I hereby claim:
I am asheone on github. I am asheone (https://keybase.io/asheone) on keybase. I have a public key ASCEu2Q86PL8dzcHtECvowGeGaoVL2IpzjOhuKmeJV7x9wo To claim this, I am signing this object:
{
"body": {| with data as | |
| ( | |
| select | |
| created_at::date as date, | |
| count(posts) | |
| from posts | |
| group by 1 | |
| ) | |
| select | |
| date, |
| CREATE FUNCTION weekdays(date, date) RETURNS integer | |
| AS 'select $1 - $2;' | |
| LANGUAGE SQL | |
| IMMUTABLE | |
| RETURNS NULL ON NULL INPUT; |
| clc | |
| % Script written and validated in R2017b MatLab version(9.3.0.713579) | |
| % Work of Lukasz Aszyk | |
| %% Import data and store it in BankTable and TestData variables | |
| % This are initial datasets provided by UCI. Further investigation led to | |
| % own dataset separation given the fact the test dataset wasn't erased | |
| % from training dataset which led to 100% accuracy in built models. |
| #Import useful libraries | |
| library(stringr) | |
| library(tidyr) | |
| library(readr) | |
| library(reshape2) | |
| #Import data files and separate columns by tab: | |
| emigration <- read_delim("~/Documents/szkola_uk/Visual Analytics/coursework/migr_emi2.tsv", | |
| "\t", escape_double = FALSE) | |
| immigration <- read_delim("~/Documents/szkola_uk/Visual Analytics/coursework/data/migr_imm8.tsv", |
| __author__ = 'actt811' | |
| # noinspection PyPep8Naming | |
| def printMonth(year, month): | |
| return | |
| def printMonthTitle(year, month): | |
| print('') |
| allGuests = {'Alice': {'apples': 5, 'pretzels':12}, | |
| 'Bob': {'ham sandwitches': 3, 'apples':2}, | |
| 'Carol': {'cups': 3, 'apples pies': 1}} | |
| def totalBrought(guests, item): | |
| numBrought = 0 | |
| for k, v in guests.items(): | |
| numBrought = numBrought + v.get(item,0) | |
| return numBrought | |
| print('Number of things being brought: ') |
| birthdays = {'Alice': 'Apr 1', 'Bob': 'Dec 12', 'Carol': 'Mar 4'} | |
| while True: | |
| name = str(input('Enter a name: (blank to quit) ')) | |
| if name == '': | |
| break | |
| if name in birthdays: | |
| print(birthdays[name] + ' is the birthday of ' + name) | |
| else: |
| grid = [['.', '.', '.', '.', '.', '.'], | |
| ['.', '0', '0', '.', '.', '.'], | |
| ['0', '0', '0', '0', '.', '.'], | |
| ['0', '0', '0', '0', '0', '.'], | |
| ['.', '0', '0', '0', '0', '0'], | |
| ['0', '0', '0', '0', '0', '.'], | |
| ['0', '0', '0', '0', '.', '.'], | |
| ['.', '0', '0', '.', '.', '.'], | |
| ['.', '.', '.', '.', '.', '.']] | |
| x = len(grid) - 1 # number of lines = 8 |