python index constituents

Hello,

I would like to get the constituents of the index JPMGCOC. I've tried to add "L" and "|L" but it doesn't work. Could you help me please?

Best Answer

  • @marco.bolognesi

    Thanks for reaching out to us.

    I tried LJPMGCOC with the following code.

    df = ds.get_data("LJPMGCOC",['NAME'], kind=0)
    df

    The output is:

    1670928427168.png

    I hope that this information is of help.

Answers