question

Upvotes
Accepted
0 1 2 6

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.

1 Answer

Upvote
Accepted
14.3k 23 8 12

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.