use numpy for cfstream