This file contains 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
import argparse | |
import pickle | |
import string | |
import sys | |
import nltk | |
import pandas as pd | |
from nltk.corpus import stopwords | |
from nltk.stem.wordnet import WordNetLemmatizer | |
from nltk.tokenize import word_tokenize |
This file contains 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
price | brand | model | year | title_status | mileage | color | state | country | converted_condition | ||
---|---|---|---|---|---|---|---|---|---|---|---|
0 | 6300 | 28 | 26 | 2008 | 1 | 274117.0 | 3 | 25 | 2 | 14400 | |
1 | 2899 | 9 | 93 | 2011 | 1 | 190552.0 | 40 | 36 | 2 | 8640 | |
2 | 5350 | 8 | 76 | 2018 | 1 | 39590.0 | 40 | 8 | 2 | 2880 | |
3 | 25000 | 9 | 33 | 2014 | 1 | 64146.0 | 5 | 40 | 2 | 1320 | |
4 | 27700 | 6 | 1 | 2018 | 1 | 6654.0 | 35 | 7 | 2 | 1320 |
This file contains 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
price | brand | model | year | title_status | mileage | color | state | country | converted_condition | ||
---|---|---|---|---|---|---|---|---|---|---|---|
0 | 6300 | toyota | cruiser | 2008 | clean vehicle | 274117.0 | black | new jersey | usa | 14400 | |
1 | 2899 | ford | se | 2011 | clean vehicle | 190552.0 | silver | tennessee | usa | 8640 | |
2 | 5350 | dodge | mpv | 2018 | clean vehicle | 39590.0 | silver | georgia | usa | 2880 | |
3 | 25000 | ford | door | 2014 | clean vehicle | 64146.0 | blue | virginia | usa | 1320 | |
4 | 27700 | chevrolet | 1500 | 2018 | clean vehicle | 6654.0 | red | florida | usa | 1320 |
This file contains 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
0 | 6300 | toyota | cruiser | 2008 | clean vehicle | 274117.0 | black | new jersey | usa | 14400 | |
---|---|---|---|---|---|---|---|---|---|---|---|
1 | 2899 | ford | se | 2011 | clean vehicle | 190552.0 | silver | tennessee | usa | 8640 | |
2 | 5350 | dodge | mpv | 2018 | clean vehicle | 39590.0 | silver | georgia | usa | 2880 | |
3 | 25000 | ford | door | 2014 | clean vehicle | 64146.0 | blue | virginia | usa | 1320 | |
4 | 27700 | chevrolet | 1500 | 2018 | clean vehicle | 6654.0 | red | florida | usa | 1320 |
This file contains 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
price | brand | model | year | title_status | mileage | color | state | country | condition | ||
---|---|---|---|---|---|---|---|---|---|---|---|
0 | 6300 | toyota | cruiser | 2008 | clean vehicle | 274117.0 | black | new jersey | usa | 10 days left | |
1 | 2899 | ford | se | 2011 | clean vehicle | 190552.0 | silver | tennessee | usa | 6 days left | |
2 | 5350 | dodge | mpv | 2018 | clean vehicle | 39590.0 | silver | georgia | usa | 2 days left | |
3 | 25000 | ford | door | 2014 | clean vehicle | 64146.0 | blue | virginia | usa | 22 hours left | |
4 | 27700 | chevrolet | 1500 | 2018 | clean vehicle | 6654.0 | red | florida | usa | 22 hours left |
This file contains 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
price | brand | model | year | title_status | mileage | color | vin | lot | state | country | condition | ||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0 | 6300 | toyota | cruiser | 2008 | clean vehicle | 274117.0 | black | jtezu11f88k007763 | 159348797 | new jersey | usa | 10 days left | |
1 | 2899 | ford | se | 2011 | clean vehicle | 190552.0 | silver | 2fmdk3gc4bbb02217 | 166951262 | tennessee | usa | 6 days left | |
2 | 5350 | dodge | mpv | 2018 | clean vehicle | 39590.0 | silver | 3c4pdcgg5jt346413 | 167655728 | georgia | usa | 2 days left | |
3 | 25000 | ford | door | 2014 | clean vehicle | 64146.0 | blue | 1ftfw1et4efc23745 | 167753855 | virginia | usa | 22 hours left | |
4 | 27700 | chevrolet | 1500 | 2018 | clean vehicle | 6654.0 | red | 3gcpcrec2jg473991 | 167763266 | florida | usa | 22 hours left |