dropEmptyColumns¶
- lsst.ap.association.dropEmptyColumns(apdbSchema, sourceTable, tableName)¶
- Drop empty columns that are nullable. - This method uses the table definitions in - sdm_schemasto load the schema of the APDB, and does not actually connect to the APDB.- Parameters:
- apdbSchemadict[str,lsst.dax.apdb.schema_model.Table]
- Schema from - sdm_schemascontaining the table definition to use.
- sourceTablepandas.DataFrame
- The input table to remove missing data columns from. 
- tableNamestr
- Name of the table in the schema to use. 
 
- apdbSchema