question

Upvotes
Accepted
0 2 3 7

How to display all output of the request from RDP library at codebook?

I understand the rdp output is dataframe by default, but how do we display all output if it is showing head and tail only due to the size


e.g.

rdp.get_bond_analytics(

universe = ["US06120TAA60","US061202AA55","XS2180539806","XS2257835517","XS2257491089","XS2125922349"],

fields = ["InstrumentDescription","Price","YieldPercent","RIC","ReportCcy","BondType","Isin"]

)



1623986915247.png



rdp-apirefinitiv-data-platformrefinitiv-data-platform-librariescodebook
1623986915247.png (112.3 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.

Hello @karl.kwok

Thank you for your participation in the forum. Is the reply below satisfactory in resolving your query?


If so please can you click the 'Accept' text next to the appropriate reply? This will guide all community members who have a similar question.

Thanks,


AHS

@karl.kwok

Hi,

Please be informed that a reply has been verified as correct in answering the question, and marked as such.

Thanks,

AHS

1 Answer

· Write an Answer
Upvote
Accepted
24.7k 54 17 14

Hello @karl.kwok

This question is the Jupyter/Pandas question. You can set Pandas to display all rows via the following statements:

import pandas as pd
...
pd.set_option('display.max_rows', None)

You can find more detail about all options from the Pandas Library https://pandas.pydata.org/docs/reference/api/pandas.set_option.html page.

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.

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.