<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def from_array(cls, arr):
 """Convert a structured NumPy array into a Table."""

        return cls().with_columns([(f, arr[f]) for f in arr.dtype.names])