Numpy-Pandas

Wed 12 November 2025
import pyutil as pyu
pyu.get_local_pyinfo()
'conda env: py311; pyv: 3.11.9 (main, Apr 19 2024, 16:48:06) [GCC 11.2.0]'
print(pyu.ps2("pandas"))
pandas==2.2.3
import pandas as pd;
import numpy as np;
sizes = np.full((10), 8, dtype=int);    
print(sizes);
[8 8 8 8 8 8 8 8 8 8]
from functools import reduce
product = reduce((lambda x, y: x * y), [1, 2, 3, 4])
print(product)
24


Score: 5

Category: pandas-work