Successfully reported this slideshow.
Your SlideShare is downloading. ×

Virtual tourism in covid times

Upcoming SlideShare
Life of a data engineer
Life of a data engineer
Loading in …3
×

Check these out next

1 of 22 Ad
1 of 22 Ad

Virtual tourism in covid times

Download to read offline

The talk covers how you can visualize your Google location history using Streamlit. It covers how you can get the data, cleanse it, augment it using images and finally visualize it using Python without using any Javascript libraries. This talk was given at EuroPython 2021 (https://ep2021.europython.eu/talks/4NTyz92-virtual-tourism-in-covid-times/)

The talk covers how you can visualize your Google location history using Streamlit. It covers how you can get the data, cleanse it, augment it using images and finally visualize it using Python without using any Javascript libraries. This talk was given at EuroPython 2021 (https://ep2021.europython.eu/talks/4NTyz92-virtual-tourism-in-covid-times/)

Advertisement
Advertisement

More Related Content

Similar to Virtual tourism in covid times (20)

Advertisement

Virtual tourism in covid times

  1. 1. Virtual Tourism in COVID Times 😷 Nithish Raghunandanan @nithishr
  2. 2. About Me ● Developer Advocate 🥑 ● Like to Prototype 🛠 ● Build in ● Organize PyData Munich ● Love to Travel ✈ ● Find me @nithishr
  3. 3. Like to
  4. 4. 2020
  5. 5. Can you Visualize your Google Location History?
  6. 6. Can you Visualize your Google Location History?
  7. 7. Google Location Data ● Standardize ○ Timestamp in milliseconds ■ Convert to timestamp using pd.to_datetime() ○ Latitude & Longitudes ■ Divide by 10^7
  8. 8. How to Visualize?
  9. 9. Visualizing Data ● Notebooks ● Presentations ● Scripts ● Code ● Reports in Tableau ● Web Apps?
  10. 10. Jupyter Notebooks ● Great for Experimentation ● Graphs & Visualizations ● Storytelling using Data ● Customize with Code ● “I don’t like notebooks” - Joel Grus
  11. 11. Web Apps: Wild West of Javascript ● Lots of Frameworks / Libraries ● Paradox of Choice
  12. 12. Streamlit ● Turn Data Scripts into Web Apps ● Interactive ● No Frontend Experience Required ● Easy to Deploy
  13. 13. Streamlit Compatibility with Major Frameworks / Libraries
  14. 14. Visualize your Google Location Data ● Add Background Information ○ Images from ○ Random Images based on Location ● Histograms ● Heatmaps
  15. 15. Visualize your Google Location Data
  16. 16. Visualize your Google Location Data Demo: https://youtu.be/ZFIviSlB4ZA
  17. 17. Deployment Private Server ● Config File ○ $CWD/.streamlit/config.toml ● Run ○ streamlit run script.py Streamlit Sharing ● Public Github Repos for Free ● Premium Offering
  18. 18. Streamlit Observations Pros ● Make Python Code Interactive ● Customizable ● Deployment is easy ● Active Community Cons ● No built in Authentication ● Limited Design flexibility Good to have for Data Scientists
  19. 19. Streamlit Alternatives Pick your friend
  20. 20. Improvements ● Map Locations to City / Country ○ Reduce data? ● Improve Images ○ Connect to Google Photos Data?
  21. 21. Conclusion ● Great for Prototyping ● No need to worry about Javascript ● Revisit past Travels
  22. 22. References ● Code: ○ Travel Data Visualization https://github.com/nithishr/streamlit-data-viz-demo ● Examples: ○ Streamlit Gallery Nithish Raghunandanan nithishr.com @nithishr

×