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.

1 Answer

· Write an Answer
Upvotes
Accepted
5.6k 18 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.