question

Upvotes
Accepted
3 0 0 2

rdp not defined

Hello, tried a basic query as below and get an error saying rdp not defined. Please can you guide?


1629290905608.png

rdp-apirefinitiv-data-platformjupyter-notebook
1629290905608.png (60.2 KiB)
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Upvotes
Accepted
17.2k 82 39 63

Hi @darshana.patel

Did you copy this code snippet from somewhere? Or did you copy the whole notebook? You are missing this within your sample:

import refinitiv.dataplatform as rdp

Or it is there but make sure you run the sample from the beginning.

I would suggest you look at full samples and use them to test - for example:

https://github.com/Refinitiv-API-Samples/Article.RDPLibrary.Python.Search/blob/main/Search%20-%20Filter.ipynb

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

thank you @nick.zincone.1
Upvote
25.3k 87 12 25

Hi @darshana.patel

Based on this and your previous question, I would recommend you work through some basic Python tutorials to get an idea of how Python works - before attempting to experiment with our examples and/or your own code.

As a Refintiv employee, you should have access to the LinkedIn courses e.g.

(30) Python: Online Courses, Training and Tutorials on LinkedIn Learning

As well as these there are several other online resources e.g.

Python Tutorial (w3schools.com)

Once you gain a basic understanding, you should find your progress with the RDP Library etc is much smoother.

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

thank you @umer.nalla , those links will surely help

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.