Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Current Version doesn't build with dev numpy #587

Closed
bjedwards opened this issue Jan 6, 2012 · 1 comment
Closed

Current Version doesn't build with dev numpy #587

bjedwards opened this issue Jan 6, 2012 · 1 comment

Comments

@bjedwards
Copy link

Can't build current pandas with dev version of numpy. I get the following error:

In file included from pandas/src/tseries.c:258:0: pandas/src/skiplist.h:31:28: error: redefinition of ‘__npy_nanf' /usr/local/lib/python2.7/site-packages/numpy/core/include/numpy/npy_math.h:19:25: note: previous definition of ‘__npy_nanf’ was here

This seems odd as a previous commit removed
#include <numpy/npy_math.h>

Commenting the offending function in skiplist.h seems to work, but that can't be the correct solution.

@wesm
Copy link
Member

wesm commented Jan 6, 2012

Sorry about that. Seems to be all set now

@wesm wesm closed this as completed Jan 6, 2012
dan-nadler pushed a commit to dan-nadler/pandas that referenced this issue Sep 23, 2019
list_libraries is a frequently called operation that can get
quite slow with a high amount of libraries. I noticed 4-5s+
for 7-8k libraries. Also the number of libraries is fairly
constant, so not much point in refetching the entire list every
time.

This adds a new collection in mongo which acts as a global cache
for all queries. The meta_db can be used for more accounting and
metadata storage in future, and this collection can be used for
caching other stuff as well.

It's best effort as if you don't have permissions or the data
does not exist in the cache it will just use the list_libraries.
The idea is to not require admin for reads and not expect the user
to have write access to a collection on writes.
dan-nadler pushed a commit to dan-nadler/pandas that referenced this issue Sep 23, 2019
Fix pandas-dev#587 Add a best effort cache option for list_libraries
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants