Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!
Tips and Traps¶
- The
finally
statements are guaranteed to be executed (presuming no power outage or anything outside of Python's control) after atry
/except
block runs even ifreturn
,break
Select All Columns Except a Few from a Table
Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!
Comments¶
There is no (direct) way of select all columns except a few from a table using SQL. However, this is easily doable with DataFrame APIs (pandas, Spark/PySpark, etc.).