How do I get drawing of icp?

source = o3d.io.read_point_cloud("…/…/TestData/ICP/cloud_bin_0.pcd")
target = o3d.io.read_point_cloud("…/…/TestData/ICP/cloud_bin_1.pcd")
threshold = 0.02
trans_init = np.asarray([[0.862, 0.011, -0.507, 0.5],
… [-0.139, 0.967, -0.215, 0.7],
… [0.487, 0.255, 0.835, -1.4],
… [0.0, 0.0, 0.0, 1.0]])

draw_registration_result(source, target, trans_init)
Traceback (most recent call last):
File “”, line 1, in
NameError: name ‘draw_registration_result’ is not defined
ref: http://www.open3d.org/docs/release/tutorial/Basic/icp_registration.html

I was able to run the default icp_example file so that it draws output
But hoow do I use it with my two files?
can it also generate pcd file as an output?
which parameteres would need to be changed with two custom files pcd as source/ target?