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.

1 Answer

· Write an Answer
Upvote
Accepted
22.7k 47 15 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.

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.