pandera.DataFrameSchema.update_column

DataFrameSchema.update_column(column_name, **kwargs)[source]

Create copy of a DataFrameSchema with updated column properties.

Parameters
  • column_name (str) –

  • kwargs – key-word arguments supplied to Column

Return type

DataFrameSchema

Returns

a new DataFrameSchema with updated column