def list_to_number(column):
    """
      Turns a columns of 0s and 1s to an integer

      Args:
        column: List of 0s and 1s to turn into a number
    """
    # Cast column integers to strings
    column = [str(cell) for cell in column]
    # Turn to an integer with base2
    return int(''.join(column), 2)