How to connect to a collection using python client

I have crated a collection from a index. Now trying to connect to the collection in order to create a index out of the collection using pinecone-client (python). I couldn’t find anything in the documentation. Can anyone please point me to the documentation.
Thanks,
Mohsin

Hi @Mohsin!

As per documentation, you can add the collection name as a parameter (source_collection) when creating a new index:

Hope this helps!