README is empty
We can make this file beautiful and searchable if this error is corrected: Unclosed quoted field in line 3.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Time,Headline,Year,End Year,Text,Media,Place,Location,Location_Original,Source,Source URL | |
,"Damian, Peter",1007,1072,"Saint Peter Damian, O.S.B. (Petrus Damiani, also Pietro Damiani or Pier Damiani; c. 1007 – February 21/22, 1072) was a reforming monk in the circle of Pope Gregory VII and a cardinal. In 1823, he was declared a Doctor of the Church. Dante placed him in one of the highest circles of Paradiso as a great predecessor of Saint Francis of Assisi.",http://upload.wikimedia.org/wikipedia/commons/4/4e/Peter_Damian_bust.JPG,"Tuscany, Italy","43.4586541,11.1389204","43.4586541,11.1389204",Wikipedia, | |
,Anselm,1033,1109,"Anselm of Canterbury (c. 1033 – 21 April 1109), also called of Aosta for his birthplace, and of Bec for his home monastery, was a Benedictine monk, a philosopher, and a prelate of the Church who held the office of Archbishop of Canterbury from 1093 to 1109. Called the founder of scholasticism, he has been a major influence in Western theology and is famous as the originator of the ontologica |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
from frictionless import Detector | |
import line_profiler | |
lp = line_profiler.LineProfiler() | |
def test_schema_from_synthetic_sparse_sample(confidence): |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
print("hello world") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Verifying my Blockstack ID is secured with the address 1FkSUS9k75aLof4hYQEaQUsv5K6vSaNG3q https://explorer.blockstack.org/address/1FkSUS9k75aLof4hYQEaQUsv5K6vSaNG3q |
I hereby claim:
- I am aivuk on github.
- I am aivuk (https://keybase.io/aivuk) on keybase.
- I have a public key whose fingerprint is 9A00 C288 92E6 1CA8 871A 6A1E 28F1 57A8 FA68 A0AF
To claim this, I am signing this object:
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
library(plyr) | |
library(ggplot2) | |
x <- data.frame(a=runif(100,0,1),b=runif(100,0,1),c=runif(100,0,1),d=runif(100,0,1)) | |
y <- data.frame(a=runif(5,0,1),b=runif(5,0,1),c=runif(5,0,1),d=runif(5,0,1)) | |
df <- rbind(x,y) | |
df['idx'] <- seq(1,nrow(df)) | |
mdf <- melt(df, id.vars = 'idx') | |
colors <- c(laply(seq(0, 1, 1/(nrow(x) - 1)), function(x) rgb(0,0,0,x)), rep('#FF0000', nrow(y))) | |
mdf['color'] <- rep(colors, length(x)) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Converte o arquivo RDF em http://dados.gov.br/dataset/orcamento-federal/resource/edf2263a-f8d9-48d9-b25d-6863d16ce0b0?inner_span=True | |
import re | |
loa_file = open('./loa.items') | |
numero_items = 375960 | |
item_re = re.compile(r'<[^>]+/([^>]+)>.*/([^>]+)>') | |
item_value_re = re.compile(r'<[^>]+/([^>]+)>.* "(.*)"\^\^.*') | |
s = '' | |
for i in range(numero_items): |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import pandas as pd | |
# Carrega planilha A | |
planilha_A = pd.read_excel('basedadosexecucao2003.xls') | |
# Carrega planilha B | |
planilha_B = pd.read_excel('basedadosexecucao2004.xls') | |
# Gera nova planilha concatenando planilha A e B | |
planilha_agrupada = pd.concat([planilha_A, planilha_B]) | |
# Salva no arquivo 'agrupada.xls' | |
planilha_agrupada.to_excel('agrupada.xls') |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from IPython.display import HTML, Javascript, display | |
js = """ | |
var botao = $('<button class="toogle-button" id="botao">Mostrar/ocultar célula</button>'); | |
botao.click(function(event) { | |
var cell = $(".selected", document); | |
var input_area = $(".input_area", cell); |
NewerOlder