Missing Columns

For this week Friday’s Function is a utility to check the availability of required columns.

When we create a graph of Y versus X, we assume that the X and Y columns exist.  The same is true when we join data and select specific columns.  Often it is reasonable to just assume that these columns exist, but sometimes that assumption needs to be verified.

It’s quite common for me to assume that the columns exist, but make that assumption explicit with an assertion:


One thought on “Missing Columns”

Leave a Reply

Your email address will not be published.