Skip to content

Commit

Permalink
docs: pandas frequent query mentioned
Browse files Browse the repository at this point in the history
  • Loading branch information
0x0elliot committed May 28, 2024
1 parent 695061d commit 77b014c
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions docs/troubleshooting.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ Documentation for troubleshooting and debugging known issues in Shuffle.
* [Find top index items opensearch](#find-top-index-items-opensearch)
* [Resetting MFA code](#resetting-mfa)
* [Re-add user to lost organization](#add-user-to-lost-org)
* [Using custom modules in 'execute python' in shuffle-tools](#using-custom-modules-in-'execute-python'-in-shuffle-tools)



Expand Down Expand Up @@ -766,3 +767,11 @@ Update the USERID and ORGID, ORGNAME fields, then run this command to re-add you
```
curl -k -u admin:StrongShufflePassword321! https://localhost:9200/users/_update/USERID -d '{"doc": {"active_org.id": "ORGID", "active_org.name": "ORGNAME", "orgs": ["ORGID"]}}' -H "Content-Type: application/json"
```

## Using custom modules in 'execute python' in shuffle-tools

If you want to install a custom module like pandas (although, 'execute python' isn't made for heavy processing. We recommend making a custom python app for it).

There are two primary ways to it:
- Learn about dynamic library loading in your code (not recommended)
- Copy the Shuffle Tools app and add the libraries you want to it! Library configuration is over here: https://github.com/Shuffle/python-apps/blob/master/shuffle-tools/1.2.0/requirements.txt

0 comments on commit 77b014c

Please sign in to comment.