Future Depreciation pandas : FutureWarning when using get_timeseries with normalize=True

Hi team,
When using the method get_timeseries with normalize=True, a waning is raised with the following message :
FutureWarning: Could not cast to float64, falling back to object. This behavior is deprecated. In a future version, when a dtype is passed to 'DataFrame', either all columns will be cast to that dtype, or a TypeError will be raised.
df = pd.DataFrame(dict(Date=timestamp_column, Security=symbol_column,
Do you intend to fix this for the next release ?
To reproduce the error (eikon package version 1.1.14):
import eikon as ek
import datetime
date_format = "%Y%m%d"
start_date = datetime.datetime.strptime("20220413", date_format)
end_date = datetime.datetime.strptime("20220415", date_format)
ek.set_app_key(API_KEY)
ek.get_timeseries(["IBM"],
["OPEN", "CLOSE"],
start_date, end_date, raw_output= False, normalize= True)
Thank you
Best Answer
-
Regarding the migration from the Eikon Data API to the RD Lib, the following is the most recent statement from the RD Library team:
We have started promoting the new RD Library by exposing it more via CodeBook examples, GitHub examples and the Refinitiv Dev Community. After the official release (i.e. not Beta), we will continue to promote the RD Library.However, there is no deprecation date defined yet for the Eikon Data API. The Eikon Data API and the RDP library will continue to be supported and will be available in CodeBook and on PyPi for a while. We will continue to add new features regularly to the RD Library - which should encourage customers to migrate from the Eikon Data API. Once, a significant number of customers have migrated from EDAPI to the RD Lib and once we get enough feedback, we will define a deprecation date.
I hope that helps.
In terms of your original issue, we can report this to the Eikon Data API team.
0
Answers
-
Hi @guillaume.lefur ,
Please use the latest version of our Python Library, the Refinitiv Data Library (RD). This is up to date and allows you access to the 'get_data' function with similar arguments as the EDAPI one, allowing for minimal code change when updating library.
0 -
Hi,
Thanks for the quick response. But since your new package is tagged as a beta, we can't afford to use it.
But does it mean that you intend to abandon the eikon package ?
Thanks
0
Categories
- All Categories
- 6 AHS
- 36 Alpha
- 166 App Studio
- 6 Block Chain
- 4 Bot Platform
- 18 Connected Risk APIs
- 47 Data Fusion
- 34 Data Model Discovery
- 682 Datastream
- 1.4K DSS
- 613 Eikon COM
- 5.2K Eikon Data APIs
- 10 Electronic Trading
- Generic FIX
- 7 Local Bank Node API
- 3 Trading API
- 2.9K Elektron
- 1.4K EMA
- 248 ETA
- 552 WebSocket API
- 37 FX Venues
- 14 FX Market Data
- 1 FX Post Trade
- 1 FX Trading - Matching
- 12 FX Trading – RFQ Maker
- 5 Intelligent Tagging
- 2 Legal One
- 23 Messenger Bot
- 3 Messenger Side by Side
- 9 ONESOURCE
- 7 Indirect Tax
- 60 Open Calais
- 275 Open PermID
- 44 Entity Search
- 2 Org ID
- 1 PAM
- PAM - Logging
- 6 Product Insight
- Project Tracking
- ProView
- ProView Internal
- 22 RDMS
- 1.8K Refinitiv Data Platform
- 625 Refinitiv Data Platform Libraries
- 5 LSEG Due Diligence
- 1 LSEG Due Diligence Portal API
- 4 Refinitiv Due Dilligence Centre
- Rose's Space
- 1.2K Screening
- 18 Qual-ID API
- 13 Screening Deployed
- 23 Screening Online
- 12 World-Check Customer Risk Screener
- 1K World-Check One
- 46 World-Check One Zero Footprint
- 45 Side by Side Integration API
- 2 Test Space
- 3 Thomson One Smart
- 10 TR Knowledge Graph
- 151 Transactions
- 143 REDI API
- 1.8K TREP APIs
- 4 CAT
- 26 DACS Station
- 121 Open DACS
- 1.1K RFA
- 104 UPA
- 191 TREP Infrastructure
- 228 TRKD
- 915 TRTH
- 5 Velocity Analytics
- 9 Wealth Management Web Services
- 83 Workspace SDK
- 11 Element Framework
- 5 Grid
- 18 World-Check Data File
- 1 Yield Book Analytics
- 46 中文论坛