Np-Full
Sat 17 May 2025
import pyutil as pyu
pyu.get_local_pyinfo()
'conda env: ml312-2024; pyv: 3.12.7 | packaged by Anaconda, Inc. | (main, Oct 4 2024, 13:27:36) [GCC 11.2.0]'
print(pyu.ps2("pandas"))
pandas==2.2.3
from functools import reduce
product = reduce((lambda x, y: x * y), [1, 2, 3, 4])
product
24
import numpy as np
sizes = np.full((10), 7, dtype=int)
sizes
array([7, 7, 7, 7, 7, 7, 7, 7, 7, 7])
Score: 10
Category: pandas