Skip to content
This repository was archived by the owner on Jul 29, 2025. It is now read-only.

Conversation

@daureg
Copy link

@daureg daureg commented Feb 10, 2025

There are only 3 usages of numpy, and they seem innocuous enough

rg -t py "np\."
# bulk/_bokeh_utils.py
23:            lambda x: str(x) if not (type(x) == float and np.isnan(x)) else x

# bulk/cli/text.py
30:            subset = subset.iloc[np.random.permutation(len(subset))]

# bulk/cli/image.py
72:            subset = subset.iloc[np.random.permutation(len(subset))]

There are only 3 usages of numpy, and they seem innocuous enough
```shell
rg -t py "np\."
bulk/_bokeh_utils.py
23:            lambda x: str(x) if not (type(x) == float and np.isnan(x)) else x

bulk/cli/text.py
30:            subset = subset.iloc[np.random.permutation(len(subset))]

bulk/cli/image.py
72:            subset = subset.iloc[np.random.permutation(len(subset))]
```
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant