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 json | |
| import requests | |
| import pandas | |
| from pandas.io.json import json_normalize | |
| import geopandas as gpd | |
| import matplotlib.pyplot as plt | |
| url = "https://smn.conagua.gob.mx/tools/PHP/sivea/siveaEsri2/php/temp_genjson.php?per=T3" | |
| resp = requests.get(url) | |
| data = resp.json() |
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
| Diagrama Xalapa | |
| 44.4,46.7,41.4,65.9,110.8,278,206.1,164.9,255,89.4,58.7,50 | |
| 15.7,16.6,18.8,21.1,22,21.7,20.7,20.8,20.4,19.3,17.8,16.4 | |
| Diagrama Perote | |
| 13.3,14.2,11.1,26.2,34.8,74.9,53.3,54.6,110.8,76,24.8,13.8 | |
| 9.9,10.9,13.3,14.9,15.4,14.7,13.6,13.4,13.4,12,10.7,12.7 | |
| Diagrama Paso de ovejas | |
| 14.8,10.2,8.6,10.6,32.3,172.6,239,180.5,161.3,61.2,27.8,14.7 | |
| 21.4,22.2,24.3,26.7,28.2,28.1,26.7,26.9,26.9,25.8,24.2,22.1 | |
| Diagrama las Vigas |
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 random | |
| def quicksort_iterativo(lista: [int]) -> [int]: | |
| ''' Una implementaci贸n del mismo algoritmo que conoces y amas, pero sin | |
| utilizar recursi贸n, solo bucles y una pila ''' | |
| ordenada = lista[:] | |
| pila = [(0, len(lista) - 1)] |
OlderNewer