[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"detail-sidebar-cat-1-en-105":3,"doc-seo-571755-105":53,"doc-detail-571755-en":127},{"code":4,"msg":5,"data":6},0,"success",[7,14,19,24,29,34,39,44,49],{"id":8,"doc_module":9,"doc_module_name":10,"category_name":11,"show_sort_weight":12,"slug":13},11,1,"Template","Presentations",90,"presentations",{"id":15,"doc_module":9,"doc_module_name":10,"category_name":16,"show_sort_weight":17,"slug":18},12,"Resumes",80,"resumes",{"id":20,"doc_module":9,"doc_module_name":10,"category_name":21,"show_sort_weight":22,"slug":23},14,"Invoices",70,"invoices",{"id":25,"doc_module":9,"doc_module_name":10,"category_name":26,"show_sort_weight":27,"slug":28},15,"Posters",60,"posters",{"id":30,"doc_module":9,"doc_module_name":10,"category_name":31,"show_sort_weight":32,"slug":33},16,"Social Media",50,"social-media",{"id":35,"doc_module":9,"doc_module_name":10,"category_name":36,"show_sort_weight":37,"slug":38},17,"Forms",40,"forms",{"id":40,"doc_module":9,"doc_module_name":10,"category_name":41,"show_sort_weight":42,"slug":43},18,"Letters",30,"letters",{"id":45,"doc_module":9,"doc_module_name":10,"category_name":46,"show_sort_weight":47,"slug":48},21,"Paper Templates",5,"papers-templates",{"id":50,"doc_module":9,"doc_module_name":10,"category_name":51,"show_sort_weight":4,"slug":52},158,"General","general-158",{"code":4,"msg":54,"data":55},"ok",{"site_id":56,"language":57,"slug":58,"title":59,"keywords":60,"description":61,"schema_data":62,"social_meta":120,"head_meta":122,"extra_data":124,"updated_unix":126},105,"en","python-for-data-science-cheat-sheet-created-by-tomi-mester-print-it-in-color-and-keep-it-next-to-you","PYTHON FOR DATA SCIENCE CHEAT SHEET - created by Tomi Mester - print it in color and keep it next to you","","Python for Data Science Cheat Sheet by Tomi Mester provides a structured learning path from absolute basics to intermediate concepts for data-focused Python usage. It covers core syntax and variable assignment, fundamental data types (integers, floats, booleans, strings), arithmetic operators, and essential data structures such as lists, dictionaries, plus nested combinations. It also introduces key functions and methods, including practical built-ins like print, len, and type, supporting beginner workflows through concise examples.",{"@graph":63,"@context":119},[64,80,102],{"@type":65,"itemListElement":66},"BreadcrumbList",[67,71,74,77],{"item":68,"name":69,"@type":70,"position":9},"https://docshare.wps.com","Home","ListItem",{"item":72,"name":10,"@type":70,"position":73},"https://docshare.wps.com/template/",2,{"item":75,"name":11,"@type":70,"position":76},"https://docshare.wps.com/template/presentations/",3,{"item":78,"name":59,"@type":70,"position":79},"https://docshare.wps.com/template/python-for-data-science-cheat-sheet-created-by-tomi-mester-print-it-in-color-and-keep-it-next-to-you/571755/",4,{"url":78,"name":59,"@type":81,"image":82,"author":87,"headline":59,"publisher":90,"fileFormat":93,"inLanguage":57,"description":61,"dateModified":94,"datePublished":95,"encodingFormat":93,"isAccessibleForFree":96,"interactionStatistic":97},"DigitalDocument",{"url":83,"@type":84,"width":85,"height":86},"https://docshare.wps.com/thumbnails/python-for-data-science-cheat-sheet-created-by-tomi-mester-print-it-in-color-and-keep-it-next-to-you/571755.png","ImageObject",442,249,{"name":88,"@type":89},"Grenda","Person",{"url":68,"name":91,"@type":92},"DocShare","Organization","application/pdf","2026-10-22","2026-10-13",true,{"@type":98,"interactionType":99,"userInteractionCount":101},"InteractionCounter",{"@type":100},"ViewAction",6,{"@type":103,"mainEntity":104},"FAQPage",[105,111,115],{"name":106,"@type":107,"acceptedAnswer":108},"What does the cheat sheet help you learn in Python for data science?","Question",{"text":109,"@type":110},"It guides learners from basic Python concepts to intermediate topics and includes important advanced-library functionality such as pandas functions. It also encourages adding personal notes.","Answer",{"name":112,"@type":107,"acceptedAnswer":113},"Which basic Python data types are covered?",{"text":114,"@type":110},"The sheet focuses on integers, floats, booleans, and strings, with examples and notes on how strings are represented using quotes.",{"name":116,"@type":107,"acceptedAnswer":117},"How do lists and dictionaries work, and how do you access elements?",{"text":118,"@type":110},"Lists store sequences of values and use zero-based indexing for element access, while dictionaries store key-value pairs and are queried by key. It also shows how to use nested lists and nested dictionaries.","https://schema.org",{"og:url":78,"og:type":121,"og:title":59,"og:site_name":91,"og:description":61},"article",{"robots":123,"canonical":78},"index,follow",{"doc_id":125,"site_id":56},571755,1792359779,{"code":4,"msg":5,"data":128},{"doc_id":125,"user_id":129,"nickname":88,"user_avatar":130,"doc_module":9,"category_id":8,"category_name":11,"doc_title":59,"doc_description":61,"doc_content":131,"file_id":132,"file_url":133,"file_type":134,"file_size":135,"view_count":101,"is_deleted":4,"is_public":9,"is_downloadable":9,"audit_status":9,"page_count":136,"language":137,"language_code":57,"site_id":56,"html_lang":57,"table_of_contents":138,"faqs":139,"seo_title":140,"seo_description":61,"update_tm":141,"read_time":142},7971474921005,"https://ap-avatar.wpscdn.com/davatar_29158cc5080c5b710cf443261637dec0","PYTHON  \nFOR DATA SCIENCE CHEAT SHEET  \ncreated by Tomi Mester  \nI originally created this cheat sheet for my Python course and workshop participants.* But I have decided to open-source it and make it available for everyone who wants to learn Python for data science.  \nIt's designed to give you a meaningful structure but also to let you add your own notes (that's why the empty boxes are there) . It starts from the absolute basicsprint(‘Hello World!’) -and guides you to the intermediate level (for loops, if statements, importing advanced libraries) . It also contains a few important functions of advanced libraries like pandas. I added everything that you will need to get started as an absolute beginner — and I’ll continuously update and extend it to make it a full comprehensive cheat sheet for junior data analysts/scientists.  \nThe ideal use case of this cheat sheet is that you print it in color and keep it next to you while you are learning and practicing Python on your computer.  \nEnjoy!  \nCheers,  \nTomi Mester  \n*The workshops and courses I mentioned:  \nOnline Python and Pandas tutorial (free): [data36.com/python-tutorial](data36.com/python-tutorial)[ ](data36.com/python-tutorial)Python workshop for companies: [data36.com/python-workshop](data36.com/python-workshop)  \n6-week Data Science course: [data36.com/jds](data36.com/jds)  \n PYTHON FOR DATA SCIENCE CHEAT SHEET  \nVARIABLES IN PYTHON  \nIn Python, you' ll work with variables a lot.  \nYou can assign a value to a variable as simply as:  \nvariable_name = variable_value  \nIf you assign a new value to a variable that you have used before, it will overwrite your previous value.  \nExamples:  \na = 100  \nb = 'some_random_text'  \nc = True  \nd = 0.75  \n[your notes]  \nBASIC DATA TYPES  \nIn Python, we have quite a few different data types. But these four are the most important ones (for now):  \n1. Integer. A whole number without a fractional part. E.g. 100 , 156, 2012412  \n2. Float. A number with a fractional part. E.g. 0.75, 3.1415, 961.1241250, 7/8  \n3. Boolean. A binary value. It can be either True or False.  \n4. String. It's a sequence of Unicode characters (e.g. numbers, letters,  \npunctuation) . It can be alphabetical letters only—or a mix of letters, numbers and other characters. In Python, it's easy to identify a string since it has to be between apostrophes (or quotation marks) . E.g. 'hello', 'R2D2', 'Tom i',' [124.56.128.41](124.56.128.41) '  \nCREATED BY TOMI MESTER | DATA36.COM 1  \n PYTHON FOR DATA SCIENCE CHEAT SHEET  \nARITHMETIC OPERATORS  \nLet's assign two values!  \na = 3  \nb = 4  \nThe arithmetic operations you can do with them:  \nArtihmetic operator What does it do? Result in our example  \na + b adds a to b 7  \na-b subtracts b from a -1  \n\n| a * b | multiplies a | by b | 12 |\n| --- | --- | --- | --- |\n| a / b | divides a by | b | 0.75 |\n\nb % a divides b by a and returns remainder 1  \na ** b raises a to the the power of b  81  \nDATA STRUCTURES  \nData structures exist to organize your data and store related/similar data points in one \"place. \" There are four data structure types. The two most important in data science are: lists and dictionaries.  \n\\#1: LISTS  \nA list is a sequence of values. It can store integers, strings, booleans, anythingeven a mix of these.  \nExample:  \nsample_list = ['value1 ', 'value2 ', 'value3 ', 'value4 ', 1, 2, 3, 4, True, False]  \nQuerying an element of a list:  \nsample_list[3]  \nIMPORTANT! Python works with zero-based indexing. E.g.  \nExample:  \nsample_list[3]—(This returns 'value4'.)  \nCREATED BY TOMI MESTER | DATA36.COM 2  \n PYTHON FOR DATA SCIENCE CHEAT SHEET  \n\\#2: DICTIONARY  \nA dictionary is a collection of key-value pairs. (Key is a unique identifier, value is the actual data.)  \nExample:  \nsample_dict = {'apple': 3,  \n'tomato': 4,  \n'orange': 1,  \n'banana': 14,  \n'is_store_open': True}  \nQuerying an element of a dictionary:  \nsample_dict['banana'] —(This returns 14.)  \nNESTED LISTS AND/OR DICTIONARY  \nYou can create nested lists and ","cbCainV6TyMAWsRh","https://ap.wps.com/l/cbCainV6TyMAWsRh","pdf",4135602,23,"English","# VARIABLES IN PYTHON\n# BASIC DATA TYPES\n# ARITHMETIC OPERATORS\n# DATA STRUCTURES\n## #1: LISTS\n## #2: DICTIONARY\n# NESTED LISTS AND/OR DICTIONARY\n# FUNCTIONS AND METHODS\n## THE MOST IMPORTANT BUILT-IN FUNCTIONS\n## THE MOST IMPORTANT METHODS FOR PYTHON STRINGS","[{\"question\":\"What does the cheat sheet help you learn in Python for data science?\",\"answer\":\"It guides learners from basic Python concepts to intermediate topics and includes important advanced-library functionality such as pandas functions. It also encourages adding personal notes.\"},{\"question\":\"Which basic Python data types are covered?\",\"answer\":\"The sheet focuses on integers, floats, booleans, and strings, with examples and notes on how strings are represented using quotes.\"},{\"question\":\"How do lists and dictionaries work, and how do you access elements?\",\"answer\":\"Lists store sequences of values and use zero-based indexing for element access, while dictionaries store key-value pairs and are queried by key. It also shows how to use nested lists and nested dictionaries.\"}]","PYTHON FOR DATA SCIENCE CHEAT SHEET - created by Tomi Mester - print it in color and keep it next to you | PDF",1791923587,8]