Fit sigmoid function ("S" shape curve) to data using Python Fit sigmoid function ("S" shape curve) to data using Python python-3.x python-3.x