question

Upvotes
Accepted
3 1 0 4

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 5.0 MiB each and 10.0 MiB total.

1 Answer

Upvote
Accepted
11.5k 16 7 10

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 5.0 MiB each and 10.0 MiB total.

Click below to post an Idea Post Idea