Python script functions

How to copy only some columns of a row into another table with python scripts?