Skip to content

Instantly share code, notes, and snippets.

@fnneves
Created November 1, 2018 20:02
Show Gist options
  • Save fnneves/6df163f82d4d3c8335b063a584e9ec25 to your computer and use it in GitHub Desktop.
Save fnneves/6df163f82d4d3c8335b063a584e9ec25 to your computer and use it in GitHub Desktop.
cols = ['Title', 'Zone', 'Price', 'Size (m²)', 'Status', 'Description', 'Date', 'URL', 'Image']
lisboa = pd.DataFrame({'Title': titles,
'Price': prices,
'Size (m²)': areas,
'Zone': zone,
'Date': created,
'Status': condition,
'Description': descriptions,
'URL': urls,
'Image': thumbnails})[cols]
lisboa.to_excel('lisboa_raw.xls')
# lisboa = pd.read_excel('lisboa_raw.xls')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment