Upgrade from Eikon -> Workspace. Learn about programming differences.

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

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials |  Articles

question

Upvotes
Accepted
1 0 1 2

API response pulls the request, but on the step of the merger- it is not consistent.

API Code.txtIssue: API response pulls the request, but on the step of the merger, it is not consistent - meaning that after client gets the "memory error", When he run the chunk again, it works fine sometimes. It changes from one RIC to another. Please see attached API code. Thank you.

eikon-data-api#technologyapipython api
api-code.txt (2.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.

Hi @mae.diaz ,


Can you provide the actual API call and the screenshot of the error that clients receives when making the API request? We do not debug a clients entire application code but can certainly help with any issues related to our libraries/data.

Best regards,

Haykaz

Hi @aramyan.h, may I know what you mean by the actual API call? please see attached screenshot from the client. We have the missing_rics_filtered file but can't attached it here due to the file limit. api-issue.png

api-issue1.png

api-issue.png (238.0 KiB)
api-issue1.png (275.0 KiB)

@mae.diaz

Hi,

Thank you for your participation in the forum.

Is the reply below satisfactory in answering your question?

If yes please click the 'Accept' text next to the reply and then close the question. This will guide all community members who have a similar question.

Otherwise please post again offering further insight into your question.

Thanks,

AHS

Please be informed that a reply has been verified as correct in answering the question, and has been marked as such.

Thanks,


AHS


1 Answer

· Write an Answer
Upvotes
Accepted
5k 16 2 7

Hi @mae.diaz ,


Based on the screenshot above, the error is not related to the APIs but rather it is a pandas merge operation issue indicating that Python is trying to create an array that is too large for the available memory in the environment.

Since this is not related to the API calls, I am afraid we can't help much. One general advice would be chunking the dataframe in much smaller chunks or using pd.concat which might be more memory-efficient function.


Best regards,

Haykaz

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.

I see, let me share this finding to the client. Thank you for checking.

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.