The yield keyword in Python.
(eVideo)
Contributors
Published
[Place of publication not identified] : Pragmatic AI Solutions, [2022].
Format
eVideo
Edition
[First edition].
Physical Desc
1 online resource (1 video file (6 min.)) : sound, color.
Status
Description
Loading Description...
Also in this Series
Checking series information...
Subjects
Other Subjects
More Details
Language
English
UPC
50133VIDEOPAIML
Notes
Participants/Performers
Alfredo Deza, presenter.
Description
What does the Yield keyword do in Python? This video covers the basics so you can understand what yield is, what is a generator, and why is it different than any other iterable in Python A yield keyword makes a function a lazy iterable. Producing values one at a time. The function becomes a generator, so when called, the code will not execute. A generator is a function that uses the yield keyword. This function is an iterable that produces values one at a time, or does a lazy production of values. I'll use a Jupyter Notebook that you can use to follow along with practical examples that will show you what are some of the key differences and when or why you would use the yield keyword. In this video you will learn: What is an iterable and how is it different from using yield? What does yield do to a function? What is a Python generator Potential uses for a Python generator like infinite results Useful Resources GitHub repository with examples Build Python applications from scratch Try Azure for Free Introduction to Azure Databricks.
Citations
APA Citation, 7th Edition (style guide)
Deza, A. (2022). The yield keyword in Python ([First edition].). Pragmatic AI Solutions.
Chicago / Turabian - Author Date Citation, 17th Edition (style guide)Deza, Alfredo. 2022. The Yield Keyword in Python. Pragmatic AI Solutions.
Chicago / Turabian - Humanities (Notes and Bibliography) Citation, 17th Edition (style guide)Deza, Alfredo. The Yield Keyword in Python Pragmatic AI Solutions, 2022.
MLA Citation, 9th Edition (style guide)Deza, Alfredo. The Yield Keyword in Python [First edition]., Pragmatic AI Solutions, 2022.
Note! Citations contain only title, author, edition, publisher, and year published. Citations should be used as a guideline and should be double checked for accuracy. Citation formats are based on standards as of August 2021.
Staff View
Grouped Work ID
27abc798-f5f4-42aa-2106-ca42b6b8ba9b-eng
Grouping Information
Grouped Work ID | 27abc798-f5f4-42aa-2106-ca42b6b8ba9b-eng |
---|---|
Full title | yield keyword in python |
Author | pragmatic ai solutions |
Grouping Category | movie |
Last Update | 2024-09-06 16:31:08PM |
Last Indexed | 2024-09-18 05:40:35AM |
Book Cover Information
Image Source | default |
---|---|
First Loaded | Aug 29, 2024 |
Last Used | Sep 18, 2024 |
Marc Record
First Detected | Jul 29, 2024 04:07:14 PM |
---|---|
Last File Modification Time | Sep 06, 2024 04:52:52 PM |
MARC Record
LEADER | 02675cgm a22004457i 4500 | ||
---|---|---|---|
001 | on1304516642 | ||
003 | OCoLC | ||
005 | 20240830103855.0 | ||
006 | m o c | ||
007 | cr cnannnuuuuu | ||
007 | vz czazuu | ||
008 | 220321s2022 xx 006 o o vleng d | ||
019 | |a 1436836271 | ||
024 | 8 | |a 50133VIDEOPAIML | |
035 | |a (OCoLC)1304516642|z (OCoLC)1436836271 | ||
037 | |a 50133VIDEOPAIML|b O'Reilly Media | ||
040 | |a ORMDA|b eng|e rda|e pn|c ORMDA|d OCLCO|d OCLCF | ||
049 | |a FMGA | ||
050 | 4 | |a QA76.73.P98 | |
082 | 0 | 4 | |a 005.117|2 23 |
245 | 0 | 4 | |a The yield keyword in Python. |
250 | |a [First edition]. | ||
264 | 1 | |a [Place of publication not identified] :|b Pragmatic AI Solutions,|c [2022] | |
300 | |a 1 online resource (1 video file (6 min.)) :|b sound, color. | ||
306 | |a 000600 | ||
336 | |a two-dimensional moving image|b tdi|2 rdacontent | ||
337 | |a computer|b c|2 rdamedia | ||
338 | |a online resource|b cr|2 rdacarrier | ||
344 | |a digital|2 rdatr | ||
347 | |a video file|2 rdaft | ||
380 | |a Instructional films|2 lcgft | ||
511 | 0 | |a Alfredo Deza, presenter. | |
520 | |a What does the Yield keyword do in Python? This video covers the basics so you can understand what yield is, what is a generator, and why is it different than any other iterable in Python A yield keyword makes a function a lazy iterable. Producing values one at a time. The function becomes a generator, so when called, the code will not execute. A generator is a function that uses the yield keyword. This function is an iterable that produces values one at a time, or does a lazy production of values. I'll use a Jupyter Notebook that you can use to follow along with practical examples that will show you what are some of the key differences and when or why you would use the yield keyword. In this video you will learn: What is an iterable and how is it different from using yield? What does yield do to a function? What is a Python generator Potential uses for a Python generator like infinite results Useful Resources GitHub repository with examples Build Python applications from scratch Try Azure for Free Introduction to Azure Databricks. | ||
588 | 0 | |a Online resource; title from title details screen (O'Reilly, viewed March 21, 2022). | |
650 | 0 | |a Python (Computer program language)|0 http://id.loc.gov/authorities/subjects/sh96008834 | |
650 | 0 | |a Application software|x Development.|0 http://id.loc.gov/authorities/subjects/sh95009362 | |
655 | 2 | |a Webcast | |
700 | 1 | |a Deza, Alfredo,|e presenter.|0 http://id.loc.gov/authorities/names/nb2021006726 | |
710 | 2 | |a Pragmatic AI Solutions (Firm),|e publisher. | |
856 | 4 | 0 | |u https://www.aclib.us/OReilly |