names, data,timestamps):
    &#34;&#34;&#34;
    Peter-Clark (PC) algorithm for causal discovery from gcastle package.

    **Parameters**:

    **names**: The names of the different time series in data.

    **data**: Multivariate (2D) array containing different time series, each column represent a time series of Context CD part.


    &#34;&#34;&#34;
    from castle.algorithms import PC
    try:
        pc = PC(variant=&#39;parallel&#39;)
        pc.learn(data)
    except Exception as e:
        print(e)
