![](/img/trans.png)
[英]Fetch data using Beautifulsoup and store it into a dictionary Python
[英]Cleaner way to store store data using dictionary
我想知道是否有一種更清潔的方式來存儲這些信息:
arr1 = arr[arr1inds]
arr2 = arr[arr2inds]
arr3 = arr[arr3inds]
arr4 = arr[arr4inds]
arr5 = arr[arr5inds]
arr6 = arr[arr6inds]
arr7 = arr[arr7inds]
去二維:
arr2d = []
arr2d[1] = arr[arr1inds]
arr2d[2] = arr[arr2inds]
arr2d[3] = arr[arr3inds]
...
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.