March 2024
Intermediate to advanced
192 pages
3h 59m
English
This chapter contains examples of using Bard to perform an eclectic mix of Python tasks, from generating Python code to scrape Web pages to generating code to calculate probabilities involved in throwing two or more dice. Bard generated all the code samples in this chapter. You can also submit your own prompts for Bard at this Web site:
https://blog.google/products/bard/google-bard-try-gemini-ai/
The first part of this chapter starts with details about uploading CSV files to Bard, along with Python code for handling text files and scraping Web sites.
The second part of this chapter contains Python code for creating a basic chatbot and performing data visualization. In addition, you ...
Read now
Unlock full access