Skip to content

Instantly share code, notes, and snippets.

Marco Goldin marcogoldin

Block or report user

Report or block marcogoldin

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View tabella_prestiti_libri_bibliotu_2018.csv
biblioCode Biblioteca Titoli unici prestati Titoli in catalogo Percentuale titoli prestati sul catalogo
RM0635 BIBLIOTECA GUGLIELMO MARCONI 16425 61117 26.9 %
RM0627 BIBLIOTECA NELSON MANDELA 11968 33639 35.6 %
RM0632 BIBLIOTECA ELSA MORANTE 11561 30479 37.9 %
RM0621 BIBLIOTECA ENNIO FLAIANO 10937 21268 51.4 %
RM1417 BIBLIOTECA CORNELIA 10287 29942 34.4 %
RM1453 BIBLIOTECA SANDRO ONOFRI 9609 32044 30.0 %
RM0633 BIBLIOTECA FRANCO BASAGLIA 9595 30874 31.1 %
RM1485 BIBLIOTECA EUROPEA 9275 27930 33.2 %
RM1149 BIBLIOTECA GIANNI RODARI 9207 27141 33.9 %
View doing_it_anyway.py
import pandas as pd
from selenium import webdriver
from selenium.webdriver.firefox.options import Options
opts = Options()
opts.headless = True
driver = webdriver.Firefox(executable_path='../geckodriver', options=opts)
def crawler(codice_isbn):
driver.get('https://opac.sbn.it/opacsbn/opac/iccu/avanzata.jsp')
print(f'Titolo della pagina: {driver.title}')
View pandas_call_read_txt
pd.read_csv('https://www.metoffice.gov.uk/pub/data/weather/uk/climate/datasets/Tmin/ranked/UK.txt?fbclid=IwAR26RJZPfZYJd4GJ5bn4zmAHlXkGmDj4UPxujCIgLWFW5ErgM9AWkmpG_IM',\
skiprows=6, \
sep=' ')
You can’t perform that action at this time.