update general prompts
This commit is contained in:
parent
134b365b68
commit
63da030fe1
|
|
@ -17,13 +17,17 @@ The TOR reported name could be:
|
|||
TOR, Turnover Ratio, Portfolio Turnover, Portfolio turnover ratio, PTR, etc.
|
||||
|
||||
The TER reported name could be:
|
||||
TER, Total Expense Ratio, Total Fund Charge, Gross Expense Ratio, All in fee, Total Net Expense Ratio, Weighted Average Expense Ratio, Synthetic total Expense Ratio, Annualised TER including performance fees,etc.
|
||||
TER, Total Expense Ratio, Total expense ratio as a percentage, Total Fund Charge, Gross Expense Ratio, All in fee, Total Net Expense Ratio, Weighted Average Expense Ratio, Synthetic total Expense Ratio, Annualised TER including performance fees,etc.
|
||||
|
||||
Notice, below reported names are not for TER: "Management Fee"
|
||||
|
||||
The performance fees reported name could be:
|
||||
performance fees, performance fees ratio, Performance, etc.
|
||||
|
||||
The OGC reported name could be:
|
||||
OGC, OGF, Ongoing Charge, Operation Charge, On Going Charges, Operating Charge, Ongoing Fund Charge, etc.
|
||||
OGC, OGF, Ongoing Charge, Operation Charge, Ongoing charges in per cent, Ongoing charges in percent, Ongoing charges as a percentage, On Going Charges, Operating Charge, Ongoing Fund Charge, etc.
|
||||
|
||||
Notice, below reported names are not for OGC: "Taxe d Abonnement in % p.a.", "Management Fee"
|
||||
|
||||
Data business features:
|
||||
1. Most of cases, the data is in the table(s) of context.
|
||||
|
|
@ -35,8 +39,14 @@ Data business features:
|
|||
- The TER, performance fees, OGC values should be less than 100.
|
||||
- The TOR value could be more than 100, e.g. 126.33.
|
||||
- The TOR and performance fees could be negative number, e.g. -7.99.
|
||||
5. If with multiple data values in same row, please extract the latest.
|
||||
6. One fund could be with multiple share classes and relevant TER, performance fees or OGC values.
|
||||
5. Special TER rule
|
||||
If there are multiple TER value columns, here is the priority rules:
|
||||
- With "TER with Performance Fee" and "Fund TER", pickup the values from "TER with Performance Fee".
|
||||
- With "TER including Performance Fee" and "TER excluding Performance Fee", pickup the values from "TER including Performance Fee".
|
||||
- With "Synthetic TER" and "Fund TER", pick up the values from "Synthetic TER".
|
||||
|
||||
6. If with multiple data values in same row, please extract the latest.
|
||||
7. One fund could be with multiple share classes and relevant TER, performance fees or OGC values.
|
||||
|
||||
Special cases:
|
||||
1. Performance fees is part of TER.
|
||||
|
|
@ -70,25 +80,27 @@ The output should be:
|
|||
]
|
||||
|
||||
3. Latest data with time series data
|
||||
Some data table is with multiple date-time columns, please extract the data from the latest date-time column.
|
||||
Some data table is with multiple date columns, please extract the data from the latest date column:
|
||||
- Get dates from column header.
|
||||
- Only extract data from the columns which column header is as the latest date.
|
||||
The latest date-time column usually is the first "TOR, TER, performance fees, OGC" value column.
|
||||
Here is the example:
|
||||
PERFORMANCE\nHISTORICAL PERFORMANCE\nHISTORICAL PERFORMANCE\nFrom \n1 July \nFrom \n19 July \nFrom \n1 January \nFrom \n27 April \nFrom \n19 July \nFrom \n1 January \n2021\nFrom \n22 May \n2021\nFrom \n16 July \n2021\nFrom \n21 September \n2021\nto 30 June 2023\nto 31 December 2022\nto 31 December 2021\nAsia Total Return Fund Class I5 (CHF Hedged) Acc\n6.73%\n \n-13.32%\n \n \n 6.04%\n \n \n \n
|
||||
The output should be:
|
||||
[
|
||||
{"fund name": "Asia Total Return Fund", "share data": ["share name": "Class I5 (CHF Hedged) Acc", "performance fees": 6.73]}},
|
||||
{"fund name": "Asia Total Return Fund", "share data": ["share name": "Class I5 (CHF Hedged) Acc", "performance fees": 6.73]}
|
||||
]
|
||||
The keyword for performance fees is PERFORMANCE, the value 6.73 is the first number with the latest date-time.
|
||||
|
||||
4. TER reported name priority
|
||||
If exists both of Expense Ratio and Synthetic total Expense Ratio, please extract the value of Synthetic total Expense Ratio.
|
||||
|
||||
|
||||
Output requirement:
|
||||
1. If possible, please extract fund name, share name, TOR, TER, performance fees, OGC values as the output.
|
||||
2. The required output items are "fund name" and "share name".
|
||||
3. Only output the dasta point which with relevant value.
|
||||
4. fund level data: ("fund name" and "TOR") and share level data: ("fund name", "share name", "ter", "performance fees", "ogc") should be output separately.
|
||||
4. The output should be JSON format, the format is like:
|
||||
5. The output should be JSON format, the format is like:
|
||||
[{
|
||||
"fund name": "fund 1",
|
||||
"TOR": 35.26
|
||||
|
|
@ -115,6 +127,7 @@ Output requirement:
|
|||
}]
|
||||
|
||||
Only output JSON data.
|
||||
Don't output the value which not exist in context, especiall for fund level datapoint: TOR.
|
||||
If can't find share class name in context, please output empty JSON data: []
|
||||
|
||||
Answer:
|
||||
|
|
@ -8,13 +8,17 @@ The TOR reported name could be:
|
|||
TOR, Turnover Ratio, Portfolio Turnover, Portfolio turnover ratio, PTR, etc.
|
||||
|
||||
The TER reported name could be:
|
||||
TER, Total Expense Ratio, Total Fund Charge, Gross Expense Ratio, All in fee, Total Net Expense Ratio, Weighted Average Expense Ratio, Synthetic total Expense Ratio, Annualised TER including performance fees,etc.
|
||||
TER, Total Expense Ratio, Total expense ratio as a percentage, Total Fund Charge, Gross Expense Ratio, All in fee, Total Net Expense Ratio, Weighted Average Expense Ratio, Synthetic total Expense Ratio, Annualised TER including performance fees,etc.
|
||||
|
||||
Notice, below reported names are not for TER: "Management Fee"
|
||||
|
||||
The performance fees reported name could be:
|
||||
performance fees, performance fees ratio, Performance, etc.
|
||||
|
||||
The OGC reported name could be:
|
||||
OGC, OGF, Ongoing Charge, Operation Charge, On Going Charges, Operating Charge, Ongoing Fund Charge, etc.
|
||||
OGC, OGF, Ongoing Charge, Operation Charge, Ongoing charges in per cent, Ongoing charges in percent, Ongoing charges as a percentage, On Going Charges, Operating Charge, Ongoing Fund Charge, etc.
|
||||
|
||||
Notice, below reported names are not for OGC: "Taxe d Abonnement in % p.a.", "Management Fee"
|
||||
|
||||
Data business features:
|
||||
1. Most of cases, the data is in the table(s) of context.
|
||||
|
|
@ -26,8 +30,14 @@ Data business features:
|
|||
- The TER, performance fees, OGC values should be less than 100.
|
||||
- The TOR value could be more than 100, e.g. 126.33.
|
||||
- The TOR and performance fees could be negative number, e.g. -7.99.
|
||||
5. If with multiple data values in same row, please extract the latest.
|
||||
6. One fund could be with multiple share classes and relevant TER, performance fees or OGC values.
|
||||
5. Special TER rule
|
||||
If there are multiple TER value columns, here is the priority rules:
|
||||
- With "TER with Performance Fee" and "Fund TER", pickup the values from "TER with Performance Fee".
|
||||
- With "TER including Performance Fee" and "TER excluding Performance Fee", pickup the values from "TER including Performance Fee".
|
||||
- With "Synthetic TER" and "Fund TER", pick up the values from "Synthetic TER".
|
||||
|
||||
6. If with multiple data values in same row, please extract the latest.
|
||||
7. One fund could be with multiple share classes and relevant TER, performance fees or OGC values.
|
||||
|
||||
Special cases:
|
||||
1. Performance fees is part of TER.
|
||||
|
|
@ -61,25 +71,27 @@ The output should be:
|
|||
]
|
||||
|
||||
3. Latest data with time series data
|
||||
Some data table is with multiple date-time columns, please extract the data from the latest date-time column.
|
||||
Some data table is with multiple date columns, please extract the data from the latest date column:
|
||||
- Get dates from column header.
|
||||
- Only extract data from the columns which column header is as the latest date.
|
||||
The latest date-time column usually is the first "TOR, TER, performance fees, OGC" value column.
|
||||
Here is the example:
|
||||
PERFORMANCE\nHISTORICAL PERFORMANCE\nHISTORICAL PERFORMANCE\nFrom \n1 July \nFrom \n19 July \nFrom \n1 January \nFrom \n27 April \nFrom \n19 July \nFrom \n1 January \n2021\nFrom \n22 May \n2021\nFrom \n16 July \n2021\nFrom \n21 September \n2021\nto 30 June 2023\nto 31 December 2022\nto 31 December 2021\nAsia Total Return Fund Class I5 (CHF Hedged) Acc\n6.73%\n \n-13.32%\n \n \n 6.04%\n \n \n \n
|
||||
The output should be:
|
||||
[
|
||||
{"fund name": "Asia Total Return Fund", "share data": ["share name": "Class I5 (CHF Hedged) Acc", "performance fees": 6.73]}},
|
||||
{"fund name": "Asia Total Return Fund", "share data": ["share name": "Class I5 (CHF Hedged) Acc", "performance fees": 6.73]}
|
||||
]
|
||||
The keyword for performance fees is PERFORMANCE, the value 6.73 is the first number with the latest date-time.
|
||||
|
||||
4. TER reported name priority
|
||||
If exists both of Expense Ratio and Synthetic total Expense Ratio, please extract the value of Synthetic total Expense Ratio.
|
||||
|
||||
|
||||
Output requirement:
|
||||
1. If possible, please extract fund name, share name, TOR, TER, performance fees, OGC values as the output.
|
||||
2. The required output items are "fund name" and "share name".
|
||||
3. Only output the dasta point which with relevant value.
|
||||
4. fund level data: ("fund name" and "TOR") and share level data: ("fund name", "share name", "ter", "performance fees", "ogc") should be output separately.
|
||||
4. The output should be JSON format, the format is like:
|
||||
5. The output should be JSON format, the format is like:
|
||||
[{
|
||||
"fund name": "fund 1",
|
||||
"TOR": 35.26
|
||||
|
|
@ -106,6 +118,7 @@ Output requirement:
|
|||
}]
|
||||
|
||||
Only output JSON data.
|
||||
Don't output the value which not exist in context, especiall for fund level datapoint: TOR.
|
||||
If can't find share class name in context, please output empty JSON data: []
|
||||
|
||||
Answer:
|
||||
467
playground.ipynb
467
playground.ipynb
|
|
@ -42,11 +42,11 @@
|
|||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 42,
|
||||
"execution_count": 46,
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"text = \"What was the share of investments made in transitional and enabling activities? \\nTaxonomy-aligned\\nactivities are expressed \\nas a share of\\n\\u2022\\t Turnover \\nreflects the\\n\""
|
||||
"text = \"What was the share of investments made in transitional and enabling activities? \\nTaxonomy-aligned\\nactivities are expressed \\nas a share of\\n\\u2022\\t Turnover reflects the\\n\""
|
||||
]
|
||||
},
|
||||
{
|
||||
|
|
@ -80,7 +80,7 @@
|
|||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 43,
|
||||
"execution_count": 47,
|
||||
"metadata": {},
|
||||
"outputs": [
|
||||
{
|
||||
|
|
@ -88,8 +88,8 @@
|
|||
"output_type": "stream",
|
||||
"text": [
|
||||
"TOR no match\n",
|
||||
"Turnover\\*\\s+ no match\n",
|
||||
"Turnover\\s+ match Turnover \n",
|
||||
"Turnover\\*\\s+\\n no match\n",
|
||||
"Turnover\\s+\\n no match\n",
|
||||
"Turnover\\s+Ratio no match\n",
|
||||
"Turnover\\s+Rate no match\n",
|
||||
"Portfolio\\s+Turnover no match\n",
|
||||
|
|
@ -115,6 +115,463 @@
|
|||
" print(f\"{regex} no match\")"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 8,
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"from utils.sql_query_util import query_investment_by_provider, query_document_fund_mapping\n",
|
||||
"import pandas as pd"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 3,
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"provider_mapping = query_investment_by_provider(company_id=\"0C00008QVP\")"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 6,
|
||||
"metadata": {},
|
||||
"outputs": [
|
||||
{
|
||||
"data": {
|
||||
"text/html": [
|
||||
"<div>\n",
|
||||
"<style scoped>\n",
|
||||
" .dataframe tbody tr th:only-of-type {\n",
|
||||
" vertical-align: middle;\n",
|
||||
" }\n",
|
||||
"\n",
|
||||
" .dataframe tbody tr th {\n",
|
||||
" vertical-align: top;\n",
|
||||
" }\n",
|
||||
"\n",
|
||||
" .dataframe thead th {\n",
|
||||
" text-align: right;\n",
|
||||
" }\n",
|
||||
"</style>\n",
|
||||
"<table border=\"1\" class=\"dataframe\">\n",
|
||||
" <thead>\n",
|
||||
" <tr style=\"text-align: right;\">\n",
|
||||
" <th></th>\n",
|
||||
" <th>ProviderId</th>\n",
|
||||
" <th>ProviderName</th>\n",
|
||||
" <th>FundId</th>\n",
|
||||
" <th>FundName</th>\n",
|
||||
" <th>ISIN</th>\n",
|
||||
" <th>SecId</th>\n",
|
||||
" <th>CurrencyId</th>\n",
|
||||
" <th>ShareClassName</th>\n",
|
||||
" <th>ShareClassStatus</th>\n",
|
||||
" </tr>\n",
|
||||
" </thead>\n",
|
||||
" <tbody>\n",
|
||||
" <tr>\n",
|
||||
" <th>840</th>\n",
|
||||
" <td>0C00008QVP</td>\n",
|
||||
" <td>T. Rowe Price (Luxembourg) Management S.à r.l.</td>\n",
|
||||
" <td>FS0000DUH4</td>\n",
|
||||
" <td>T. Rowe Price Funds Series II SICAV - Credit O...</td>\n",
|
||||
" <td>LU1053597990</td>\n",
|
||||
" <td>F000010MEE</td>\n",
|
||||
" <td>USD</td>\n",
|
||||
" <td>T. Rowe Price Funds Series II SICAV - Credit O...</td>\n",
|
||||
" <td>0</td>\n",
|
||||
" </tr>\n",
|
||||
" <tr>\n",
|
||||
" <th>841</th>\n",
|
||||
" <td>0C00008QVP</td>\n",
|
||||
" <td>T. Rowe Price (Luxembourg) Management S.à r.l.</td>\n",
|
||||
" <td>FS0000DUH4</td>\n",
|
||||
" <td>T. Rowe Price Funds Series II SICAV - Credit O...</td>\n",
|
||||
" <td>LU1053597727</td>\n",
|
||||
" <td>F000010MEF</td>\n",
|
||||
" <td>USD</td>\n",
|
||||
" <td>T. Rowe Price Funds Series II SICAV - Credit O...</td>\n",
|
||||
" <td>0</td>\n",
|
||||
" </tr>\n",
|
||||
" <tr>\n",
|
||||
" <th>842</th>\n",
|
||||
" <td>0C00008QVP</td>\n",
|
||||
" <td>T. Rowe Price (Luxembourg) Management S.à r.l.</td>\n",
|
||||
" <td>FS0000DUH5</td>\n",
|
||||
" <td>T. Rowe Price Funds Series II SICAV - Floating...</td>\n",
|
||||
" <td>LU0993574440</td>\n",
|
||||
" <td>F000010MEG</td>\n",
|
||||
" <td>USD</td>\n",
|
||||
" <td>T. Rowe Price Funds Series II SICAV - Floating...</td>\n",
|
||||
" <td>1</td>\n",
|
||||
" </tr>\n",
|
||||
" <tr>\n",
|
||||
" <th>843</th>\n",
|
||||
" <td>0C00008QVP</td>\n",
|
||||
" <td>T. Rowe Price (Luxembourg) Management S.à r.l.</td>\n",
|
||||
" <td>FS0000DUH5</td>\n",
|
||||
" <td>T. Rowe Price Funds Series II SICAV - Floating...</td>\n",
|
||||
" <td>LU1805616171</td>\n",
|
||||
" <td>F000010PUN</td>\n",
|
||||
" <td>CHF</td>\n",
|
||||
" <td>T. Rowe Price Funds Series II SICAV - Floating...</td>\n",
|
||||
" <td>0</td>\n",
|
||||
" </tr>\n",
|
||||
" <tr>\n",
|
||||
" <th>844</th>\n",
|
||||
" <td>0C00008QVP</td>\n",
|
||||
" <td>T. Rowe Price (Luxembourg) Management S.à r.l.</td>\n",
|
||||
" <td>FS0000DUH5</td>\n",
|
||||
" <td>T. Rowe Price Funds Series II SICAV - Floating...</td>\n",
|
||||
" <td>LU1076358073</td>\n",
|
||||
" <td>F000010MEH</td>\n",
|
||||
" <td>EUR</td>\n",
|
||||
" <td>T. Rowe Price Funds Series II SICAV - Floating...</td>\n",
|
||||
" <td>0</td>\n",
|
||||
" </tr>\n",
|
||||
" <tr>\n",
|
||||
" <th>845</th>\n",
|
||||
" <td>0C00008QVP</td>\n",
|
||||
" <td>T. Rowe Price (Luxembourg) Management S.à r.l.</td>\n",
|
||||
" <td>FS0000DUH5</td>\n",
|
||||
" <td>T. Rowe Price Funds Series II SICAV - Floating...</td>\n",
|
||||
" <td>LU2046740358</td>\n",
|
||||
" <td>F0000143Y8</td>\n",
|
||||
" <td>USD</td>\n",
|
||||
" <td>T. Rowe Price Funds Series II SICAV - Floating...</td>\n",
|
||||
" <td>0</td>\n",
|
||||
" </tr>\n",
|
||||
" <tr>\n",
|
||||
" <th>846</th>\n",
|
||||
" <td>0C00008QVP</td>\n",
|
||||
" <td>T. Rowe Price (Luxembourg) Management S.à r.l.</td>\n",
|
||||
" <td>FS0000DUH5</td>\n",
|
||||
" <td>T. Rowe Price Funds Series II SICAV - Floating...</td>\n",
|
||||
" <td>LU2046740432</td>\n",
|
||||
" <td>F0000143Y9</td>\n",
|
||||
" <td>USD</td>\n",
|
||||
" <td>T. Rowe Price Funds Series II SICAV - Floating...</td>\n",
|
||||
" <td>0</td>\n",
|
||||
" </tr>\n",
|
||||
" <tr>\n",
|
||||
" <th>847</th>\n",
|
||||
" <td>0C00008QVP</td>\n",
|
||||
" <td>T. Rowe Price (Luxembourg) Management S.à r.l.</td>\n",
|
||||
" <td>FS0000DUH5</td>\n",
|
||||
" <td>T. Rowe Price Funds Series II SICAV - Floating...</td>\n",
|
||||
" <td>LU0993569101</td>\n",
|
||||
" <td>F00001564H</td>\n",
|
||||
" <td>USD</td>\n",
|
||||
" <td>T. Rowe Price Funds Series II SICAV - Floating...</td>\n",
|
||||
" <td>0</td>\n",
|
||||
" </tr>\n",
|
||||
" <tr>\n",
|
||||
" <th>848</th>\n",
|
||||
" <td>0C00008QVP</td>\n",
|
||||
" <td>T. Rowe Price (Luxembourg) Management S.à r.l.</td>\n",
|
||||
" <td>FS0000DUH5</td>\n",
|
||||
" <td>T. Rowe Price Funds Series II SICAV - Floating...</td>\n",
|
||||
" <td>LU2122516821</td>\n",
|
||||
" <td>F000014UPK</td>\n",
|
||||
" <td>AUD</td>\n",
|
||||
" <td>T. Rowe Price Funds Series II SICAV - Floating...</td>\n",
|
||||
" <td>0</td>\n",
|
||||
" </tr>\n",
|
||||
" </tbody>\n",
|
||||
"</table>\n",
|
||||
"</div>"
|
||||
],
|
||||
"text/plain": [
|
||||
" ProviderId ProviderName FundId \\\n",
|
||||
"840 0C00008QVP T. Rowe Price (Luxembourg) Management S.à r.l. FS0000DUH4 \n",
|
||||
"841 0C00008QVP T. Rowe Price (Luxembourg) Management S.à r.l. FS0000DUH4 \n",
|
||||
"842 0C00008QVP T. Rowe Price (Luxembourg) Management S.à r.l. FS0000DUH5 \n",
|
||||
"843 0C00008QVP T. Rowe Price (Luxembourg) Management S.à r.l. FS0000DUH5 \n",
|
||||
"844 0C00008QVP T. Rowe Price (Luxembourg) Management S.à r.l. FS0000DUH5 \n",
|
||||
"845 0C00008QVP T. Rowe Price (Luxembourg) Management S.à r.l. FS0000DUH5 \n",
|
||||
"846 0C00008QVP T. Rowe Price (Luxembourg) Management S.à r.l. FS0000DUH5 \n",
|
||||
"847 0C00008QVP T. Rowe Price (Luxembourg) Management S.à r.l. FS0000DUH5 \n",
|
||||
"848 0C00008QVP T. Rowe Price (Luxembourg) Management S.à r.l. FS0000DUH5 \n",
|
||||
"\n",
|
||||
" FundName ISIN \\\n",
|
||||
"840 T. Rowe Price Funds Series II SICAV - Credit O... LU1053597990 \n",
|
||||
"841 T. Rowe Price Funds Series II SICAV - Credit O... LU1053597727 \n",
|
||||
"842 T. Rowe Price Funds Series II SICAV - Floating... LU0993574440 \n",
|
||||
"843 T. Rowe Price Funds Series II SICAV - Floating... LU1805616171 \n",
|
||||
"844 T. Rowe Price Funds Series II SICAV - Floating... LU1076358073 \n",
|
||||
"845 T. Rowe Price Funds Series II SICAV - Floating... LU2046740358 \n",
|
||||
"846 T. Rowe Price Funds Series II SICAV - Floating... LU2046740432 \n",
|
||||
"847 T. Rowe Price Funds Series II SICAV - Floating... LU0993569101 \n",
|
||||
"848 T. Rowe Price Funds Series II SICAV - Floating... LU2122516821 \n",
|
||||
"\n",
|
||||
" SecId CurrencyId ShareClassName \\\n",
|
||||
"840 F000010MEE USD T. Rowe Price Funds Series II SICAV - Credit O... \n",
|
||||
"841 F000010MEF USD T. Rowe Price Funds Series II SICAV - Credit O... \n",
|
||||
"842 F000010MEG USD T. Rowe Price Funds Series II SICAV - Floating... \n",
|
||||
"843 F000010PUN CHF T. Rowe Price Funds Series II SICAV - Floating... \n",
|
||||
"844 F000010MEH EUR T. Rowe Price Funds Series II SICAV - Floating... \n",
|
||||
"845 F0000143Y8 USD T. Rowe Price Funds Series II SICAV - Floating... \n",
|
||||
"846 F0000143Y9 USD T. Rowe Price Funds Series II SICAV - Floating... \n",
|
||||
"847 F00001564H USD T. Rowe Price Funds Series II SICAV - Floating... \n",
|
||||
"848 F000014UPK AUD T. Rowe Price Funds Series II SICAV - Floating... \n",
|
||||
"\n",
|
||||
" ShareClassStatus \n",
|
||||
"840 0 \n",
|
||||
"841 0 \n",
|
||||
"842 1 \n",
|
||||
"843 0 \n",
|
||||
"844 0 \n",
|
||||
"845 0 \n",
|
||||
"846 0 \n",
|
||||
"847 0 \n",
|
||||
"848 0 "
|
||||
]
|
||||
},
|
||||
"execution_count": 6,
|
||||
"metadata": {},
|
||||
"output_type": "execute_result"
|
||||
}
|
||||
],
|
||||
"source": [
|
||||
"provider_mapping[provider_mapping[\"FundName\"].str.contains(\"T. Rowe Price Funds Series II SICAV\")]"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 9,
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"document_mapping = query_document_fund_mapping(doc_id=\"486378555\")"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 10,
|
||||
"metadata": {},
|
||||
"outputs": [
|
||||
{
|
||||
"data": {
|
||||
"text/html": [
|
||||
"<div>\n",
|
||||
"<style scoped>\n",
|
||||
" .dataframe tbody tr th:only-of-type {\n",
|
||||
" vertical-align: middle;\n",
|
||||
" }\n",
|
||||
"\n",
|
||||
" .dataframe tbody tr th {\n",
|
||||
" vertical-align: top;\n",
|
||||
" }\n",
|
||||
"\n",
|
||||
" .dataframe thead th {\n",
|
||||
" text-align: right;\n",
|
||||
" }\n",
|
||||
"</style>\n",
|
||||
"<table border=\"1\" class=\"dataframe\">\n",
|
||||
" <thead>\n",
|
||||
" <tr style=\"text-align: right;\">\n",
|
||||
" <th></th>\n",
|
||||
" <th>DocumentId</th>\n",
|
||||
" <th>EffectiveDate</th>\n",
|
||||
" <th>DocumentType</th>\n",
|
||||
" <th>Format</th>\n",
|
||||
" <th>Language</th>\n",
|
||||
" <th>DocumentStatus</th>\n",
|
||||
" <th>ProviderId</th>\n",
|
||||
" <th>ProviderName</th>\n",
|
||||
" <th>FundId</th>\n",
|
||||
" <th>FundName</th>\n",
|
||||
" <th>Domicile</th>\n",
|
||||
" <th>SecId</th>\n",
|
||||
" <th>CurrencyId</th>\n",
|
||||
" <th>ShareClassName</th>\n",
|
||||
" <th>ISIN</th>\n",
|
||||
" </tr>\n",
|
||||
" </thead>\n",
|
||||
" <tbody>\n",
|
||||
" <tr>\n",
|
||||
" <th>0</th>\n",
|
||||
" <td>486378555</td>\n",
|
||||
" <td>2022-06-30</td>\n",
|
||||
" <td>4</td>\n",
|
||||
" <td>PDF</td>\n",
|
||||
" <td>0L00000122</td>\n",
|
||||
" <td>1</td>\n",
|
||||
" <td>0C00008QVP</td>\n",
|
||||
" <td>T. Rowe Price (Luxembourg) Management S.à r.l.</td>\n",
|
||||
" <td>FS0000DUH5</td>\n",
|
||||
" <td>T. Rowe Price Funds Series II SICAV - Floating...</td>\n",
|
||||
" <td>LUX</td>\n",
|
||||
" <td>F000010MEG</td>\n",
|
||||
" <td>USD</td>\n",
|
||||
" <td>T. Rowe Price Funds Series II SICAV - Floating...</td>\n",
|
||||
" <td>LU0993574440</td>\n",
|
||||
" </tr>\n",
|
||||
" <tr>\n",
|
||||
" <th>1</th>\n",
|
||||
" <td>486378555</td>\n",
|
||||
" <td>2022-06-30</td>\n",
|
||||
" <td>4</td>\n",
|
||||
" <td>PDF</td>\n",
|
||||
" <td>0L00000122</td>\n",
|
||||
" <td>1</td>\n",
|
||||
" <td>0C00008QVP</td>\n",
|
||||
" <td>T. Rowe Price (Luxembourg) Management S.à r.l.</td>\n",
|
||||
" <td>FS0000DUH5</td>\n",
|
||||
" <td>T. Rowe Price Funds Series II SICAV - Floating...</td>\n",
|
||||
" <td>LUX</td>\n",
|
||||
" <td>F000010PUN</td>\n",
|
||||
" <td>CHF</td>\n",
|
||||
" <td>T. Rowe Price Funds Series II SICAV - Floating...</td>\n",
|
||||
" <td>LU1805616171</td>\n",
|
||||
" </tr>\n",
|
||||
" <tr>\n",
|
||||
" <th>2</th>\n",
|
||||
" <td>486378555</td>\n",
|
||||
" <td>2022-06-30</td>\n",
|
||||
" <td>4</td>\n",
|
||||
" <td>PDF</td>\n",
|
||||
" <td>0L00000122</td>\n",
|
||||
" <td>1</td>\n",
|
||||
" <td>0C00008QVP</td>\n",
|
||||
" <td>T. Rowe Price (Luxembourg) Management S.à r.l.</td>\n",
|
||||
" <td>FS0000DUH5</td>\n",
|
||||
" <td>T. Rowe Price Funds Series II SICAV - Floating...</td>\n",
|
||||
" <td>LUX</td>\n",
|
||||
" <td>F000010MEH</td>\n",
|
||||
" <td>EUR</td>\n",
|
||||
" <td>T. Rowe Price Funds Series II SICAV - Floating...</td>\n",
|
||||
" <td>LU1076358073</td>\n",
|
||||
" </tr>\n",
|
||||
" <tr>\n",
|
||||
" <th>3</th>\n",
|
||||
" <td>486378555</td>\n",
|
||||
" <td>2022-06-30</td>\n",
|
||||
" <td>4</td>\n",
|
||||
" <td>PDF</td>\n",
|
||||
" <td>0L00000122</td>\n",
|
||||
" <td>1</td>\n",
|
||||
" <td>0C00008QVP</td>\n",
|
||||
" <td>T. Rowe Price (Luxembourg) Management S.à r.l.</td>\n",
|
||||
" <td>FS0000DUH5</td>\n",
|
||||
" <td>T. Rowe Price Funds Series II SICAV - Floating...</td>\n",
|
||||
" <td>LUX</td>\n",
|
||||
" <td>F0000143Y8</td>\n",
|
||||
" <td>USD</td>\n",
|
||||
" <td>T. Rowe Price Funds Series II SICAV - Floating...</td>\n",
|
||||
" <td>LU2046740358</td>\n",
|
||||
" </tr>\n",
|
||||
" <tr>\n",
|
||||
" <th>4</th>\n",
|
||||
" <td>486378555</td>\n",
|
||||
" <td>2022-06-30</td>\n",
|
||||
" <td>4</td>\n",
|
||||
" <td>PDF</td>\n",
|
||||
" <td>0L00000122</td>\n",
|
||||
" <td>1</td>\n",
|
||||
" <td>0C00008QVP</td>\n",
|
||||
" <td>T. Rowe Price (Luxembourg) Management S.à r.l.</td>\n",
|
||||
" <td>FS0000DUH5</td>\n",
|
||||
" <td>T. Rowe Price Funds Series II SICAV - Floating...</td>\n",
|
||||
" <td>LUX</td>\n",
|
||||
" <td>F0000143Y9</td>\n",
|
||||
" <td>USD</td>\n",
|
||||
" <td>T. Rowe Price Funds Series II SICAV - Floating...</td>\n",
|
||||
" <td>LU2046740432</td>\n",
|
||||
" </tr>\n",
|
||||
" <tr>\n",
|
||||
" <th>5</th>\n",
|
||||
" <td>486378555</td>\n",
|
||||
" <td>2022-06-30</td>\n",
|
||||
" <td>4</td>\n",
|
||||
" <td>PDF</td>\n",
|
||||
" <td>0L00000122</td>\n",
|
||||
" <td>1</td>\n",
|
||||
" <td>0C00008QVP</td>\n",
|
||||
" <td>T. Rowe Price (Luxembourg) Management S.à r.l.</td>\n",
|
||||
" <td>FS0000DUH5</td>\n",
|
||||
" <td>T. Rowe Price Funds Series II SICAV - Floating...</td>\n",
|
||||
" <td>LUX</td>\n",
|
||||
" <td>F000014UPK</td>\n",
|
||||
" <td>AUD</td>\n",
|
||||
" <td>T. Rowe Price Funds Series II SICAV - Floating...</td>\n",
|
||||
" <td>LU2122516821</td>\n",
|
||||
" </tr>\n",
|
||||
" </tbody>\n",
|
||||
"</table>\n",
|
||||
"</div>"
|
||||
],
|
||||
"text/plain": [
|
||||
" DocumentId EffectiveDate DocumentType Format Language DocumentStatus \\\n",
|
||||
"0 486378555 2022-06-30 4 PDF 0L00000122 1 \n",
|
||||
"1 486378555 2022-06-30 4 PDF 0L00000122 1 \n",
|
||||
"2 486378555 2022-06-30 4 PDF 0L00000122 1 \n",
|
||||
"3 486378555 2022-06-30 4 PDF 0L00000122 1 \n",
|
||||
"4 486378555 2022-06-30 4 PDF 0L00000122 1 \n",
|
||||
"5 486378555 2022-06-30 4 PDF 0L00000122 1 \n",
|
||||
"\n",
|
||||
" ProviderId ProviderName FundId \\\n",
|
||||
"0 0C00008QVP T. Rowe Price (Luxembourg) Management S.à r.l. FS0000DUH5 \n",
|
||||
"1 0C00008QVP T. Rowe Price (Luxembourg) Management S.à r.l. FS0000DUH5 \n",
|
||||
"2 0C00008QVP T. Rowe Price (Luxembourg) Management S.à r.l. FS0000DUH5 \n",
|
||||
"3 0C00008QVP T. Rowe Price (Luxembourg) Management S.à r.l. FS0000DUH5 \n",
|
||||
"4 0C00008QVP T. Rowe Price (Luxembourg) Management S.à r.l. FS0000DUH5 \n",
|
||||
"5 0C00008QVP T. Rowe Price (Luxembourg) Management S.à r.l. FS0000DUH5 \n",
|
||||
"\n",
|
||||
" FundName Domicile SecId \\\n",
|
||||
"0 T. Rowe Price Funds Series II SICAV - Floating... LUX F000010MEG \n",
|
||||
"1 T. Rowe Price Funds Series II SICAV - Floating... LUX F000010PUN \n",
|
||||
"2 T. Rowe Price Funds Series II SICAV - Floating... LUX F000010MEH \n",
|
||||
"3 T. Rowe Price Funds Series II SICAV - Floating... LUX F0000143Y8 \n",
|
||||
"4 T. Rowe Price Funds Series II SICAV - Floating... LUX F0000143Y9 \n",
|
||||
"5 T. Rowe Price Funds Series II SICAV - Floating... LUX F000014UPK \n",
|
||||
"\n",
|
||||
" CurrencyId ShareClassName ISIN \n",
|
||||
"0 USD T. Rowe Price Funds Series II SICAV - Floating... LU0993574440 \n",
|
||||
"1 CHF T. Rowe Price Funds Series II SICAV - Floating... LU1805616171 \n",
|
||||
"2 EUR T. Rowe Price Funds Series II SICAV - Floating... LU1076358073 \n",
|
||||
"3 USD T. Rowe Price Funds Series II SICAV - Floating... LU2046740358 \n",
|
||||
"4 USD T. Rowe Price Funds Series II SICAV - Floating... LU2046740432 \n",
|
||||
"5 AUD T. Rowe Price Funds Series II SICAV - Floating... LU2122516821 "
|
||||
]
|
||||
},
|
||||
"execution_count": 10,
|
||||
"metadata": {},
|
||||
"output_type": "execute_result"
|
||||
}
|
||||
],
|
||||
"source": [
|
||||
"document_mapping"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 11,
|
||||
"metadata": {},
|
||||
"outputs": [
|
||||
{
|
||||
"data": {
|
||||
"text/plain": [
|
||||
"['T. Rowe Price Funds Series II SICAV - Floating Rate Loan Fund I Cap',\n",
|
||||
" 'T. Rowe Price Funds Series II SICAV - Floating Rate Loan Fund Ih (CHF) Cap',\n",
|
||||
" 'T. Rowe Price Funds Series II SICAV - Floating Rate Loan Fund Ih (EUR) Cap',\n",
|
||||
" 'T. Rowe Price Funds Series II SICAV - Floating Rate Loan Fund Q (USD) Cap',\n",
|
||||
" 'T. Rowe Price Funds Series II SICAV - Floating Rate Loan Fund Qd (USD) Dis',\n",
|
||||
" 'T. Rowe Price Funds Series II SICAV - Floating Rate Loan Fund Sdn (AUD) Dis']"
|
||||
]
|
||||
},
|
||||
"execution_count": 11,
|
||||
"metadata": {},
|
||||
"output_type": "execute_result"
|
||||
}
|
||||
],
|
||||
"source": [
|
||||
"list(document_mapping[\"ShareClassName\"].unique())"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": null,
|
||||
|
|
|
|||
Loading…
Reference in New Issue