This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# STEP 1: Load | |
# Load documents using LangChain's DocumentLoaders | |
# This is from https://langchain.readthedocs.io/en/latest/modules/document_loaders/examples/csv.html | |
from langchain.document_loaders.csv_loader import CSVLoader | |
loader = CSVLoader(file_path='./example_data/mlb_teams_2012.csv') | |
data = loader.load() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
OS: Linux ubuntu 4.10.0-28-generic #32~16.04.2-Ubuntu | |
Instructions: | |
1)Uncomment lines from /etc/apt/sources.list(needs root): | |
deb-src http://us.archive.ubuntu.com/ubuntu/ xenial universe | |
deb-src http://us.archive.ubuntu.com/ubuntu/ xenial-updates universe | |
2)Run: | |
sudo apt-get update && sudo apt-get upgrade |