Python Keep Rows Based Texture