new pandas writting
keep consecutive rows