{"id":1334,"date":"2024-07-17T13:04:16","date_gmt":"2024-07-17T13:04:16","guid":{"rendered":"https:\/\/www.allendowney.com\/blog\/?p=1334"},"modified":"2024-07-17T13:04:16","modified_gmt":"2024-07-17T13:04:16","slug":"elements-of-data-science","status":"publish","type":"post","link":"https:\/\/www.allendowney.com\/blog\/2024\/07\/17\/elements-of-data-science\/","title":{"rendered":"Elements of Data Science"},"content":{"rendered":"<div class=\"wp-block-image\">\n<figure class=\"alignright size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"626\" height=\"824\" src=\"https:\/\/www.allendowney.com\/blog\/wp-content\/uploads\/2024\/07\/image.png\" alt=\"\" class=\"wp-image-1335\" style=\"width:290px;height:auto\" srcset=\"https:\/\/www.allendowney.com\/blog\/wp-content\/uploads\/2024\/07\/image.png 626w, https:\/\/www.allendowney.com\/blog\/wp-content\/uploads\/2024\/07\/image-228x300.png 228w, https:\/\/www.allendowney.com\/blog\/wp-content\/uploads\/2024\/07\/image-205x270.png 205w\" sizes=\"auto, (max-width: 626px) 100vw, 626px\" \/><\/figure>\n<\/div>\n\n\n<p>I&#8217;m excited to announce the launch of my newest book, <em>Elements of Data Science<\/em>. As the subtitle suggests, it is about &#8220;Getting started with Data Science and Python&#8221;.<\/p>\n\n\n\n<p><a href=\"https:\/\/www.lulu.com\/shop\/allen-downey\/elements-of-data-science\/paperback\/product-9dyrwn.html\">Order now from Lulu.com and get 20% off!<\/a><\/p>\n\n\n\n<p>I am publishing this book myself, which has one big advantage: I can print it with a <strong>full color interior<\/strong> without increasing the cover price. In my opinion, the code is more readable with syntax highlighting, and the data visualizations look great!<\/p>\n\n\n\n<p>In addition to the printed edition, all <a href=\"https:\/\/allendowney.github.io\/ElementsOfDataScience\/\">chapters are available to read online<\/a>, and they are in Jupyter notebooks, where you can read the text, run the code, and work on the exercises.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Description<\/h2>\n\n\n\n<p><em>Elements of Data Science<\/em> is an introduction to data science for people with no programming experience. My goal is to present a small, powerful subset of Python that allows you to do real work with data as quickly as possible.<\/p>\n\n\n\n<p>Part 1 includes six chapters that introduce basic Python with a focus on working with data.<\/p>\n\n\n\n<p>Part 2 presents exploratory data analysis using Pandas and <a href=\"https:\/\/pypi.org\/project\/empiricaldist\/\">empiricaldist<\/a> &#8212; it includes a revised and updated version of the material from my popular DataCamp course, &#8220;Exploratory Data Analysis in Python.&#8221;<\/p>\n\n\n\n<p>Part 3 takes a computational approach to statistical inference, introducing resampling method, bootstrapping, and randomization tests.<\/p>\n\n\n\n<p>Part 4 is the first of two case studies. It uses data from the General Social Survey to explore changes in political beliefs and attitudes in the U.S. in the last 50 years. The data points on the cover are from one of the graphs in this section.<\/p>\n\n\n\n<p>Part 5 is the second case study, which introduces classification algorithms and the metrics used to evaluate them &#8212; and discusses the challenges of algorithmic decision-making in the context of criminal justice.<\/p>\n\n\n\n<p>This project started in 2019, when I collaborated with a group at Harvard to create a data science class for people with no programming experience. We discussed some of the design decisions that went into the course and the book <a href=\"https:\/\/hdsr.mitpress.mit.edu\/pub\/kk63wpuo\/release\/2\">in this article<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I&#8217;m excited to announce the launch of my newest book, Elements of Data Science. As the subtitle suggests, it is about &#8220;Getting started with Data Science and Python&#8221;. Order now from Lulu.com and get 20% off! I am publishing this book myself, which has one big advantage: I can print it with a full color interior without increasing the cover price. In my opinion, the code is more readable with syntax highlighting, and the data visualizations look great! In addition&#8230;<\/p>\n<p class=\"read-more\"><a class=\"btn btn-default\" href=\"https:\/\/www.allendowney.com\/blog\/2024\/07\/17\/elements-of-data-science\/\"> Read More<span class=\"screen-reader-text\">  Read More<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[1],"tags":[],"class_list":["post-1334","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Elements of Data Science - Probably Overthinking It<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.allendowney.com\/blog\/2024\/07\/17\/elements-of-data-science\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Elements of Data Science - Probably Overthinking It\" \/>\n<meta property=\"og:description\" content=\"I&#8217;m excited to announce the launch of my newest book, Elements of Data Science. As the subtitle suggests, it is about &#8220;Getting started with Data Science and Python&#8221;. Order now from Lulu.com and get 20% off! I am publishing this book myself, which has one big advantage: I can print it with a full color interior without increasing the cover price. In my opinion, the code is more readable with syntax highlighting, and the data visualizations look great! In addition... Read More Read More\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.allendowney.com\/blog\/2024\/07\/17\/elements-of-data-science\/\" \/>\n<meta property=\"og:site_name\" content=\"Probably Overthinking It\" \/>\n<meta property=\"article:published_time\" content=\"2024-07-17T13:04:16+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.allendowney.com\/blog\/wp-content\/uploads\/2024\/07\/image.png\" \/>\n<meta name=\"author\" content=\"AllenDowney\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@AllenDowney\" \/>\n<meta name=\"twitter:site\" content=\"@AllenDowney\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"AllenDowney\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.allendowney.com\/blog\/2024\/07\/17\/elements-of-data-science\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.allendowney.com\/blog\/2024\/07\/17\/elements-of-data-science\/\"},\"author\":{\"name\":\"AllenDowney\",\"@id\":\"https:\/\/www.allendowney.com\/blog\/#\/schema\/person\/4e5bfb2e9af6c3446cb0031a7bf83207\"},\"headline\":\"Elements of Data Science\",\"datePublished\":\"2024-07-17T13:04:16+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.allendowney.com\/blog\/2024\/07\/17\/elements-of-data-science\/\"},\"wordCount\":337,\"publisher\":{\"@id\":\"https:\/\/www.allendowney.com\/blog\/#organization\"},\"image\":{\"@id\":\"https:\/\/www.allendowney.com\/blog\/2024\/07\/17\/elements-of-data-science\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.allendowney.com\/blog\/wp-content\/uploads\/2024\/07\/image.png\",\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.allendowney.com\/blog\/2024\/07\/17\/elements-of-data-science\/\",\"url\":\"https:\/\/www.allendowney.com\/blog\/2024\/07\/17\/elements-of-data-science\/\",\"name\":\"Elements of Data Science - Probably Overthinking It\",\"isPartOf\":{\"@id\":\"https:\/\/www.allendowney.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.allendowney.com\/blog\/2024\/07\/17\/elements-of-data-science\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.allendowney.com\/blog\/2024\/07\/17\/elements-of-data-science\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.allendowney.com\/blog\/wp-content\/uploads\/2024\/07\/image.png\",\"datePublished\":\"2024-07-17T13:04:16+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/www.allendowney.com\/blog\/2024\/07\/17\/elements-of-data-science\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.allendowney.com\/blog\/2024\/07\/17\/elements-of-data-science\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.allendowney.com\/blog\/2024\/07\/17\/elements-of-data-science\/#primaryimage\",\"url\":\"https:\/\/www.allendowney.com\/blog\/wp-content\/uploads\/2024\/07\/image.png\",\"contentUrl\":\"https:\/\/www.allendowney.com\/blog\/wp-content\/uploads\/2024\/07\/image.png\",\"width\":626,\"height\":824},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.allendowney.com\/blog\/2024\/07\/17\/elements-of-data-science\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.allendowney.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Elements of Data Science\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.allendowney.com\/blog\/#website\",\"url\":\"https:\/\/www.allendowney.com\/blog\/\",\"name\":\"Probably Overthinking It\",\"description\":\"Data science, Bayesian Statistics, and other ideas\",\"publisher\":{\"@id\":\"https:\/\/www.allendowney.com\/blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.allendowney.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.allendowney.com\/blog\/#organization\",\"name\":\"Probably Overthinking It\",\"url\":\"https:\/\/www.allendowney.com\/blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.allendowney.com\/blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.allendowney.com\/blog\/wp-content\/uploads\/2025\/03\/probably_logo.png\",\"contentUrl\":\"https:\/\/www.allendowney.com\/blog\/wp-content\/uploads\/2025\/03\/probably_logo.png\",\"width\":714,\"height\":784,\"caption\":\"Probably Overthinking It\"},\"image\":{\"@id\":\"https:\/\/www.allendowney.com\/blog\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/x.com\/AllenDowney\",\"https:\/\/www.linkedin.com\/in\/allendowney\/\",\"https:\/\/bsky.app\/profile\/allendowney.bsky.social\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.allendowney.com\/blog\/#\/schema\/person\/4e5bfb2e9af6c3446cb0031a7bf83207\",\"name\":\"AllenDowney\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.allendowney.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/fb01b3a7f7190bea1bbf7f0852e686c2f8c03b099222df2ce4bc7926f15bcb43?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/fb01b3a7f7190bea1bbf7f0852e686c2f8c03b099222df2ce4bc7926f15bcb43?s=96&d=mm&r=g\",\"caption\":\"AllenDowney\"},\"url\":\"https:\/\/www.allendowney.com\/blog\/author\/allendowney_6dbrc4\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Elements of Data Science - Probably Overthinking It","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.allendowney.com\/blog\/2024\/07\/17\/elements-of-data-science\/","og_locale":"en_US","og_type":"article","og_title":"Elements of Data Science - Probably Overthinking It","og_description":"I&#8217;m excited to announce the launch of my newest book, Elements of Data Science. As the subtitle suggests, it is about &#8220;Getting started with Data Science and Python&#8221;. Order now from Lulu.com and get 20% off! I am publishing this book myself, which has one big advantage: I can print it with a full color interior without increasing the cover price. In my opinion, the code is more readable with syntax highlighting, and the data visualizations look great! In addition... Read More Read More","og_url":"https:\/\/www.allendowney.com\/blog\/2024\/07\/17\/elements-of-data-science\/","og_site_name":"Probably Overthinking It","article_published_time":"2024-07-17T13:04:16+00:00","og_image":[{"url":"https:\/\/www.allendowney.com\/blog\/wp-content\/uploads\/2024\/07\/image.png","type":"","width":"","height":""}],"author":"AllenDowney","twitter_card":"summary_large_image","twitter_creator":"@AllenDowney","twitter_site":"@AllenDowney","twitter_misc":{"Written by":"AllenDowney","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.allendowney.com\/blog\/2024\/07\/17\/elements-of-data-science\/#article","isPartOf":{"@id":"https:\/\/www.allendowney.com\/blog\/2024\/07\/17\/elements-of-data-science\/"},"author":{"name":"AllenDowney","@id":"https:\/\/www.allendowney.com\/blog\/#\/schema\/person\/4e5bfb2e9af6c3446cb0031a7bf83207"},"headline":"Elements of Data Science","datePublished":"2024-07-17T13:04:16+00:00","mainEntityOfPage":{"@id":"https:\/\/www.allendowney.com\/blog\/2024\/07\/17\/elements-of-data-science\/"},"wordCount":337,"publisher":{"@id":"https:\/\/www.allendowney.com\/blog\/#organization"},"image":{"@id":"https:\/\/www.allendowney.com\/blog\/2024\/07\/17\/elements-of-data-science\/#primaryimage"},"thumbnailUrl":"https:\/\/www.allendowney.com\/blog\/wp-content\/uploads\/2024\/07\/image.png","inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/www.allendowney.com\/blog\/2024\/07\/17\/elements-of-data-science\/","url":"https:\/\/www.allendowney.com\/blog\/2024\/07\/17\/elements-of-data-science\/","name":"Elements of Data Science - Probably Overthinking It","isPartOf":{"@id":"https:\/\/www.allendowney.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.allendowney.com\/blog\/2024\/07\/17\/elements-of-data-science\/#primaryimage"},"image":{"@id":"https:\/\/www.allendowney.com\/blog\/2024\/07\/17\/elements-of-data-science\/#primaryimage"},"thumbnailUrl":"https:\/\/www.allendowney.com\/blog\/wp-content\/uploads\/2024\/07\/image.png","datePublished":"2024-07-17T13:04:16+00:00","breadcrumb":{"@id":"https:\/\/www.allendowney.com\/blog\/2024\/07\/17\/elements-of-data-science\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.allendowney.com\/blog\/2024\/07\/17\/elements-of-data-science\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.allendowney.com\/blog\/2024\/07\/17\/elements-of-data-science\/#primaryimage","url":"https:\/\/www.allendowney.com\/blog\/wp-content\/uploads\/2024\/07\/image.png","contentUrl":"https:\/\/www.allendowney.com\/blog\/wp-content\/uploads\/2024\/07\/image.png","width":626,"height":824},{"@type":"BreadcrumbList","@id":"https:\/\/www.allendowney.com\/blog\/2024\/07\/17\/elements-of-data-science\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.allendowney.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Elements of Data Science"}]},{"@type":"WebSite","@id":"https:\/\/www.allendowney.com\/blog\/#website","url":"https:\/\/www.allendowney.com\/blog\/","name":"Probably Overthinking It","description":"Data science, Bayesian Statistics, and other ideas","publisher":{"@id":"https:\/\/www.allendowney.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.allendowney.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.allendowney.com\/blog\/#organization","name":"Probably Overthinking It","url":"https:\/\/www.allendowney.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.allendowney.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.allendowney.com\/blog\/wp-content\/uploads\/2025\/03\/probably_logo.png","contentUrl":"https:\/\/www.allendowney.com\/blog\/wp-content\/uploads\/2025\/03\/probably_logo.png","width":714,"height":784,"caption":"Probably Overthinking It"},"image":{"@id":"https:\/\/www.allendowney.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/x.com\/AllenDowney","https:\/\/www.linkedin.com\/in\/allendowney\/","https:\/\/bsky.app\/profile\/allendowney.bsky.social"]},{"@type":"Person","@id":"https:\/\/www.allendowney.com\/blog\/#\/schema\/person\/4e5bfb2e9af6c3446cb0031a7bf83207","name":"AllenDowney","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.allendowney.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/fb01b3a7f7190bea1bbf7f0852e686c2f8c03b099222df2ce4bc7926f15bcb43?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/fb01b3a7f7190bea1bbf7f0852e686c2f8c03b099222df2ce4bc7926f15bcb43?s=96&d=mm&r=g","caption":"AllenDowney"},"url":"https:\/\/www.allendowney.com\/blog\/author\/allendowney_6dbrc4\/"}]}},"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack-related-posts":[{"id":689,"url":"https:\/\/www.allendowney.com\/blog\/2021\/12\/19\/data-structures-and-information-retrieval-in-python\/","url_meta":{"origin":1334,"position":0},"title":"Data Structures and Information Retrieval in Python","author":"AllenDowney","date":"December 19, 2021","format":false,"excerpt":"I am happy to announce the first release of a new book, Data Structures and Information Retrieval in Python, which is an introduction to data structures organized around a motivating example: building a search engine. The elements of the search engine are the Crawler, which downloads web pages and follows\u2026","rel":"","context":"In \"computer science\"","block_context":{"text":"computer science","link":"https:\/\/www.allendowney.com\/blog\/tag\/computer-science\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":220,"url":"https:\/\/www.allendowney.com\/blog\/2019\/05\/16\/foundations-of-data-science\/","url_meta":{"origin":1334,"position":1},"title":"Foundations of data science?","author":"AllenDowney","date":"May 16, 2019","format":false,"excerpt":"\"Foundation\" is one of several words I would like to ban from all discussion of higher education. \u00a0Others include \"liberal arts\", \"rigor\", and \"service class\", but I'll write about them another time. \u00a0Right now, \"foundation\" is on my mind because of a new book from Microsoft Research, Foundations of Data\u2026","rel":"","context":"In \"data science\"","block_context":{"text":"data science","link":"https:\/\/www.allendowney.com\/blog\/tag\/data-science\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":308,"url":"https:\/\/www.allendowney.com\/blog\/2019\/09\/19\/what-should-i-do\/","url_meta":{"origin":1334,"position":2},"title":"What should I do?","author":"AllenDowney","date":"September 19, 2019","format":false,"excerpt":"I am planning to be on sabbatical from June 2020 to August 2021, so I am thinking about how to spend it. Let me tell you what I can do, and you can tell me what I should do. Data Science I consider myself a data scientist, but that means\u2026","rel":"","context":"Similar post","block_context":{"text":"Similar post","link":""},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":140,"url":"https:\/\/www.allendowney.com\/blog\/2019\/01\/18\/the-library-of-data-visualization\/","url_meta":{"origin":1334,"position":3},"title":"The library of data visualization","author":"AllenDowney","date":"January 18, 2019","format":false,"excerpt":"Getting ready for my Data Science class (starting next week!) I am updating my data visualization library, looking for resources to help students learn about visualization. Last week I asked Twitter to help me find resources, especially new ones.\u00a0 Here's the thread.\u00a0\u00a0Thank you to everyone who responded! I'll try to\u2026","rel":"","context":"Similar post","block_context":{"text":"Similar post","link":""},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.allendowney.com\/blog\/wp-content\/uploads\/2019\/01\/Screenshot-at-2019-01-18-09-56-35-300x3.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":1411,"url":"https:\/\/www.allendowney.com\/blog\/2024\/11\/10\/zipfs-law\/","url_meta":{"origin":1334,"position":4},"title":"War and Peace and Zipf&#8217;s Law","author":"AllenDowney","date":"November 10, 2024","format":false,"excerpt":"Elements of Data Science is in print now, available from Lulu.com and online booksellers. To celebrate, I'll post some excerpts here, starting with one of my favorite examples, Zipf's Law. It's from Chapter 6, which is about plotting data, and it uses Python dictionaries, which are covered in the previous\u2026","rel":"","context":"Similar post","block_context":{"text":"Similar post","link":""},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.allendowney.com\/blog\/wp-content\/uploads\/2024\/11\/92b6d5e8cb9065d4b5b7e8ea0d56738437c9b08f97e05d0ceab47925c228ab62.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":1357,"url":"https:\/\/www.allendowney.com\/blog\/2024\/08\/23\/probably-the-book\/","url_meta":{"origin":1334,"position":5},"title":"Probably the Book","author":"AllenDowney","date":"August 23, 2024","format":false,"excerpt":"Last week I had the pleasure of presenting a keynote at posit::conf(2024). When the video is available, I will post it here [UPDATE here it is]. https:\/\/www.youtube.com\/watch?v=YKMZIzYBgTk In the meantime, you can read the slides, if you don't mind spoilers. For people at the conference who don't know me, this\u2026","rel":"","context":"Similar post","block_context":{"text":"Similar post","link":""},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.allendowney.com\/blog\/wp-content\/uploads\/2024\/08\/are_you_normal_windshield_wiper.gif?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.allendowney.com\/blog\/wp-content\/uploads\/2024\/08\/are_you_normal_windshield_wiper.gif?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/www.allendowney.com\/blog\/wp-content\/uploads\/2024\/08\/are_you_normal_windshield_wiper.gif?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/www.allendowney.com\/blog\/wp-content\/uploads\/2024\/08\/are_you_normal_windshield_wiper.gif?resize=700%2C400&ssl=1 2x"},"classes":[]}],"_links":{"self":[{"href":"https:\/\/www.allendowney.com\/blog\/wp-json\/wp\/v2\/posts\/1334","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.allendowney.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.allendowney.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.allendowney.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.allendowney.com\/blog\/wp-json\/wp\/v2\/comments?post=1334"}],"version-history":[{"count":3,"href":"https:\/\/www.allendowney.com\/blog\/wp-json\/wp\/v2\/posts\/1334\/revisions"}],"predecessor-version":[{"id":1343,"href":"https:\/\/www.allendowney.com\/blog\/wp-json\/wp\/v2\/posts\/1334\/revisions\/1343"}],"wp:attachment":[{"href":"https:\/\/www.allendowney.com\/blog\/wp-json\/wp\/v2\/media?parent=1334"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.allendowney.com\/blog\/wp-json\/wp\/v2\/categories?post=1334"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.allendowney.com\/blog\/wp-json\/wp\/v2\/tags?post=1334"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}