[Python stream] Add integral