id stringlengths 14 16 | text stringlengths 29 2.73k | source stringlengths 49 115 |
|---|---|---|
921f77319deb-583 | Walker unzips his Bag quickly handing a Detonator to Felix.\r\n \r\n ANGLE - DOWN THE STREET\r\n \r\n Ron yells at the Cops trying to explain!\r\n \r\n RON STALLWORTH\r\n ... | https://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/imsdb.html |
921f77319deb-584 | \r\n Patrice hearing the commotion steps out on the porch with\r\n Odetta.\r\n \r\n Ivanhoe sees Patrice on the porch.\r\n \r\n IVANHOE\r\n There she is! Do it!\r\n ... | https://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/imsdb.html |
921f77319deb-585 | PATRICE!\r\n \r\n Officer Myers jabs Ron in the Belly with his Nightstick. Ron\r\n doubles over.\r\n CLOSE - PATRICE\r\n \r\n PATRICE\r\n Ron???\r\n ... | https://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/imsdb.html |
921f77319deb-586 | You\'re Dead Black Bitch.\r\n \r\n ANGLE - PATRICE\'S HOUSE\r\n \r\n Patrice looks at Felix.\r\n \r\n CLOSE - RON\r\n \r\n recovering from the blow SCREAMS to her!\r\n ... | https://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/imsdb.html |
921f77319deb-587 | ANGLE - STREET\r\n \r\n Connie finally sees Felix in the car. Felix sees her, nods.\r\n She then sees that they are parked... NEXT TO PATRICE\'S\r\n CAR!!! Connie runs to Felix, screaming!\r\n \r\n ... | https://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/imsdb.html |
921f77319deb-588 | \r\n is attached to the inside of the wheel well of Patrice\'s car.\r\n \r\n PATRICE\'S CAR\r\n \r\n EXPLODES! THEN IT BLOWS UP FELIX\'S CAR NEXT TO IT!!! A double\r\n explosion!!! THE IMPACT BLOWS OUT WINDOWS EVERYWHERE!... | https://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/imsdb.html |
921f77319deb-589 | THE TWO CARS TOTALLY DESTROYED! ENGULFED IN FLAMES!!!\r\n \r\n Connie on her knees on the street, weeping!\r\n \r\n RON STILL HANDCUFFED\r\n \r\n through the smoke and flames is able to make eye contact with\r\n ... | https://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/imsdb.html |
921f77319deb-590 | \r\n FLIP\r\n Hey, you fucking idiots!!! We\'re\r\n undercover.\r\n \r\n Officers Brickhouse and Myers lower their guns.\r\n \r\n CLOSE - RON STALLWORTH\r\n ... | https://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/imsdb.html |
921f77319deb-591 | \r\n CLOSE - FLIP\r\n Flip smiles.\r\n \r\n OMITTED\r\n \r\n OMITTED\r\n INT. DIVE BAR - NIGHT\r\n \r\n The place is full of Off Duty Cops and t... | https://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/imsdb.html |
921f77319deb-592 | \r\n RON STALLWORTH\r\n Jeezus Christ.\r\n \r\n PATRICE\r\n What?\r\n \r\n RON S... | https://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/imsdb.html |
921f77319deb-593 | \r\n PATRICE\r\n Oh My God.\r\n \r\n Master Patrolman Landers nears them with a Beer in his hand.\r\n \r\n LANDERS\r\n W... | https://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/imsdb.html |
921f77319deb-594 | stares at him with contempt.\r\n \r\n PATRICE\r\n You don\'t remember me do you?\r\n \r\n Landers stares at her.\r\n PATRICE (CONT\'D)\r\n ... | https://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/imsdb.html |
921f77319deb-595 | PATRICE (CONT\'D)\r\n Stokely Carmichael.\r\n \r\n LANDERS\r\n Oh Yeah, Yeah, you looked good that\r\n night but you look even better now.\r\n \r\n ... | https://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/imsdb.html |
921f77319deb-596 | \r\n LANDERS\r\n Do what?\r\n \r\n PATRICE\r\n Pull us over for nothing. Harass us.\r\n Put your hands all over a Woman in\r\n ... | https://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/imsdb.html |
921f77319deb-597 | LANDERS\r\n I don\'t know what you\'re talking\r\n about.\r\n \r\n RON STALLWORTH\r\n It\'s like what I told you. He just\r\n likes taking advantage but in the... | https://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/imsdb.html |
921f77319deb-598 | to Patrice and Ron.\r\n He speaks softly issuing a deadly threat.\r\n \r\n LANDERS\r\n Let me tell you both something, I\'ve\r\n been keeping you People in line in\r\n this... | https://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/imsdb.html |
921f77319deb-599 | ya Black Ass if I feel like it and\r\n nuthin\' will be done about it. Get\r\n it? Wish the both of you got blown up\r\n instead of Good White Folks.\r\n \r\n Master Patrolman Landers raises up.\r\n ... | https://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/imsdb.html |
921f77319deb-600 | RON STALLWORTH (CONT\'D)\r\n You get it, Patrice?\r\n \r\n PATRICE\r\n Oh, I totally and completely get it.\r\n \r\n Landers looks confused with their response.\r\n ... | https://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/imsdb.html |
921f77319deb-601 | \r\n Ron turns toward the Bar and shouts.\r\n \r\n RON STALLWORTH (CONT\'D)\r\n You get it, Flip?\r\n \r\n Behind the Bar, Flip leans out from the back room waving to\r\n Ron wearing Headph... | https://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/imsdb.html |
921f77319deb-602 | \r\n Ron stands removing his Shirt revealing The Wire he is\r\n wearing. Master Patrolman Landers is in shock.\r\n \r\n RON STALLWORTH\r\n You get it, Chief?\r\n \r\n Sgt. Tr... | https://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/imsdb.html |
921f77319deb-603 | CHIEF BRIDGES\r\n Oh, I really, really get it. You\'re\r\n under arrest for Police Misconduct,\r\n Sexual Misconduct and Police\r\n Brutality.\r\n \r\n Sgt. Trapp and the Chief usher Master Patrolman... | https://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/imsdb.html |
921f77319deb-604 | \r\n Ron, walking taller than usual, steps inside The Unit. Some\r\n of his Colleagues notice and give him a Low-Key Ovation. At\r\n his Desk is Flip, who is in Great Spirits.\r\n \r\n FLIP\r\n Ther... | https://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/imsdb.html |
921f77319deb-605 | Ron smiles, gives Fives all around. They all share a laugh.\r\n FLIP (CONT\'D)\r\n That Polaroid Stunt you pulled? When\r\n you threw your Arms around them, I\r\n swear to God I almost Shit myself!\r\n... | https://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/imsdb.html |
921f77319deb-606 | FLIP\r\n Born ready is Ron.\r\n \r\n Sgt. Trapp steps out of his Office.\r\n \r\n SGT. TRAPP\r\n There\'s The Crazy Son of a Bitch!!!\r\n \r\n Trapp ... | https://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/imsdb.html |
921f77319deb-607 | You did good.\r\n \r\n RON STALLWORTH\r\n Sarge. We did good.\r\n \r\n Ron and Flip eyes meet, bonded.\r\n \r\n SGT. TRAPP\r\n ... | https://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/imsdb.html |
921f77319deb-608 | \r\n FLIP\r\n Hey... early promotion?\r\n \r\n Ron smiles.\r\n \r\n INT. OFFICE OF THE CHIEF OF POLICE - DAY\r\n \r\n Ron, Flip, and Sgt. Trapp sit ... | https://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/imsdb.html |
921f77319deb-609 | I can\'t commend you enough for\r\n what you\'ve achieved. You know there\r\n was not a Single Cross Burning the\r\n entire time you were involved?\r\n \r\n RON STALLWORTH\r\n ... | https://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/imsdb.html |
921f77319deb-610 | end...\r\n \r\n Sgt. Trapp shakes his head, resigned.\r\n RON STALLWORTH\r\n What does that mean?\r\n \r\n Ron and Flip look at each other, stunned.\r\n \r\n ... | https://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/imsdb.html |
921f77319deb-611 | FLIP\r\n Budget Cuts?\r\n \r\n CHIEF BRIDGES\r\n Inflation... I wish I had a choice.\r\n My hands are tied. Besides, it looks\r\n like there are no longer any ... | https://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/imsdb.html |
921f77319deb-612 | RON STALLWORTH\r\n ...Sounds like we did too good a job.\r\n \r\n CHIEF BRIDGES\r\n Not a Bad Legacy to leave.\r\n \r\n Bridges takes a deliberate pause. Then, THE Sucker... | https://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/imsdb.html |
921f77319deb-613 | destroy all Evidence of this\r\n Investigation.\r\n \r\n RON STALLWORTH\r\n Excuse me?\r\n \r\n FLIP\r\n ... | https://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/imsdb.html |
921f77319deb-614 | We prefer that The Public never knew\r\n about this Investigation.\r\n \r\n Ron and Flip are heated. Sgt. Trapp is silent but gutted.\r\n \r\n RON STALLWORTH\r\n If they ... | https://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/imsdb.html |
921f77319deb-615 | Ku Klux Klan. Effective immediately.\r\n That goes for Flip too. Ron\r\n Stallworth...\r\n \r\n RON STALLWORTH\r\n This is some Fucked up Bullshit.\r\n ... | https://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/imsdb.html |
921f77319deb-616 | Fort until you get back. Get you\r\n another assignment...Narcotics.\r\n \r\n Ron storms out.\r\n \r\n INT. INTELLIGENCE UNIT - CSPD - DAY\r\n \r\n Ron reflects as he feeds Investigation documents in... | https://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/imsdb.html |
921f77319deb-617 | The Shredder.\r\n Ron stops. Throws The Documents in a Folder. Sweeps some\r\n Folders into his Briefcase. Leaves as The Phone still rings.\r\n \r\n EXT. COLORADO SPRINGS POLICE DEPARTMENT BUILDING - DAY\r\n \r\n Ron is walking fast now... | https://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/imsdb.html |
921f77319deb-618 | Jimmy and Sgt. Trapp are behind, both close enough to listen,\r\n giggling.\r\n \r\n RON STALLWORTH\r\n I\'m sorry we didn\'t get to spend more\r\n One-on-One time together.\r\n ... | https://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/imsdb.html |
921f77319deb-619 | DEVIN DAVIS\r\n Well, that tragic event. I had just\r\n met those Fine Brothers in the cause.\r\n \r\n RON STALLWORTH\r\n Our Chapter is just shaken to the\r\n ... | https://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/imsdb.html |
921f77319deb-620 | \r\n DEVIN DAVIS\r\n My God. And then there was that one\r\n Nigger Detective who threatened me.\r\n RON STALLWORTH\r\n Goddamn Coloreds sure know how to\r\... | https://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/imsdb.html |
921f77319deb-621 | DEVIN DAVIS\r\n Christ. You can say that again.\r\n \r\n Ron cracks up into his Hand. Sgt. Trapp is wheezing-- his\r\n Face Bright Pink. Flip is laughing hard in the background.\r\n \r\n ... | https://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/imsdb.html |
921f77319deb-622 | \r\n DEVIN DAVIS\r\n No, I...\r\n \r\n RON STALLWORTH\r\n ...Are-uh you sure you don\'t know who\r\n he is? Are-uh you absolutely ... | https://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/imsdb.html |
921f77319deb-623 | written down\r\n being on this Investigation. He reads from it to Davis on the\r\n phone.\r\n \r\n ANGLE - SPLIT SCREEN\r\n \r\n Ron Stallworth and Devin Davis.\r\n \r\n RON STAL... | https://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/imsdb.html |
921f77319deb-624 | is Ron Stallworth\r\n you Redneck, Racist Peckerwood Small\r\n Dick Motherfucker!!!\r\n \r\n CLICK. Ron SLAM DUNKS THE RECEIVER LIKE SHAQ.\r\n \r\n CLOSE - DEVIN DAVIS\r\n \r\n ... | https://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/imsdb.html |
921f77319deb-625 | OFFICE FLOOR.\r\n INT. RON\'S APARTMENT - KITCHEN - NIGHT\r\n \r\n Folders of Evidence sit on The Kitchen Table in a stack in\r\n front of Ron. He sips his Lipton Tea and removes from the\r\n FILES THE\r\n \r\n C... | https://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/imsdb.html |
921f77319deb-626 | Member in Good Standing\r\n \r\n Patrice comes up from behind.\r\n CLOSE - PATRICE\r\n She pulls out a small handgun from her pocketbook.\r\n \r\n 2 - SHOT - PATRICE AND RON\r\n \r\n ... | https://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/imsdb.html |
921f77319deb-627 | Affirmative.\r\n \r\n PATRICE\r\n Have you handed in your Resignation\r\n as a Undercover Detective for The\r\n Colorado Springs Police Department?\r\n \r\n ... | https://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/imsdb.html |
921f77319deb-628 | for The Liberation for My People.\r\n \r\n PATRICE\r\n My Conscience won\'t let me Sleep with\r\n The Enemy.\r\n \r\n RON STALLWOR... | https://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/imsdb.html |
921f77319deb-629 | PATRICE\r\n You\'re absolutely right, and I Thank\r\n you for it.\r\n \r\n Patrice Kisses Ron on the cheek. Good Bye. WE HEAR a KNOCK on\r\n Ron\'s DOOR. Ron, who is startled, slowly rises. We HEAR\r\n another KNOCK.\r\n ... | https://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/imsdb.html |
921f77319deb-630 | Patrice stands\r\n behind him.\r\n \r\n QUICK FLASHES - BLACK BODY HANGING FROM A TREE (STRANGE\r\n FRUIT) Ron slowly moves to the DOOR. Ron has his SERVICE\r\n REVOLVER up and aimed ready to fire. Ron swings open the\r\n DOOR.\r\n ANGLE - HA... | https://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/imsdb.html |
921f77319deb-631 | \r\n Looking in the distance: The Rolling Hills surrounding The\r\n Neighborhood lead towards Pike\'s Peak, which sits on the\r\n horizon like a King on A Throne.\r\n \r\n WE SEE: Something Burning.\r\n \r\n CLOSER-- WE SEE a C... | https://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/imsdb.html |
921f77319deb-632 | ALT RIGHT, THE KLAN, NEO-\r\n CONFEDERATES AND WHITE NATIONALISTS MARCHING, HOLDING UP\r\n THEIR TIKI TORCHES, CHANTING.\r\n \r\n AMERICAN TERRORISTS\r\n YOU WILL NOT REPLACE US!!!\r\n ... | https://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/imsdb.html |
921f77319deb-633 | \r\n FINI.\r\n\r\n\r\n\n\n\n\nBlacKkKlansman\nWriters : \xa0\xa0Charlie Wachtel\xa0\xa0David Rabinowitz\xa0\xa0Kevin Willmott\xa0\xa0Spike Lee\nGenres : \xa0\xa0Crime\xa0\xa0Drama\nUser Comments\n\n\n\n\n\r\nBack to IMSDb\n\n\n', lookup_str='', metadata={'source': 'https://imsdb.com/s... | https://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/imsdb.html |
921f77319deb-634 | previous
Image captions
next
Markdown
By Harrison Chase
© Copyright 2023, Harrison Chase.
Last updated on May 02, 2023. | https://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/imsdb.html |
3d1f4888cee2-0 | .ipynb
.pdf
DuckDB Loader
Contents
Specifying Which Columns are Content vs Metadata
Adding Source to Metadata
DuckDB Loader#
Load a DuckDB query with one document per row.
from langchain.document_loaders import DuckDBLoader
%%file example.csv
Team,Payroll
Nationals,81.34
Reds,82.20
Writing example.csv
loader = DuckDB... | https://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/duckdb.html |
3d1f4888cee2-1 | Specifying Which Columns are Content vs Metadata
Adding Source to Metadata
By Harrison Chase
© Copyright 2023, Harrison Chase.
Last updated on May 02, 2023. | https://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/duckdb.html |
a7a6ee6d7547-0 | .ipynb
.pdf
CSV Loader
Contents
Customizing the csv parsing and loading
Specify a column to be used identify the document source
CSV Loader#
Load csv files with a single row per document.
from langchain.document_loaders.csv_loader import CSVLoader
loader = CSVLoader(file_path='./example_data/mlb_teams_2012.csv')
data... | https://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/csv.html |
a7a6ee6d7547-1 | [Document(page_content='Team: Nationals\n"Payroll (millions)": 81.34\n"Wins": 98', lookup_str='', metadata={'source': './example_data/mlb_teams_2012.csv', 'row': 0}, lookup_index=0), Document(page_content='Team: Reds\n"Payroll (millions)": 82.20\n"Wins": 97', lookup_str='', metadata={'source': './example_data/mlb_teams... | https://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/csv.html |
a7a6ee6d7547-2 | lookup_index=0), Document(page_content='Team: Rangers\n"Payroll (millions)": 120.51\n"Wins": 93', lookup_str='', metadata={'source': './example_data/mlb_teams_2012.csv', 'row': 6}, lookup_index=0), Document(page_content='Team: Orioles\n"Payroll (millions)": 81.43\n"Wins": 93', lookup_str='', metadata={'source': './exam... | https://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/csv.html |
a7a6ee6d7547-3 | 'row': 11}, lookup_index=0), Document(page_content='Team: Dodgers\n"Payroll (millions)": 95.14\n"Wins": 86', lookup_str='', metadata={'source': './example_data/mlb_teams_2012.csv', 'row': 12}, lookup_index=0), Document(page_content='Team: White Sox\n"Payroll (millions)": 96.92\n"Wins": 85', lookup_str='', metadata={'so... | https://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/csv.html |
a7a6ee6d7547-4 | 'row': 17}, lookup_index=0), Document(page_content='Team: Padres\n"Payroll (millions)": 55.24\n"Wins": 76', lookup_str='', metadata={'source': './example_data/mlb_teams_2012.csv', 'row': 18}, lookup_index=0), Document(page_content='Team: Mariners\n"Payroll (millions)": 81.97\n"Wins": 75', lookup_str='', metadata={'sour... | https://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/csv.html |
a7a6ee6d7547-5 | 'row': 23}, lookup_index=0), Document(page_content='Team: Red Sox\n"Payroll (millions)": 173.18\n"Wins": 69', lookup_str='', metadata={'source': './example_data/mlb_teams_2012.csv', 'row': 24}, lookup_index=0), Document(page_content='Team: Indians\n"Payroll (millions)": 78.43\n"Wins": 68', lookup_str='', metadata={'sou... | https://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/csv.html |
a7a6ee6d7547-6 | Customizing the csv parsing and loading#
See the csv module documentation for more information of what csv args are supported.
loader = CSVLoader(file_path='./example_data/mlb_teams_2012.csv', csv_args={
'delimiter': ',',
'quotechar': '"',
'fieldnames': ['MLB Team', 'Payroll in millions', 'Wins']
})
data = ... | https://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/csv.html |
a7a6ee6d7547-7 | [Document(page_content='MLB Team: Team\nPayroll in millions: "Payroll (millions)"\nWins: "Wins"', lookup_str='', metadata={'source': './example_data/mlb_teams_2012.csv', 'row': 0}, lookup_index=0), Document(page_content='MLB Team: Nationals\nPayroll in millions: 81.34\nWins: 98', lookup_str='', metadata={'source': './e... | https://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/csv.html |
a7a6ee6d7547-8 | './example_data/mlb_teams_2012.csv', 'row': 5}, lookup_index=0), Document(page_content='MLB Team: Athletics\nPayroll in millions: 55.37\nWins: 94', lookup_str='', metadata={'source': './example_data/mlb_teams_2012.csv', 'row': 6}, lookup_index=0), Document(page_content='MLB Team: Rangers\nPayroll in millions: 120.51\nW... | https://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/csv.html |
a7a6ee6d7547-9 | in millions: 132.30\nWins: 88', lookup_str='', metadata={'source': './example_data/mlb_teams_2012.csv', 'row': 11}, lookup_index=0), Document(page_content='MLB Team: Cardinals\nPayroll in millions: 110.30\nWins: 88', lookup_str='', metadata={'source': './example_data/mlb_teams_2012.csv', 'row': 12}, lookup_index=0), Do... | https://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/csv.html |
a7a6ee6d7547-10 | 16}, lookup_index=0), Document(page_content='MLB Team: Diamondbacks\nPayroll in millions: 74.28\nWins: 81', lookup_str='', metadata={'source': './example_data/mlb_teams_2012.csv', 'row': 17}, lookup_index=0), Document(page_content='MLB Team: Pirates\nPayroll in millions: 63.43\nWins: 79', lookup_str='', metadata={'sour... | https://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/csv.html |
a7a6ee6d7547-11 | metadata={'source': './example_data/mlb_teams_2012.csv', 'row': 22}, lookup_index=0), Document(page_content='MLB Team: Royals\nPayroll in millions: 60.91\nWins: 72', lookup_str='', metadata={'source': './example_data/mlb_teams_2012.csv', 'row': 23}, lookup_index=0), Document(page_content='MLB Team: Marlins\nPayroll in ... | https://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/csv.html |
a7a6ee6d7547-12 | in millions: 78.06\nWins: 64', lookup_str='', metadata={'source': './example_data/mlb_teams_2012.csv', 'row': 28}, lookup_index=0), Document(page_content='MLB Team: Cubs\nPayroll in millions: 88.19\nWins: 61', lookup_str='', metadata={'source': './example_data/mlb_teams_2012.csv', 'row': 29}, lookup_index=0), Document(... | https://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/csv.html |
a7a6ee6d7547-13 | Specify a column to be used identify the document source#
Use the source_column argument to specify a column to be set as the source for the document created from each row. Otherwise file_path will be used as the source for all documents created from the csv file.
This is useful when using documents loaded from CSV fil... | https://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/csv.html |
a7a6ee6d7547-14 | [Document(page_content='Team: Nationals\n"Payroll (millions)": 81.34\n"Wins": 98', lookup_str='', metadata={'source': 'Nationals', 'row': 0}, lookup_index=0), Document(page_content='Team: Reds\n"Payroll (millions)": 82.20\n"Wins": 97', lookup_str='', metadata={'source': 'Reds', 'row': 1}, lookup_index=0), Document(page... | https://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/csv.html |
a7a6ee6d7547-15 | 'row': 6}, lookup_index=0), Document(page_content='Team: Orioles\n"Payroll (millions)": 81.43\n"Wins": 93', lookup_str='', metadata={'source': 'Orioles', 'row': 7}, lookup_index=0), Document(page_content='Team: Rays\n"Payroll (millions)": 64.17\n"Wins": 90', lookup_str='', metadata={'source': 'Rays', 'row': 8}, lookup_... | https://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/csv.html |
a7a6ee6d7547-16 | lookup_str='', metadata={'source': 'White Sox', 'row': 13}, lookup_index=0), Document(page_content='Team: Brewers\n"Payroll (millions)": 97.65\n"Wins": 83', lookup_str='', metadata={'source': 'Brewers', 'row': 14}, lookup_index=0), Document(page_content='Team: Phillies\n"Payroll (millions)": 174.54\n"Wins": 81', lookup... | https://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/csv.html |
a7a6ee6d7547-17 | (millions)": 93.35\n"Wins": 74', lookup_str='', metadata={'source': 'Mets', 'row': 20}, lookup_index=0), Document(page_content='Team: Blue Jays\n"Payroll (millions)": 75.48\n"Wins": 73', lookup_str='', metadata={'source': 'Blue Jays', 'row': 21}, lookup_index=0), Document(page_content='Team: Royals\n"Payroll (millions)... | https://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/csv.html |
a7a6ee6d7547-18 | lookup_index=0), Document(page_content='Team: Rockies\n"Payroll (millions)": 78.06\n"Wins": 64', lookup_str='', metadata={'source': 'Rockies', 'row': 27}, lookup_index=0), Document(page_content='Team: Cubs\n"Payroll (millions)": 88.19\n"Wins": 61', lookup_str='', metadata={'source': 'Cubs', 'row': 28}, lookup_index=0),... | https://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/csv.html |
a7a6ee6d7547-19 | previous
Copy Paste
next
DataFrame Loader
Contents
Customizing the csv parsing and loading
Specify a column to be used identify the document source
By Harrison Chase
© Copyright 2023, Harrison Chase.
Last updated on May 02, 2023. | https://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/csv.html |
f52903517a5d-0 | .ipynb
.pdf
Web Base
Contents
Loading multiple webpages
Load multiple urls concurrently
Loading a xml file, or using a different BeautifulSoup parser
Web Base#
This covers how to load all text from webpages into a document format that we can use downstream. For more custom logic for loading webpages look at some chil... | https://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/web_base.html |
f52903517a5d-1 | [Document(page_content="\n\n\n\n\n\n\n\n\nESPN - Serving Sports Fans. Anytime. Anywhere.\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n Skip to main content\n \n\n ... | https://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/web_base.html |
f52903517a5d-2 | Select Games\n\n\n\n\n\n\n\nNCAA Baseball\n\n\n\n\n\n\n\nNCAA Softball\n\n\n\n\n\n\n\nCricket: Select Matches\n\n\n\n\n\n\n\nMel Kiper's NFL Mock Draft 3.0\n\n\nQuick Links\n\n\n\n\nMen's Tournament Challenge\n\n\n\n\n\n\n\nWomen's Tournament Challenge\n\n\n\n\n\n\n\nNFL Draft Order\n\n\n\n\n\n\n\nHow To Watch NHL Game... | https://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/web_base.html |
f52903517a5d-3 | Opening Day? Here's your guide to MLB's offseason chaosWait, Jacob deGrom is on the Rangers now? Xander Bogaerts and Trea Turner signed where? And what about Carlos Correa? Yeah, you're going to need to read up before Opening Day.12hESPNIllustration by ESPNEverything you missed in the MLB offseason3h2:33World Series od... | https://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/web_base.html |
f52903517a5d-4 | Jackson the most8h2:00Would Lamar sit out? Will Ravens draft a QB? Jackson trade request insightsLamar Jackson has asked Baltimore to trade him, but Ravens coach John Harbaugh hopes the QB will be back.3hJamison HensleyBallard, Colts will consider trading for QB JacksonJackson to Indy? Washington? Barnwell ranks the QB... | https://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/web_base.html |
f52903517a5d-5 | find comparisons.16hKevin PeltonWOMEN'S ELITE EIGHT SCOREBOARDMONDAY'S GAMESCheck your bracket!NBA DRAFTHow top prospects fared on the road to the Final FourThe 2023 NCAA tournament is down to four teams, and ESPN's Jonathan Givony recaps the players who saw their NBA draft stock change.11hJonathan GivonyAndy Lyons/Get... | https://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/web_base.html |
f52903517a5d-6 | Texas hiring Terry as full-time coachJets GM: No rush on Rodgers; Lamar not optionLove to leave North Carolina, enter transfer portalBelichick to angsty Pats fans: See last 25 yearsEmbiid out, Harden due back vs. Jokic, NuggetsLynch: Purdy 'earned the right' to start for NinersMan Utd, Wrexham plan July friendly in San... | https://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/web_base.html |
f52903517a5d-7 | can follow throughout the Big Dance. Women's Tournament ChallengeIllustration by ESPNWomen's Tournament ChallengeCheck your bracket(s) in the 2023 Women's Tournament Challenge, which you can follow throughout the Big Dance. Best of ESPN+AP Photo/Lynne SladkyFantasy Baseball ESPN+ Cheat Sheet: Sleepers, busts, rookies a... | https://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/web_base.html |
f52903517a5d-8 | predictionsMel Kiper Jr. makes his predictions for Round 1 of the NFL draft, including projecting a trade in the top five. Trending NowAnne-Marie Sorvin-USA TODAY SBoston Bruins record tracker: Wins, points, milestonesThe B's are on pace for NHL records in wins and points, along with some individual superlatives as wel... | https://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/web_base.html |
f52903517a5d-9 | on ESPN, ESPN+Here's everything you need to know about how to watch the PGA Tour, Masters, PGA Championship and FedEx Cup playoffs on ESPN and ESPN+.Hailie Lynch/XFLHow to watch the XFL: 2023 schedule, teams, players, news, moreEvery XFL game will be streamed on ESPN+. Find out when and where else you can watch the eig... | https://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/web_base.html |
f52903517a5d-10 | Baseball\n\n\n\n\n\n\n\nNCAA Softball\n\n\n\n\n\n\n\nCricket: Select Matches\n\n\n\n\n\n\n\nMel Kiper's NFL Mock Draft 3.0\n\n\nQuick Links\n\n\n\n\nMen's Tournament Challenge\n\n\n\n\n\n\n\nWomen's Tournament Challenge\n\n\n\n\n\n\n\nNFL Draft Order\n\n\n\n\n\n\n\nHow To Watch NHL Games\n\n\n\n\n\n\n\nFantasy Baseball... | https://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/web_base.html |
f52903517a5d-11 | ESPNCopyright: © ESPN Enterprises, Inc. All rights reserved.\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n", lookup_str='', metadata={'source': 'https://www.espn.com/'}, lookup_index=0)] | https://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/web_base.html |
f52903517a5d-12 | """
# Use this piece of code for testing new custom BeautifulSoup parsers
import requests
from bs4 import BeautifulSoup
html_doc = requests.get("{INSERT_NEW_URL_HERE}")
soup = BeautifulSoup(html_doc.text, 'html.parser')
# Beautiful soup logic to be exported to langchain.document_loaders.webpage.py
# Example: transcript... | https://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/web_base.html |
f52903517a5d-13 | [Document(page_content="\n\n\n\n\n\n\n\n\nESPN - Serving Sports Fans. Anytime. Anywhere.\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n Skip to main content\n \n\n ... | https://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/web_base.html |
f52903517a5d-14 | Select Games\n\n\n\n\n\n\n\nNCAA Baseball\n\n\n\n\n\n\n\nNCAA Softball\n\n\n\n\n\n\n\nCricket: Select Matches\n\n\n\n\n\n\n\nMel Kiper's NFL Mock Draft 3.0\n\n\nQuick Links\n\n\n\n\nMen's Tournament Challenge\n\n\n\n\n\n\n\nWomen's Tournament Challenge\n\n\n\n\n\n\n\nNFL Draft Order\n\n\n\n\n\n\n\nHow To Watch NHL Game... | https://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/web_base.html |
f52903517a5d-15 | Opening Day? Here's your guide to MLB's offseason chaosWait, Jacob deGrom is on the Rangers now? Xander Bogaerts and Trea Turner signed where? And what about Carlos Correa? Yeah, you're going to need to read up before Opening Day.12hESPNIllustration by ESPNEverything you missed in the MLB offseason3h2:33World Series od... | https://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/web_base.html |
f52903517a5d-16 | Jackson the most7h2:00Would Lamar sit out? Will Ravens draft a QB? Jackson trade request insightsLamar Jackson has asked Baltimore to trade him, but Ravens coach John Harbaugh hopes the QB will be back.3hJamison HensleyBallard, Colts will consider trading for QB JacksonJackson to Indy? Washington? Barnwell ranks the QB... | https://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/web_base.html |
f52903517a5d-17 | find comparisons.16hKevin PeltonWOMEN'S ELITE EIGHT SCOREBOARDMONDAY'S GAMESCheck your bracket!NBA DRAFTHow top prospects fared on the road to the Final FourThe 2023 NCAA tournament is down to four teams, and ESPN's Jonathan Givony recaps the players who saw their NBA draft stock change.11hJonathan GivonyAndy Lyons/Get... | https://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/web_base.html |
f52903517a5d-18 | Texas hiring Terry as full-time coachJets GM: No rush on Rodgers; Lamar not optionLove to leave North Carolina, enter transfer portalBelichick to angsty Pats fans: See last 25 yearsEmbiid out, Harden due back vs. Jokic, NuggetsLynch: Purdy 'earned the right' to start for NinersMan Utd, Wrexham plan July friendly in San... | https://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/web_base.html |
f52903517a5d-19 | can follow throughout the Big Dance. Women's Tournament ChallengeIllustration by ESPNWomen's Tournament ChallengeCheck your bracket(s) in the 2023 Women's Tournament Challenge, which you can follow throughout the Big Dance. Best of ESPN+AP Photo/Lynne SladkyFantasy Baseball ESPN+ Cheat Sheet: Sleepers, busts, rookies a... | https://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/web_base.html |
f52903517a5d-20 | predictionsMel Kiper Jr. makes his predictions for Round 1 of the NFL draft, including projecting a trade in the top five. Trending NowAnne-Marie Sorvin-USA TODAY SBoston Bruins record tracker: Wins, points, milestonesThe B's are on pace for NHL records in wins and points, along with some individual superlatives as wel... | https://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/web_base.html |
f52903517a5d-21 | on ESPN, ESPN+Here's everything you need to know about how to watch the PGA Tour, Masters, PGA Championship and FedEx Cup playoffs on ESPN and ESPN+.Hailie Lynch/XFLHow to watch the XFL: 2023 schedule, teams, players, news, moreEvery XFL game will be streamed on ESPN+. Find out when and where else you can watch the eig... | https://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/web_base.html |
f52903517a5d-22 | Baseball\n\n\n\n\n\n\n\nNCAA Softball\n\n\n\n\n\n\n\nCricket: Select Matches\n\n\n\n\n\n\n\nMel Kiper's NFL Mock Draft 3.0\n\n\nQuick Links\n\n\n\n\nMen's Tournament Challenge\n\n\n\n\n\n\n\nWomen's Tournament Challenge\n\n\n\n\n\n\n\nNFL Draft Order\n\n\n\n\n\n\n\nHow To Watch NHL Games\n\n\n\n\n\n\n\nFantasy Baseball... | https://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/web_base.html |
f52903517a5d-23 | ESPNCopyright: © ESPN Enterprises, Inc. All rights reserved.\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n", lookup_str='', metadata={'source': 'https://www.espn.com/'}, lookup_index=0), | https://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/web_base.html |
f52903517a5d-24 | Document(page_content='GoogleSearch Images Maps Play YouTube News Gmail Drive More »Web History | Settings | Sign in\xa0Advanced searchAdvertisingBusiness SolutionsAbout Google© 2023 - Privacy - Terms ', lookup_str='', metadata={'source': 'https://google.com'}, lookup_index=0)]
Load multiple urls concurrently#
You ca... | https://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/web_base.html |
f52903517a5d-25 | [Document(page_content="\n\n\n\n\n\n\n\n\nESPN - Serving Sports Fans. Anytime. Anywhere.\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n Skip to main content\n \n\n ... | https://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/web_base.html |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.