~/talk

Scipy and Rpy for Analysis of Public Procurement Purchases

TalkinItalianat PyCon Italia 2015 · 2015-04-17..04-19· [python]
links:none on file
slides:none on file

Aggregates ~28,000 nonconformant XML procurement records into a Postgres database (≈500k rows, €3B total, ~70k suppliers) using a forgiving XML import (GenPie “bag”) and cleaning steps. Uses SciPy (percentile_of_score) for Pareto-style analysis producing ~250k-row queries and calls R via rpy2 reading directly from Postgres to produce complex plots; multiprocessing reduced runtime from ~7 to ~4 minutes but rpy2 multiprocessing failed. Findings: in universities ~75% of purchases are under €2,000, ~80% of suppliers appear only once, and clustering reveals distinct supplier/behavior groups not correlated with size or region.

AI-written summary · about

  1. 0:00Procurement data intro
  2. 1:50Public procurement overview
  3. 3:38Importing XML data
  4. 6:04Pandas for analysis
  5. 8:14Multiprocessing speedup
  6. 9:18Excel reports
  7. 11:04R visualizations
  8. 12:08Python-R integration
  9. 13:57R statistical analysis
  10. 16:07Clustering entities
  11. 18:15Summary
  12. 20:23Q&A
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.