|
|
Showing 1 - 3 of
3 matches in All Departments
We geeks love puzzles and solving them. The Python programming
language is a simple one, but like all other languages it has
quirks. This book uses those quirks as teaching opportunities via
30 simple Python programs that challenge your understanding of
Python. The teasers will help you avoid mistakes, see gaps in your
knowledge, and become better at what you do. Use these teasers to
impress your co-workers or just to pass the time in those boring
meetings. Teasers are fun! At the beginning of each chapter I'll
show you a short Python program and will ask you to guess the
output. The possible answers can be: Syntax error Exception Hang
Some output (e.g. `[1 2 3]`) Here's how to approach the puzzles.
Read through the code. Before moving on to the answer and the
explanation, go ahead and guess the output. After guessing the
output, run the code and see the output yourself. Finally proceed
to read the solution and the explanation. The puzzles are short
enough to solve on a coffee break, so carry them with you, have
fun, and share them with co-workers. People who make mistakes
during the learning process learn better than people who don't. If
you use this approach at work when fixing bugs, you'll find you
enjoy bug hunting more and become a better developer after each bug
you fix. Many of these puzzles are from the author's lessons
learned (and others) of shipping bugs to production. He often uses
the puzzles as quizzes during conferences and meetups, and they
tend to create a buzz of excitement.
This book contains 25 short programs that will challenge your
understanding of Pandas. Like any big project, the Pandas
developers had to make some design decisions that at times seem
surprising. This book uses those quirks as a teaching opportunity.
By understanding the gaps in your knowledge, you'll become better
at what you do. Some of the teasers are from the author's
experience shipping bugs to production, and some from others doing
the same. Teasers and puzzles are fun, and learning how to solve
them can teach you to avoid programming mistakes and maybe even
impress your colleagues and future employers. Working with data is
central to nearly everything we do, from disease contact tracing
and analyzing health records to smart meters that track utility
consumption behavior. With the power of Python's pandas library,
you can process and analyze this data in a highly efficient and
simple-to-understand way. And with 25 brain teasers designed to
turn this technology's quirks into a teaching opportunity, you'll
be honing your data science skills while having fun at the same
time. Following a simple format, you'll challenge yourself and your
understanding of pandas. Read a short Python program that uses
pandas, try to guess the output, run the code yourself, and then go
to the next page for an explanation of the solution. From common
pitfalls and hidden gotchas to unexpected twists and turns, you'll
deepen your understanding of pandas, learn to write more efficient
code, and reduce the number of bugs in the software you develop.
You may even impress your colleagues and your employers, both
present and future. Learn the tricks of the trade with Python's
pandas, in one of the most fun and creative ways around. What You
Need: To run the code you'll need Python version 3.8 or upper and
Pandas version 1.0 or upper installed. We use Python version 3.8.3
and Pandas version 1.0.5; the output might change in future
versions.
This book contains 25 short programs that will challenge your
understanding of Go. Like any big project, the Go developers had to
make some design decisions that at times seem surprising. This book
uses those quirks as a teaching opportunity. By understanding the
gaps in your knowledge, you'll become better at what you do. Some
of the teasers are from the author's experience shipping bugs to
production, and some from others doing the same. Teasers and
puzzles are fun, and learning how to solve them can teach you to
avoid programming mistakes and maybe even impress your colleagues
and future employers. Programmers love the Go (golang) programming
language because of its efficiency and simple tooling. But that
doesn't mean programming in Go is without challenges, like hidden
dependencies that trip up the compiler and interesting string type
conversions that differ from languages like Python. Work your way
through 25 short brain teasers, and learn the nuances of Go in one
of the most fun and creative ways around. Challenge yourself and
challenge your assumptions to gain a more in-depth understanding of
integers, strings, Unicode, compiler behavior, and a variety of
subtle programming gotchas that might otherwise trip you up. Just
read a short program written in Go, try to guess the output, run
the code yourself, and then go to the next page for an explanation
of the solution. By working through these brain teasers, you'll
tighten up your Go programming skills and have lots of fun at the
same time. Taken from real-world, programming problems, conference
talks, and meetup quizzes, these brain teasers provide an effective
learning tool that's as enjoyable as it is educational. What You
Need: This book assumes you know Go at some level and have
experience programming with it. *NOTE:* We use Go version 1.14.1 to
run the code; the output might change in future versions. You will
need a working Go environment, you can download it from
https://golang.org/dl. You will probably want a good IDE for Go,
two of the most popular ones are Visual Studio Code and GoLand.
|
You may like...
Higher
Michael Buble
CD
(1)
R342
Discovery Miles 3 420
Catan
(16)
R1,347
Discovery Miles 13 470
|