NEP 9 — 結構化陣列擴展#
- 狀態:
已延遲
建立 with-style 上下文,使「具名欄位」可用作命名空間中的名稱。
- with np.columns(array)
price = unit * quantity
允許結構化陣列依其欄位切片(即結構化陣列的一個額外索引選項),以便允許 a[:4, ‘foo’:’bar’]。
已延遲
建立 with-style 上下文,使「具名欄位」可用作命名空間中的名稱。
- with np.columns(array)
price = unit * quantity
允許結構化陣列依其欄位切片(即結構化陣列的一個額外索引選項),以便允許 a[:4, ‘foo’:’bar’]。