def METHOD_NAME(data_type, make_data_type):
    X = pd.DataFrame(
        [[3, 0, 1, 6], [1, 2, 1, 6], [10, 2, 1, 6], [10, 2, 2, 5], [6, 2, 2, 5]],
    )
    X = make_data_type(data_type, X)
    pca = PCA()
    expected_X_t = pd.DataFrame(
        [
            [3.176246, 1.282616],
            [4.969987, -0.702976],
            [-3.954182, 0.429071],
            [-4.079174, -0.252790],
            [-0.112877, -0.755922],
        ],
        columns=[f"component_{i}" for i in range(2)],
    )
    X_t = pca.fit_transform(X)
    assert_frame_equal(expected_X_t, X_t)