提交 1fb1ee59 编写于 作者: J jrzaurin

adding a comment

上级 bb418827
......@@ -141,6 +141,7 @@ from pathlib import Path
# `data/airbnb/listings_processed.csv`
DATA_PATH=Path('data')
DF_airbnb = pd.read_csv(DATA_PATH/'airbnb/listings_processed.csv')
# let's just focus on descriptions with more than 10 words
DF_airbnb = DF_airbnb[DF_airbnb.description.apply(lambda x: len(x.split(' '))>=10)]
out_dir = DATA_PATH/'airbnb/wide_deep_data/'
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册