Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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 -*- | |
import pandas as pd | |
import numpy as np | |
df_raw = pd.read_csv('temperatura_alertario_raw.csv', sep=',', encoding='utf-8') |
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 -*- | |
import pandas as pd | |
import numpy as np | |
df_raw = pd.read_csv('temperatura_alertario_raw.csv', sep=',', encoding='utf-8') |
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
###########Bibliotecas######## | |
#se nao tiver instalada, e necessario usar o comando | |
#install.packages("nome_da_biblioteca") | |
library(tm) | |
library(wordcloud) | |
library(RColorBrewer) | |
###################################### | |
#seta o folder de trabalho. é preciso passar o caminho completo até a pasta onde estao os dados | |
setwd("/home/caminho/para/psta_local/dos_dados") |
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
# 24-10-14: v01 alometria para rendimento CN | |
# 30-10-14 v02 adicionado o mecanismo de interacao e de morte JM | |
# 05-11-14 v02 adicionado o mecanismo de contador de encontros JM | |
# 05-11-14 v02 adicionado o tamanho da cidade como um fator da populacao e o BS JM | |
import math | |
import psycopg2 | |
import numpy as np | |
import random as rn | |
import matplotlib.pyplot as plt |