
Python 3 Data Visualization Using Google Gemini
Description
Alles über E-Books | Antworten auf Fragen rund um E-Books, Kopierschutz und Dateiformate finden Sie in unserem Info- & Hilfebereich.
- Covers Python-based data visualization libraries and techniques
- Includes practical examples and Gemini-generated code samples for efficient learning
- Integrates Google Gemini for advanced data visualization capabilities
- Sets up a conducive development environment for a seamless coding experience
- Includes companion files for downloading with source code and figures
All prices
More details
Other editions
Additional editions


Content
- Cover
- Title Page
- Copyright Page
- Dedication
- Contents
- Preface
- Chapter 1: Introduction to Python
- Tools for Python
- easy_install and pip
- virtualenv
- IPython
- Python Installation
- Setting the PATH Environment Variable (Windows Only)
- Launching Python on Your Machine
- The Python Interactive Interpreter
- Python Identifiers
- Lines, Indentation, and Multi-Line Comments
- Quotations and Comments in Python
- Saving Your Code in a Module
- Some Standard Modules in Python
- The help() and dir() Functions
- Compile Time and Runtime Code Checking
- Simple Data Types
- Working with Numbers
- Working with Other Bases
- The chr() Function
- The round() Function
- Formatting Numbers
- Working with Fractions
- Unicode and UTF-8
- Working with Unicode
- Working with Strings
- Comparing Strings
- Formatting Strings
- Slicing and Splicing Strings
- Testing for Digits and Alphabetic Characters
- Search and Replace a String in Other Strings
- Remove Leading and Trailing Characters
- Printing Text Without NewLine Characters
- Text Alignment
- Working with Dates
- Converting Strings to Dates
- Exception Handling in Python
- Handling User Input
- Command-Line Arguments
- Summary
- Chapter 2: Introduction to NumPy
- What is NumPy?
- Useful NumPy Features
- What are NumPy Arrays?
- Working with Loops
- Appending Elements to Arrays (1)
- Appending Elements to Arrays (2)
- Multiplying Lists and Arrays
- Doubling the Elements in a List
- Lists and Exponents
- Arrays and Exponents
- Math Operations and Arrays
- Working with "-1" Subranges with Vectors
- Working with "-1" Subranges with Arrays
- Other Useful NumPy Methods
- Arrays and Vector Operations
- NumPy and Dot Products (1)
- NumPy and Dot Products (2)
- NumPy and the Length of Vectors
- NumPy and Other Operations
- NumPy and the reshape() Method
- Calculating the Mean and Standard Deviation
- Code Sample with Mean and Standard Deviation
- Trimmed Mean and Weighted Mean
- Working with Lines in the Plane (Optional)
- Plotting Randomized Points with NumPy and Matplotlib
- Plotting a Quadratic with NumPy and Matplotlib
- What is Linear Regression?
- What is Multivariate Analysis?
- What about Non-Linear Datasets?
- The MSE (Mean Squared Error) Formula
- Other Error Types
- Non-Linear Least Squares
- Calculating the MSE Manually
- Find the Best-Fitting Line in NumPy
- Calculating the MSE by Successive Approximation (1)
- Calculating the MSE by Successive Approximation (2)
- Google Colaboratory
- Uploading CSV Files in Google Colaboratory
- Summary
- Chapter 3: Matplotlib and Visualization
- What is Data Visualization?
- Types of Data Visualization
- What is Matplotlib?
- Matplotlib Styles
- Display Attribute Values
- Color Values in Matplotlib
- Cubed Numbers in Matplotlib
- Horizontal Lines in Matplotlib
- Slanted Lines in Matplotlib
- Parallel Slanted Lines in Matplotlib
- A Grid of Points in Matplotlib
- A Dotted Grid in Matplotlib
- Two Lines and a Legend in Matplotlib
- Loading Images in Matplotlib
- A Checkerboard in Matplotlib
- Randomized Data Points in Matplotlib
- A Set of Line Segments in Matplotlib
- Plotting Multiple Lines in Matplotlib
- Trigonometric Functions in Matplotlib
- A Histogram in Matplotlib
- Histogram with Data from a sqlite3 Table
- Plot Bar Charts in Matplotlib
- Plot a Pie Chart in Matplotlib
- Heat Maps in Matplotlib
- Save Plot as a PNG File
- Working with SweetViz
- Working with Skimpy
- 3D Charts in Matplotlib
- Plotting Financial Data with Mplfinance
- Charts and Graphs with Data from Sqlite3
- Summary
- Chapter 4: Seaborn for Data Visualization
- Working With Seaborn
- Features of Seaborn
- Seaborn Dataset Names
- Seaborn Built-In Datasets
- The Iris Dataset in Seaborn
- The Titanic Dataset in Seaborn
- Extracting Data From Titanic Dataset in Seaborn (1)
- Extracting Data From Titanic Dataset in Seaborn (2)
- Visualizing a Pandas Dataset in Seaborn
- Seaborn Heat Maps
- Seaborn Pair Plots
- What Is Bokeh?
- Introduction to Scikit-Learn
- The Digits Dataset in Scikit-learn
- The Iris Dataset in Scikit-Learn
- Scikit-Learn, Pandas, and the Iris Dataset
- Advanced Topics in Seaborn
- Summary
- Chapter 5: Generative AI, Bard, and Gemini
- What is Generative AI?
- Key Features of Generative AI
- Popular Techniques in Generative AI
- What Makes Generative AI Unique
- Conversational AI Versus Generative AI
- Primary Objective
- Applications
- Technologies Used
- Training and Interaction
- Evaluation
- Data Requirements
- Is Gemini Part of Generative AI?
- DeepMind
- DeepMind and Games
- Player of Games (PoG)
- OpenAI
- Cohere
- Hugging Face
- Hugging Face Libraries
- Hugging Face Model Hub
- AI21
- InflectionAI
- Anthropic
- What is Prompt Engineering?
- Prompts and Completions
- Types of Prompts
- Instruction Prompts
- Reverse Prompts
- System Prompts Versus Agent Prompts
- Prompt Templates
- Poorly-Worded Prompts
- What is Gemini?
- Gemini Ultra Versus GPT-4
- Gemini Strengths
- Gemini's Weaknesses
- Gemini Nano on Mobile Devices
- What is Bard?
- Sample Queries and Responses from Bard
- Alternatives to Bard
- YouChat
- Pi from Inflection
- CoPilot (OpenAI/Microsoft)
- Codex (OpenAI)
- Apple GPT
- Claude 2
- Summary
- Chapter 6: Bard and Data Visualization
- Working With Charts and Graphs
- Bar Charts
- Pie Charts
- Line Graphs
- Heatmap
- Histogram
- Box Plot
- Pareto Chart
- Radar Chart
- Treemap
- Waterfall Chart
- Line Plots With Matplotlib
- A Pie Chart Using Matplotlib
- Box and Whisker Plots Using Matplotlib
- Stacked Bar Charts With Matplotlib
- Donut Chart Using Matplotlib
- 3D Surface Plots With Matplotlib
- Matplotlib's Contour Plots
- Streamplot for Vector Fields
- Polar Plots
- Bar Charts
- Scatter Plot With Regression Line
- Heatmap for Correlation Matrix With Seaborn
- Histograms With Seaborn
- Violin Plots With Seaborn
- Summary
- Index
System requirements
File format: PDF
Copy protection: Watermark-DRM (Digital Rights Management)
System requirements:
- Computer (Windows; MacOS X; Linux): Use the free software Adobe Reader, Adobe Digital Editions, or any other PDF viewer of your choice (see eBook Help).
- Tablet/Smartphone (Android; iOS): Install the free app Adobe Digital Editions or another reading app for eBooks, e.g., PocketBook (see eBook Help).
- E-reader: Bookeen, Kobo, Pocketbook, Sony, Tolino and many more (only limited: Kindle).
The file format PDF always displays a book page identically on any hardware. This makes PDF suitable for complex layouts such as those used in textbooks and reference books (images, tables, columns, footnotes). Unfortunately, on the small screens of e-readers or smartphones, PDFs are rather annoying, requiring too much scrolling.
This eBook uses Watermark-DRM, a „soft” copy protection. This means that there are no technical restrictions to prevent illegal distribution. However, there is a personalised watermark embedded in the eBook that can be used to identify the purchaser of the eBook in the event of misuse and to provide evidence for legal purposes.
For more information, see our eBook Help page.
File format: PDF
Copy-Protection: Adobe-DRM (Digital Rights Management)
System requirements:
- Computer (Windows; MacOS X; Linux): Install the free reader Adobe Digital Editions prior to download (see eBook Help).
- Tablet/smartphone (Android; iOS): Install the free app Adobe Digital Editions or the app PocketBook before downloading (see eBook Help).
- E-reader: Bookeen, Kobo, Pocketbook, Sony, Tolino and many more (only limited: Kindle).
The file format PDF always displays a book page identically on any hardware. This makes PDF suitable for complex layouts such as those used in textbooks and reference books (images, tables, columns, footnotes). Unfortunately, on the small screens of e-readers or smartphones, PDFs are rather annoying, requiring too much scrolling.
This eBook uses Adobe-DRM, a „hard” copy protection. If the necessary requirements are not met, unfortunately you will not be able to open the eBook. You will therefore need to prepare your reading hardware before downloading.
Please note: We strongly recommend that you authorise using your personal Adobe ID after installation of any reading software.
For more information, see our eBook Help page.