Create a new column using the given data.
(data)
| 471 | |
| 472 | @staticmethod |
| 473 | def create(data): |
| 474 | """Create a new column using the given data.""" |
| 475 | if isinstance(data, Column): |
| 476 | return data.clone() |
| 477 | else: |
| 478 | return Column(data) |
| 479 | |
| 480 | def __repr__(self): |
| 481 | return repr(self.data) |
no test coverage detected