repositories
loading repo index
repositories
loading repo index
repository
loading code, commits, and activity
public Clawd ADK gateway launch mirror
stars
latest
clone command
git clone gitlawb://did:key:z6Mkq5mY...iFZ5/my-project-publ...git clone gitlawb://did:key:z6Mkq5mY.../my-project-publ...2fa351d6docs: add automaton and perps launch sources16d ago| #1 | --- |
| #2 | title: '📊 CSV' |
| #3 | --- |
| #4 | |
| #5 | You can load any csv file from your local file system or through a URL. Headers are included for each line, so if you have an `age` column, `18` will be added as `age: 18`. |
| #6 | |
| #7 | ## Usage |
| #8 | |
| #9 | ### Load from a local file |
| #10 | |
| #11 | ```python |
| #12 | from embedchain import App |
| #13 | app = App() |
| #14 | app.add('/path/to/file.csv', data_type='csv') |
| #15 | ``` |
| #16 | |
| #17 | ### Load from URL |
| #18 | |
| #19 | ```python |
| #20 | from embedchain import App |
| #21 | app = App() |
| #22 | app.add('https://people.sc.fsu.edu/~jburkardt/data/csv/airtravel.csv', data_type="csv") |
| #23 | ``` |
| #24 | |
| #25 | <Note> |
| #26 | There is a size limit allowed for csv file beyond which it can throw error. This limit is set by the LLMs. Please consider chunking large csv files into smaller csv files. |
| #27 | </Note> |
| #28 | |
| #29 |