Charged hadron fragmentation functions from collider data: NNPDF Collaboration