Discover Refinitiv
MyRefinitiv Refinitiv Perspectives Careers
Created with Sketch.
All APIs Questions & Answers  Register |  Login
Ask a question
  • Questions
  • Tags
  • Badges
  • Unanswered
Search:
  • Home /
  • Eikon Data APIs /

For a deeper look into our Eikon Data API, look into:

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials |  Articles

avatar image
Question by guillaume.lefur · Apr 22 at 09:05 AM · eikon-data-apipandasdeprecated

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

People who like this

0 Show 0
Comment
10 |1500 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

3 Replies

  • Sort: 
avatar image
REFINITIV
Best Answer
Answer by umer.nalla · Apr 25 at 08:46 AM

Hi @guillaume.lefur

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.

Comment

People who like this

0 Show 0 · Share
10 |1500 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

avatar image
REFINITIV
Answer by jonathan.legrand · Apr 22 at 09:31 AM

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.

Comment

People who like this

0 Show 0 · Share
10 |1500 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

avatar image
Answer by guillaume.lefur · Apr 22 at 10:04 AM

Hi,

Thanks for the quick response. But since your new package is tagged as a beta, we can't afford to use it.

1650622259956.png

But does it mean that you intend to abandon the eikon package ?


Thanks


1650622259956.png (6.0 KiB)
Comment

People who like this

0 Show 0 · Share
10 |1500 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Watch this question

Add to watch list
Add to your watch list to receive emailed updates for this question. Too many emails? Change your settings >
13 People are following this question.

Related Questions

FutureWarning for data_grid.py (pandas.np module is deprecated and will be removed... import numpy directly instead) when using Eikon Python API

Why do I get Pandas ValueError: invalid literal for int() with base 10: 'undefined' when I try to load a downloaded excel file from GOVSRCH into Python via read_excel?

Launch excel COM Add-in with python win32com

Eikon API - AttributeError: 'DataFrame' object has no attribute 'convert_dtypes' - on simple ek.get_data call

For 2 stocks listed on same exchange I get different number of rows of historical data and missing minutes

  • Copyright
  • Cookie Policy
  • Privacy Statement
  • Terms of Use
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Alpha
  • App Studio
  • Block Chain
  • Bot Platform
  • Connected Risk APIs
  • DSS
  • Data Fusion
  • Data Model Discovery
  • Datastream
  • Eikon COM
  • Eikon Data APIs
  • Electronic Trading
    • Generic FIX
    • Local Bank Node API
    • Trading API
  • Elektron
    • EMA
    • ETA
    • WebSocket API
  • FX Venues
    • FX Trading – RFQ Maker
  • Intelligent Tagging
  • Legal One
  • Messenger Bot
  • Messenger Side by Side
  • ONESOURCE
    • Indirect Tax
  • Open Calais
  • Open PermID
    • Entity Search
  • Org ID
  • PAM
    • PAM - Logging
  • ProView
  • ProView Internal
  • Product Insight
  • Project Tracking
  • RDMS
  • Refinitiv Data Platform
    • Refinitiv Data Platform Libraries
  • Rose's Space
  • Screening
    • Qual-ID API
    • Screening Deployed
    • Screening Online
    • World-Check One
    • World-Check One Zero Footprint
  • Side by Side Integration API
  • TR Knowledge Graph
  • TREP APIs
    • CAT
    • DACS Station
    • Open DACS
    • RFA
    • UPA
  • TREP Infrastructure
  • TRKD
  • TRTH
  • Thomson One Smart
  • Transactions
    • REDI API
  • Velocity Analytics
  • Wealth Management Web Services
  • Workspace SDK
    • Element Framework
    • Grid
  • World-Check Data File
  • Yield Book Analytics
  • 中文论坛
  • Explore
  • Tags
  • Questions
  • Badges