https://andreyex.ru/programmirovanie/python/python-numpy-pad/
Python. NumPy pad()