[{"data":1,"prerenderedAt":3172},["ShallowReactive",2],{"tutorials-python-how-to":3,"category-items-python-how-to":600,"content-/python-how-to/data-processing":601},[4,22,31,40,49,58,67,76,86,94,103,112,121,130,139,148,158,167,176,185,194,203,212,222,231,240,249,258,267,276,285,297,306,315,324,333,342,351,362,371,380,389,398,407,418,427,436,445,454,463,472,483,492,501,510,519,528,539,548,557,566,575,584,593],{"_path":5,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":9,"description":10,"slug":11,"order":12,"isParent":13,"icon":14,"_type":15,"_id":16,"_source":17,"_file":18,"_stem":19,"_extension":20,"children":21,"expanded":13},"/python-how-to/string-manipulation","python-how-to",false,"","String Manipulation","Learn essential string manipulation techniques in Python","string-manipulation",1,true,"pi pi-folder","markdown","content:python-how-to:1.string-manipulation.md","content","python-how-to/1.string-manipulation.md","python-how-to/1.string-manipulation","md",[22,31,40,49,58,67],{"_path":23,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":24,"description":25,"slug":26,"parentId":5,"order":27,"_type":15,"_id":28,"_source":17,"_file":29,"_stem":30,"_extension":20},"/python-how-to/split-join-strings","Split and Join Strings","Learn how to split strings into lists and join lists back into strings in Python","split-join-strings",2,"content:python-how-to:2.split-join-strings.md","python-how-to/2.split-join-strings.md","python-how-to/2.split-join-strings",{"_path":32,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":33,"description":34,"slug":35,"parentId":5,"order":36,"_type":15,"_id":37,"_source":17,"_file":38,"_stem":39,"_extension":20},"/python-how-to/remove-whitespace","Remove Whitespace","Learn how to clean up and remove unwanted whitespace from strings in Python","remove-whitespace",3,"content:python-how-to:3.remove-whitespace.md","python-how-to/3.remove-whitespace.md","python-how-to/3.remove-whitespace",{"_path":41,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":42,"description":43,"slug":44,"parentId":5,"order":45,"_type":15,"_id":46,"_source":17,"_file":47,"_stem":48,"_extension":20},"/python-how-to/find-replace-text","Find and Replace Text","Learn how to search for and replace text within strings in Python","find-replace-text",4,"content:python-how-to:4.find-replace-text.md","python-how-to/4.find-replace-text.md","python-how-to/4.find-replace-text",{"_path":50,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":51,"description":52,"slug":53,"parentId":5,"order":54,"_type":15,"_id":55,"_source":17,"_file":56,"_stem":57,"_extension":20},"/python-how-to/check-string-content","Check String Content","Learn how to validate and check the content of strings in Python","check-string-content",5,"content:python-how-to:5.check-string-content.md","python-how-to/5.check-string-content.md","python-how-to/5.check-string-content",{"_path":59,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":60,"description":61,"slug":62,"parentId":5,"order":63,"_type":15,"_id":64,"_source":17,"_file":65,"_stem":66,"_extension":20},"/python-how-to/format-strings","Format Strings","Learn how to format strings in Python using f-strings and format() method","format-strings",6,"content:python-how-to:6.format-strings.md","python-how-to/6.format-strings.md","python-how-to/6.format-strings",{"_path":68,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":69,"description":70,"slug":71,"parentId":5,"order":72,"_type":15,"_id":73,"_source":17,"_file":74,"_stem":75,"_extension":20},"/python-how-to/unicode-special-chars","Handle Unicode and Special Characters","Learn how to work with Unicode and special characters in Python strings","unicode-special-chars",7,"content:python-how-to:7.unicode-special-chars.md","python-how-to/7.unicode-special-chars.md","python-how-to/7.unicode-special-chars",{"_path":77,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":78,"description":79,"slug":80,"order":81,"isParent":13,"icon":14,"_type":15,"_id":82,"_source":17,"_file":83,"_stem":84,"_extension":20,"children":85,"expanded":13},"/python-how-to/list-operations","List Operations","Learn essential operations for working with lists in Python","list-operations",8,"content:python-how-to:8.list-operations.md","python-how-to/8.list-operations.md","python-how-to/8.list-operations",[86,94,103,112,121,130,139],{"_path":87,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":88,"description":89,"slug":90,"parentId":77,"order":81,"_type":15,"_id":91,"_source":17,"_file":92,"_stem":93,"_extension":20},"/python-how-to/sort-lists","Sort Lists","Learn how to sort lists in Python using different methods and custom sorting","sort-lists","content:python-how-to:9.sort-lists.md","python-how-to/9.sort-lists.md","python-how-to/9.sort-lists",{"_path":95,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":96,"description":97,"slug":98,"parentId":77,"order":99,"_type":15,"_id":100,"_source":17,"_file":101,"_stem":102,"_extension":20},"/python-how-to/remove-duplicates","Remove Duplicates","Learn how to remove duplicate elements from lists in Python","remove-duplicates",10,"content:python-how-to:10.remove-duplicates.md","python-how-to/10.remove-duplicates.md","python-how-to/10.remove-duplicates",{"_path":104,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":105,"description":106,"slug":107,"parentId":77,"order":108,"_type":15,"_id":109,"_source":17,"_file":110,"_stem":111,"_extension":20},"/python-how-to/filter-lists","Filter Lists","Learn how to filter lists in Python using different methods","filter-lists",11,"content:python-how-to:11.filter-lists.md","python-how-to/11.filter-lists.md","python-how-to/11.filter-lists",{"_path":113,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":114,"description":115,"slug":116,"parentId":77,"order":117,"_type":15,"_id":118,"_source":17,"_file":119,"_stem":120,"_extension":20},"/python-how-to/combine-lists","Combine Lists","Learn different methods to combine lists in Python","combine-lists",12,"content:python-how-to:12.combine-lists.md","python-how-to/12.combine-lists.md","python-how-to/12.combine-lists",{"_path":122,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":123,"description":124,"slug":125,"parentId":77,"order":126,"_type":15,"_id":127,"_source":17,"_file":128,"_stem":129,"_extension":20},"/python-how-to/list-comprehensions","Use List Comprehensions","Learn how to create and transform lists efficiently using Python's list comprehension syntax","list-comprehensions",13,"content:python-how-to:13.list-comprehensions.md","python-how-to/13.list-comprehensions.md","python-how-to/13.list-comprehensions",{"_path":131,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":132,"description":133,"slug":134,"parentId":77,"order":135,"_type":15,"_id":136,"_source":17,"_file":137,"_stem":138,"_extension":20},"/python-how-to/nested-lists","Work with Nested Lists","Learn how to work with nested lists (2D arrays) in Python","nested-lists",14,"content:python-how-to:14.nested-lists.md","python-how-to/14.nested-lists.md","python-how-to/14.nested-lists",{"_path":140,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":141,"description":142,"slug":143,"parentId":77,"order":144,"_type":15,"_id":145,"_source":17,"_file":146,"_stem":147,"_extension":20},"/python-how-to/enumerate-zip","Use enumerate() and zip()","Learn how to use enumerate() and zip() for efficient iteration in Python","enumerate-zip",15,"content:python-how-to:15.enumerate-zip.md","python-how-to/15.enumerate-zip.md","python-how-to/15.enumerate-zip",{"_path":149,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":150,"description":151,"slug":152,"order":153,"isParent":13,"icon":14,"_type":15,"_id":154,"_source":17,"_file":155,"_stem":156,"_extension":20,"children":157,"expanded":13},"/python-how-to/dictionary-operations","Dictionary Operations","Learn essential operations for working with dictionaries in Python","dictionary-operations",16,"content:python-how-to:16.dictionary-operations.md","python-how-to/16.dictionary-operations.md","python-how-to/16.dictionary-operations",[158,167,176,185,194,203],{"_path":159,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":160,"description":161,"slug":162,"parentId":149,"order":163,"_type":15,"_id":164,"_source":17,"_file":165,"_stem":166,"_extension":20},"/python-how-to/merge-dictionaries","Merge Dictionaries","Learn different methods to merge dictionaries in Python","merge-dictionaries",17,"content:python-how-to:17.merge-dictionaries.md","python-how-to/17.merge-dictionaries.md","python-how-to/17.merge-dictionaries",{"_path":168,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":169,"description":170,"slug":171,"parentId":149,"order":172,"_type":15,"_id":173,"_source":17,"_file":174,"_stem":175,"_extension":20},"/python-how-to/sort-dictionaries","Sort Dictionaries","Learn how to sort dictionaries by keys or values in Python","sort-dictionaries",18,"content:python-how-to:18.sort-dictionaries.md","python-how-to/18.sort-dictionaries.md","python-how-to/18.sort-dictionaries",{"_path":177,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":178,"description":179,"slug":180,"parentId":149,"order":181,"_type":15,"_id":182,"_source":17,"_file":183,"_stem":184,"_extension":20},"/python-how-to/filter-dictionaries","Filter Dictionaries","Learn how to filter dictionaries based on keys or values in Python","filter-dictionaries",19,"content:python-how-to:19.filter-dictionaries.md","python-how-to/19.filter-dictionaries.md","python-how-to/19.filter-dictionaries",{"_path":186,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":187,"description":188,"slug":189,"parentId":149,"order":190,"_type":15,"_id":191,"_source":17,"_file":192,"_stem":193,"_extension":20},"/python-how-to/handle-missing-keys","Handle Missing Keys","Learn safe ways to access dictionary keys and handle missing values","handle-missing-keys",20,"content:python-how-to:20.handle-missing-keys.md","python-how-to/20.handle-missing-keys.md","python-how-to/20.handle-missing-keys",{"_path":195,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":196,"description":197,"slug":198,"parentId":149,"order":199,"_type":15,"_id":200,"_source":17,"_file":201,"_stem":202,"_extension":20},"/python-how-to/dictionary-comprehensions","Use Dictionary Comprehensions","Learn how to create dictionaries efficiently using comprehensions","dictionary-comprehensions",21,"content:python-how-to:21.dictionary-comprehensions.md","python-how-to/21.dictionary-comprehensions.md","python-how-to/21.dictionary-comprehensions",{"_path":204,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":205,"description":206,"slug":207,"parentId":149,"order":208,"_type":15,"_id":209,"_source":17,"_file":210,"_stem":211,"_extension":20},"/python-how-to/convert-lists-dictionaries","Convert Between Lists and Dictionaries","Learn how to transform data between lists and dictionaries in Python","convert-lists-dictionaries",22,"content:python-how-to:22.convert-lists-dictionaries.md","python-how-to/22.convert-lists-dictionaries.md","python-how-to/22.convert-lists-dictionaries",{"_path":213,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":214,"description":215,"slug":216,"order":217,"isParent":13,"icon":14,"_type":15,"_id":218,"_source":17,"_file":219,"_stem":220,"_extension":20,"children":221,"expanded":13},"/python-how-to/file-operations","File Operations","Learn essential file operations in Python for reading, writing, and managing files","file-operations",23,"content:python-how-to:23.file-operations.md","python-how-to/23.file-operations.md","python-how-to/23.file-operations",[222,231,240,249,258,267,276],{"_path":223,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":224,"description":225,"slug":226,"parentId":213,"order":227,"_type":15,"_id":228,"_source":17,"_file":229,"_stem":230,"_extension":20},"/python-how-to/read-text-files","Read Text Files","Learn how to read text files in Python using different methods","read-text-files",24,"content:python-how-to:24.read-text-files.md","python-how-to/24.read-text-files.md","python-how-to/24.read-text-files",{"_path":232,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":233,"description":234,"slug":235,"parentId":213,"order":236,"_type":15,"_id":237,"_source":17,"_file":238,"_stem":239,"_extension":20},"/python-how-to/write-to-files","Write to Files","Learn how to write and create files in Python using different methods","write-to-files",25,"content:python-how-to:25.write-to-files.md","python-how-to/25.write-to-files.md","python-how-to/25.write-to-files",{"_path":241,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":242,"description":243,"slug":244,"parentId":213,"order":245,"_type":15,"_id":246,"_source":17,"_file":247,"_stem":248,"_extension":20},"/python-how-to/work-csv-files","Work with CSV Files","Learn how to read and write CSV files in Python using the csv module","work-csv-files",26,"content:python-how-to:26.work-csv-files.md","python-how-to/26.work-csv-files.md","python-how-to/26.work-csv-files",{"_path":250,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":251,"description":252,"slug":253,"parentId":213,"order":254,"_type":15,"_id":255,"_source":17,"_file":256,"_stem":257,"_extension":20},"/python-how-to/handle-file-paths","Handle File Paths","Learn how to work with file and directory paths in Python using pathlib and os modules","handle-file-paths",27,"content:python-how-to:27.handle-file-paths.md","python-how-to/27.handle-file-paths.md","python-how-to/27.handle-file-paths",{"_path":259,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":260,"description":261,"slug":262,"parentId":213,"order":263,"_type":15,"_id":264,"_source":17,"_file":265,"_stem":266,"_extension":20},"/python-how-to/work-json-files","Work with JSON Files","Learn how to read and write JSON files in Python using the json module","work-json-files",28,"content:python-how-to:28.work-json-files.md","python-how-to/28.work-json-files.md","python-how-to/28.work-json-files",{"_path":268,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":269,"description":270,"slug":271,"parentId":213,"order":272,"_type":15,"_id":273,"_source":17,"_file":274,"_stem":275,"_extension":20},"/python-how-to/handle-binary-files","Handle Binary Files","Learn how to work with binary files in Python for images, data, and other non-text content","handle-binary-files",29,"content:python-how-to:29.handle-binary-files.md","python-how-to/29.handle-binary-files.md","python-how-to/29.handle-binary-files",{"_path":277,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":278,"description":279,"slug":280,"parentId":213,"order":281,"_type":15,"_id":282,"_source":17,"_file":283,"_stem":284,"_extension":20},"/python-how-to/use-context-managers","Use Context Managers","Learn how to use context managers for safe resource handling in Python","use-context-managers",30,"content:python-how-to:30.use-context-managers.md","python-how-to/30.use-context-managers.md","python-how-to/30.use-context-managers",{"_path":286,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":287,"description":288,"slug":289,"parentId":290,"order":291,"isParent":13,"icon":292,"_type":15,"_id":293,"_source":17,"_file":294,"_stem":295,"_extension":20,"children":296,"expanded":13},"/python-how-to/date-and-time","Date and Time","Master Python's date and time handling with datetime, time zones, formatting, and calculations","date-and-time","/python-how-to",31,"pi pi-calendar","content:python-how-to:31.date-and-time.md","python-how-to/31.date-and-time.md","python-how-to/31.date-and-time",[297,306,315,324,333,342],{"_path":298,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":299,"description":300,"slug":301,"parentId":286,"order":302,"_type":15,"_id":303,"_source":17,"_file":304,"_stem":305,"_extension":20},"/python-how-to/get-current-datetime","Get Current Date/Time","Learn how to get current date, time, and timestamps using Python's datetime module","get-current-datetime",32,"content:python-how-to:32.get-current-datetime.md","python-how-to/32.get-current-datetime.md","python-how-to/32.get-current-datetime",{"_path":307,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":308,"description":309,"slug":310,"parentId":286,"order":311,"_type":15,"_id":312,"_source":17,"_file":313,"_stem":314,"_extension":20},"/python-how-to/format-dates","Format Dates","Master date formatting with strftime, custom formats, and locale-aware formatting for user-friendly displays","format-dates",33,"content:python-how-to:33.format-dates.md","python-how-to/33.format-dates.md","python-how-to/33.format-dates",{"_path":316,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":317,"description":318,"slug":319,"parentId":286,"order":320,"_type":15,"_id":321,"_source":17,"_file":322,"_stem":323,"_extension":20},"/python-how-to/calculate-date-differences","Calculate Date Differences","Learn to calculate time differences, durations, and intervals using Python's timedelta for scheduling and analytics","calculate-date-differences",34,"content:python-how-to:34.calculate-date-differences.md","python-how-to/34.calculate-date-differences.md","python-how-to/34.calculate-date-differences",{"_path":325,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":326,"description":327,"slug":328,"parentId":286,"order":329,"_type":15,"_id":330,"_source":17,"_file":331,"_stem":332,"_extension":20},"/python-how-to/parse-date-strings","Parse Date Strings","Convert text dates into Python datetime objects using strptime, handle multiple formats, and validate date input","parse-date-strings",35,"content:python-how-to:35.parse-date-strings.md","python-how-to/35.parse-date-strings.md","python-how-to/35.parse-date-strings",{"_path":334,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":335,"description":336,"slug":337,"parentId":286,"order":338,"_type":15,"_id":339,"_source":17,"_file":340,"_stem":341,"_extension":20},"/python-how-to/handle-timezones","Handle Timezones","Master timezone handling with zoneinfo, UTC conversions, and timezone-aware datetime objects for global applications","handle-timezones",36,"content:python-how-to:36.handle-timezones.md","python-how-to/36.handle-timezones.md","python-how-to/36.handle-timezones",{"_path":343,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":344,"description":345,"slug":346,"parentId":286,"order":347,"_type":15,"_id":348,"_source":17,"_file":349,"_stem":350,"_extension":20},"/python-how-to/work-with-timestamps","Work with Timestamps","Master Unix timestamps in Python - convert between datetime objects and timestamps for APIs, databases, and system integration","work-with-timestamps",37,"content:python-how-to:37.work-with-timestamps.md","python-how-to/37.work-with-timestamps.md","python-how-to/37.work-with-timestamps",{"_path":352,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":353,"description":354,"slug":355,"parentId":290,"order":356,"isParent":13,"icon":357,"_type":15,"_id":358,"_source":17,"_file":359,"_stem":360,"_extension":20,"children":361,"expanded":13},"/python-how-to/error-handling","Error Handling","Learn Python's error handling with try/except, custom exceptions, debugging, logging, and retry logic for robust applications","error-handling",38,"pi pi-exclamation-triangle","content:python-how-to:38.error-handling.md","python-how-to/38.error-handling.md","python-how-to/38.error-handling",[362,371,380,389,398],{"_path":363,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":364,"description":365,"slug":366,"parentId":352,"order":367,"_type":15,"_id":368,"_source":17,"_file":369,"_stem":370,"_extension":20},"/python-how-to/handle-exceptions","Handle Exceptions","Master try/except blocks, multiple exception handling, and finally clauses for robust error handling in Python","handle-exceptions",39,"content:python-how-to:39.handle-exceptions.md","python-how-to/39.handle-exceptions.md","python-how-to/39.handle-exceptions",{"_path":372,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":373,"description":374,"slug":375,"parentId":352,"order":376,"_type":15,"_id":377,"_source":17,"_file":378,"_stem":379,"_extension":20},"/python-how-to/create-custom-exceptions","Create Custom Exceptions","Learn to create custom exception classes in Python for specific error handling and better code organization","create-custom-exceptions",40,"content:python-how-to:40.create-custom-exceptions.md","python-how-to/40.create-custom-exceptions.md","python-how-to/40.create-custom-exceptions",{"_path":381,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":382,"description":383,"slug":384,"parentId":352,"order":385,"_type":15,"_id":386,"_source":17,"_file":387,"_stem":388,"_extension":20},"/python-how-to/debug-code","Debug Code","Learn Python debugging techniques using print statements, the debugger, and tools to find and fix code issues","debug-code",41,"content:python-how-to:41.debug-code.md","python-how-to/41.debug-code.md","python-how-to/41.debug-code",{"_path":390,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":391,"description":392,"slug":393,"parentId":352,"order":394,"_type":15,"_id":395,"_source":17,"_file":396,"_stem":397,"_extension":20},"/python-how-to/use-logging","Use Logging","Learn Python's logging module for tracking application behavior, errors, and debugging information","use-logging",42,"content:python-how-to:42.use-logging.md","python-how-to/42.use-logging.md","python-how-to/42.use-logging",{"_path":399,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":400,"description":401,"slug":402,"parentId":352,"order":403,"_type":15,"_id":404,"_source":17,"_file":405,"_stem":406,"_extension":20},"/python-how-to/implement-retry-logic","Implement Retry Logic","Learn to implement retry mechanisms in Python for handling temporary failures and building resilient applications","implement-retry-logic",43,"content:python-how-to:43.implement-retry-logic.md","python-how-to/43.implement-retry-logic.md","python-how-to/43.implement-retry-logic",{"_path":408,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":409,"description":410,"slug":411,"parentId":290,"order":412,"isParent":13,"icon":413,"_type":15,"_id":414,"_source":17,"_file":415,"_stem":416,"_extension":20,"children":417,"expanded":13},"/python-how-to/functions-and-modules","Functions and Modules","Learn Python functions, modules, and code organization for building reusable, maintainable applications","functions-and-modules",44,"pi pi-box","content:python-how-to:44.functions-and-modules.md","python-how-to/44.functions-and-modules.md","python-how-to/44.functions-and-modules",[418,427,436,445,454,463],{"_path":419,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":420,"description":421,"slug":422,"parentId":408,"order":423,"_type":15,"_id":424,"_source":17,"_file":425,"_stem":426,"_extension":20},"/python-how-to/write-functions","Write Functions","Learn to create Python functions with parameters, return values, and documentation for reusable code","write-functions",45,"content:python-how-to:45.write-functions.md","python-how-to/45.write-functions.md","python-how-to/45.write-functions",{"_path":428,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":429,"description":430,"slug":431,"parentId":408,"order":432,"_type":15,"_id":433,"_source":17,"_file":434,"_stem":435,"_extension":20},"/python-how-to/use-args-kwargs","Use *args and **kwargs","Learn to use *args and **kwargs for flexible function arguments in Python","use-args-kwargs",46,"content:python-how-to:46.use-args-kwargs.md","python-how-to/46.use-args-kwargs.md","python-how-to/46.use-args-kwargs",{"_path":437,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":438,"description":439,"slug":440,"parentId":408,"order":441,"_type":15,"_id":442,"_source":17,"_file":443,"_stem":444,"_extension":20},"/python-how-to/create-decorators","Create Decorators","Learn to create and use Python decorators to enhance function behavior and add functionality","create-decorators",47,"content:python-how-to:47.create-decorators.md","python-how-to/47.create-decorators.md","python-how-to/47.create-decorators",{"_path":446,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":447,"description":448,"slug":449,"parentId":408,"order":450,"_type":15,"_id":451,"_source":17,"_file":452,"_stem":453,"_extension":20},"/python-how-to/use-generators","Use Generators","Learn to create memory-efficient generators with yield for processing large datasets and sequences","use-generators",48,"content:python-how-to:48.use-generators.md","python-how-to/48.use-generators.md","python-how-to/48.use-generators",{"_path":455,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":456,"description":457,"slug":458,"parentId":408,"order":459,"_type":15,"_id":460,"_source":17,"_file":461,"_stem":462,"_extension":20},"/python-how-to/work-modules-packages","Work with Modules and Packages","Learn to organize Python code with modules and packages, and use imports effectively","work-modules-packages",49,"content:python-how-to:49.work-modules-packages.md","python-how-to/49.work-modules-packages.md","python-how-to/49.work-modules-packages",{"_path":464,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":465,"description":466,"slug":467,"parentId":408,"order":468,"_type":15,"_id":469,"_source":17,"_file":470,"_stem":471,"_extension":20},"/python-how-to/create-virtual-environments","Create Virtual Environments","Learn to create and manage Python virtual environments for project dependency isolation","create-virtual-environments",50,"content:python-how-to:50.create-virtual-environments.md","python-how-to/50.create-virtual-environments.md","python-how-to/50.create-virtual-environments",{"_path":473,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":474,"description":475,"slug":476,"parentId":290,"order":477,"isParent":13,"icon":478,"_type":15,"_id":479,"_source":17,"_file":480,"_stem":481,"_extension":20,"children":482},"/python-how-to/data-processing","Data Processing","Learn Python data processing techniques including regex, APIs, databases, and large file handling","data-processing",51,"pi pi-database","content:python-how-to:51.data-processing.md","python-how-to/51.data-processing.md","python-how-to/51.data-processing",[483,492,501,510,519],{"_path":484,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":485,"description":486,"slug":487,"parentId":473,"order":488,"_type":15,"_id":489,"_source":17,"_file":490,"_stem":491,"_extension":20},"/python-how-to/work-regular-expressions","Work with Regular Expressions","Learn to use Python's re module for pattern matching, text extraction, and data validation","work-regular-expressions",52,"content:python-how-to:52.work-regular-expressions.md","python-how-to/52.work-regular-expressions.md","python-how-to/52.work-regular-expressions",{"_path":493,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":494,"description":495,"slug":496,"parentId":473,"order":497,"_type":15,"_id":498,"_source":17,"_file":499,"_stem":500,"_extension":20},"/python-how-to/parse-xml-html","Parse XML and HTML","Learn to extract data from XML and HTML documents using Python's built-in parsing tools","parse-xml-html",53,"content:python-how-to:53.parse-xml-html.md","python-how-to/53.parse-xml-html.md","python-how-to/53.parse-xml-html",{"_path":502,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":503,"description":504,"slug":505,"parentId":473,"order":506,"_type":15,"_id":507,"_source":17,"_file":508,"_stem":509,"_extension":20},"/python-how-to/handle-api-requests","Handle API Requests","Learn to fetch and process data from web APIs using Python's urllib and external requests library","handle-api-requests",54,"content:python-how-to:54.handle-api-requests.md","python-how-to/54.handle-api-requests.md","python-how-to/54.handle-api-requests",{"_path":511,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":512,"description":513,"slug":514,"parentId":473,"order":515,"_type":15,"_id":516,"_source":17,"_file":517,"_stem":518,"_extension":20},"/python-how-to/work-databases","Work with Databases","Learn to connect to and query SQL databases using Python's sqlite3 and database techniques","work-databases",55,"content:python-how-to:55.work-databases.md","python-how-to/55.work-databases.md","python-how-to/55.work-databases",{"_path":520,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":521,"description":522,"slug":523,"parentId":473,"order":524,"_type":15,"_id":525,"_source":17,"_file":526,"_stem":527,"_extension":20},"/python-how-to/process-large-files","Process Large Files","Learn memory-efficient techniques for handling large files and datasets in Python","process-large-files",56,"content:python-how-to:56.process-large-files.md","python-how-to/56.process-large-files.md","python-how-to/56.process-large-files",{"_path":529,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":530,"description":531,"slug":532,"parentId":290,"order":533,"isParent":13,"icon":534,"_type":15,"_id":535,"_source":17,"_file":536,"_stem":537,"_extension":20,"children":538},"/python-how-to/best-practices","Best Practices","Learn Python best practices for writing clean, maintainable, and efficient code","best-practices",57,"pi pi-star","content:python-how-to:57.best-practices.md","python-how-to/57.best-practices.md","python-how-to/57.best-practices",[539,548,557,566,575,584],{"_path":540,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":541,"description":542,"slug":543,"parentId":529,"order":544,"_type":15,"_id":545,"_source":17,"_file":546,"_stem":547,"_extension":20},"/python-how-to/structure-code","Structure Your Code","Learn to organize Python code with proper module structure, functions, and classes","structure-code",58,"content:python-how-to:58.structure-code.md","python-how-to/58.structure-code.md","python-how-to/58.structure-code",{"_path":549,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":550,"description":551,"slug":552,"parentId":529,"order":553,"_type":15,"_id":554,"_source":17,"_file":555,"_stem":556,"_extension":20},"/python-how-to/write-clean-code","Write Clean Code","Learn to write readable, maintainable Python code with proper naming, comments, and clear logic","write-clean-code",59,"content:python-how-to:59.write-clean-code.md","python-how-to/59.write-clean-code.md","python-how-to/59.write-clean-code",{"_path":558,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":559,"description":560,"slug":561,"parentId":529,"order":562,"_type":15,"_id":563,"_source":17,"_file":564,"_stem":565,"_extension":20},"/python-how-to/optimize-performance","Optimize Performance","Learn to identify and fix performance bottlenecks in Python code for faster execution","optimize-performance",60,"content:python-how-to:60.optimize-performance.md","python-how-to/60.optimize-performance.md","python-how-to/60.optimize-performance",{"_path":567,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":568,"description":569,"slug":570,"parentId":529,"order":571,"_type":15,"_id":572,"_source":17,"_file":573,"_stem":574,"_extension":20},"/python-how-to/write-unit-tests","Write Unit Tests","Learn to create reliable unit tests to verify your Python code works correctly and catch bugs early","write-unit-tests",61,"content:python-how-to:61.write-unit-tests.md","python-how-to/61.write-unit-tests.md","python-how-to/61.write-unit-tests",{"_path":576,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":577,"description":578,"slug":579,"parentId":529,"order":580,"_type":15,"_id":581,"_source":17,"_file":582,"_stem":583,"_extension":20},"/python-how-to/document-code","Document Your Code","Learn to write clear documentation and helpful comments for your Python code","document-code",62,"content:python-how-to:62.document-code.md","python-how-to/62.document-code.md","python-how-to/62.document-code",{"_path":585,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":586,"description":587,"slug":588,"parentId":529,"order":589,"_type":15,"_id":590,"_source":17,"_file":591,"_stem":592,"_extension":20},"/python-how-to/use-type-hints","Use Type Hints","Learn to add type annotations to Python code for better clarity, tooling support, and error detection","use-type-hints",63,"content:python-how-to:63.use-type-hints.md","python-how-to/63.use-type-hints.md","python-how-to/63.use-type-hints",{"_path":290,"_dir":8,"_draft":7,"_partial":7,"_locale":8,"title":594,"description":595,"slug":6,"order":596,"icon":14,"_type":15,"_id":597,"_source":17,"_file":598,"_stem":599,"_extension":20,"expanded":13},"Python How-To Guide","Practical Python tutorials for common programming tasks. Learn step-by-step solutions for string manipulation, file operations, data processing, and more with real-world examples.",0,"content:python-how-to:index.md","python-how-to/index.md","python-how-to/index",[472],{"_path":473,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":474,"description":475,"slug":476,"parentId":290,"order":477,"isParent":13,"icon":478,"body":602,"_type":15,"_id":479,"_source":17,"_file":480,"_stem":481,"_extension":20},{"type":603,"children":604,"toc":3159},"root",[605,614,620,1341,1348,1353,1451,1457,1462,1521,1527,1534,1696,1702,1819,1825,1830,2760,2766,2868,2874,2879,2942,2948,3123,3129,3134,3148,3153],{"type":606,"tag":607,"props":608,"children":610},"element","h1",{"id":609},"️-data-processing",[611],{"type":612,"value":613},"text","🗄️ Data Processing",{"type":606,"tag":615,"props":616,"children":617},"p",{},[618],{"type":612,"value":619},"Data processing is at the heart of many Python applications. Whether you're cleaning text, fetching data from APIs, working with databases, or processing large files, Python provides powerful tools to handle various data formats and sources efficiently.",{"type":606,"tag":621,"props":622,"children":623},"code-try",{},[624],{"type":606,"tag":625,"props":626,"children":630},"pre",{"className":627,"code":628,"language":629,"meta":8,"style":8},"language-python shiki shiki-themes github-light github-dark","# Example of common data processing tasks\nimport re\nimport json\n\n# Text processing with regex\ntext = \"Contact us at info@company.com or call (555) 123-4567\"\nemails = re.findall(r'\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\.[A-Z|a-z]{2,}\\b', text)\nphones = re.findall(r'\\(\\d{3}\\) \\d{3}-\\d{4}', text)\n\nprint(f\"Found emails: {emails}\")\nprint(f\"Found phones: {phones}\")\n\n# JSON data processing\ndata = {\n    \"users\": [\n        {\"name\": \"Alice\", \"score\": 95},\n        {\"name\": \"Bob\", \"score\": 87},\n        {\"name\": \"Charlie\", \"score\": 92}\n    ]\n}\n\n# Filter and transform data\nhigh_scorers = [user for user in data[\"users\"] if user[\"score\"] > 90]\njson_output = json.dumps(high_scorers, indent=2)\n\nprint(f\"\\nHigh scorers: {json_output}\")\n","python",[631],{"type":606,"tag":632,"props":633,"children":634},"code",{"__ignoreMap":8},[635,646,661,673,681,689,708,791,866,874,922,963,970,978,995,1008,1055,1096,1138,1146,1153,1160,1168,1248,1284,1291],{"type":606,"tag":636,"props":637,"children":639},"span",{"class":638,"line":12},"line",[640],{"type":606,"tag":636,"props":641,"children":643},{"style":642},"--shiki-default:#6A737D;--shiki-app-dark-mode:#6A737D",[644],{"type":612,"value":645},"# Example of common data processing tasks\n",{"type":606,"tag":636,"props":647,"children":648},{"class":638,"line":27},[649,655],{"type":606,"tag":636,"props":650,"children":652},{"style":651},"--shiki-default:#D73A49;--shiki-app-dark-mode:#F97583",[653],{"type":612,"value":654},"import",{"type":606,"tag":636,"props":656,"children":658},{"style":657},"--shiki-default:#24292E;--shiki-app-dark-mode:#E1E4E8",[659],{"type":612,"value":660}," re\n",{"type":606,"tag":636,"props":662,"children":663},{"class":638,"line":36},[664,668],{"type":606,"tag":636,"props":665,"children":666},{"style":651},[667],{"type":612,"value":654},{"type":606,"tag":636,"props":669,"children":670},{"style":657},[671],{"type":612,"value":672}," json\n",{"type":606,"tag":636,"props":674,"children":675},{"class":638,"line":45},[676],{"type":606,"tag":636,"props":677,"children":678},{"emptyLinePlaceholder":13},[679],{"type":612,"value":680},"\n",{"type":606,"tag":636,"props":682,"children":683},{"class":638,"line":54},[684],{"type":606,"tag":636,"props":685,"children":686},{"style":642},[687],{"type":612,"value":688},"# Text processing with regex\n",{"type":606,"tag":636,"props":690,"children":691},{"class":638,"line":63},[692,697,702],{"type":606,"tag":636,"props":693,"children":694},{"style":657},[695],{"type":612,"value":696},"text ",{"type":606,"tag":636,"props":698,"children":699},{"style":651},[700],{"type":612,"value":701},"=",{"type":606,"tag":636,"props":703,"children":705},{"style":704},"--shiki-default:#032F62;--shiki-app-dark-mode:#9ECBFF",[706],{"type":612,"value":707}," \"Contact us at info@company.com or call (555) 123-4567\"\n",{"type":606,"tag":636,"props":709,"children":710},{"class":638,"line":72},[711,716,720,725,730,735,741,746,752,757,761,767,772,777,782,786],{"type":606,"tag":636,"props":712,"children":713},{"style":657},[714],{"type":612,"value":715},"emails ",{"type":606,"tag":636,"props":717,"children":718},{"style":651},[719],{"type":612,"value":701},{"type":606,"tag":636,"props":721,"children":722},{"style":657},[723],{"type":612,"value":724}," re.findall(",{"type":606,"tag":636,"props":726,"children":727},{"style":651},[728],{"type":612,"value":729},"r",{"type":606,"tag":636,"props":731,"children":732},{"style":704},[733],{"type":612,"value":734},"'",{"type":606,"tag":636,"props":736,"children":738},{"style":737},"--shiki-default:#005CC5;--shiki-app-dark-mode:#79B8FF",[739],{"type":612,"value":740},"\\b[A-Za-z0-9._%+-]",{"type":606,"tag":636,"props":742,"children":743},{"style":651},[744],{"type":612,"value":745},"+",{"type":606,"tag":636,"props":747,"children":749},{"style":748},"--shiki-default:#032F62;--shiki-app-dark-mode:#DBEDFF",[750],{"type":612,"value":751},"@",{"type":606,"tag":636,"props":753,"children":754},{"style":737},[755],{"type":612,"value":756},"[A-Za-z0-9.-]",{"type":606,"tag":636,"props":758,"children":759},{"style":651},[760],{"type":612,"value":745},{"type":606,"tag":636,"props":762,"children":764},{"style":763},"--shiki-default:#22863A;--shiki-default-font-weight:bold;--shiki-app-dark-mode:#85E89D;--shiki-app-dark-mode-font-weight:bold",[765],{"type":612,"value":766},"\\.",{"type":606,"tag":636,"props":768,"children":769},{"style":737},[770],{"type":612,"value":771},"[A-Z|a-z]",{"type":606,"tag":636,"props":773,"children":774},{"style":651},[775],{"type":612,"value":776},"{2,}",{"type":606,"tag":636,"props":778,"children":779},{"style":737},[780],{"type":612,"value":781},"\\b",{"type":606,"tag":636,"props":783,"children":784},{"style":704},[785],{"type":612,"value":734},{"type":606,"tag":636,"props":787,"children":788},{"style":657},[789],{"type":612,"value":790},", text)\n",{"type":606,"tag":636,"props":792,"children":793},{"class":638,"line":81},[794,799,803,807,811,815,820,825,830,835,840,844,849,853,858,862],{"type":606,"tag":636,"props":795,"children":796},{"style":657},[797],{"type":612,"value":798},"phones ",{"type":606,"tag":636,"props":800,"children":801},{"style":651},[802],{"type":612,"value":701},{"type":606,"tag":636,"props":804,"children":805},{"style":657},[806],{"type":612,"value":724},{"type":606,"tag":636,"props":808,"children":809},{"style":651},[810],{"type":612,"value":729},{"type":606,"tag":636,"props":812,"children":813},{"style":704},[814],{"type":612,"value":734},{"type":606,"tag":636,"props":816,"children":817},{"style":763},[818],{"type":612,"value":819},"\\(",{"type":606,"tag":636,"props":821,"children":822},{"style":737},[823],{"type":612,"value":824},"\\d",{"type":606,"tag":636,"props":826,"children":827},{"style":651},[828],{"type":612,"value":829},"{3}",{"type":606,"tag":636,"props":831,"children":832},{"style":763},[833],{"type":612,"value":834},"\\)",{"type":606,"tag":636,"props":836,"children":837},{"style":737},[838],{"type":612,"value":839}," \\d",{"type":606,"tag":636,"props":841,"children":842},{"style":651},[843],{"type":612,"value":829},{"type":606,"tag":636,"props":845,"children":846},{"style":748},[847],{"type":612,"value":848},"-",{"type":606,"tag":636,"props":850,"children":851},{"style":737},[852],{"type":612,"value":824},{"type":606,"tag":636,"props":854,"children":855},{"style":651},[856],{"type":612,"value":857},"{4}",{"type":606,"tag":636,"props":859,"children":860},{"style":704},[861],{"type":612,"value":734},{"type":606,"tag":636,"props":863,"children":864},{"style":657},[865],{"type":612,"value":790},{"type":606,"tag":636,"props":867,"children":869},{"class":638,"line":868},9,[870],{"type":606,"tag":636,"props":871,"children":872},{"emptyLinePlaceholder":13},[873],{"type":612,"value":680},{"type":606,"tag":636,"props":875,"children":876},{"class":638,"line":99},[877,882,887,892,897,902,907,912,917],{"type":606,"tag":636,"props":878,"children":879},{"style":737},[880],{"type":612,"value":881},"print",{"type":606,"tag":636,"props":883,"children":884},{"style":657},[885],{"type":612,"value":886},"(",{"type":606,"tag":636,"props":888,"children":889},{"style":651},[890],{"type":612,"value":891},"f",{"type":606,"tag":636,"props":893,"children":894},{"style":704},[895],{"type":612,"value":896},"\"Found emails: ",{"type":606,"tag":636,"props":898,"children":899},{"style":737},[900],{"type":612,"value":901},"{",{"type":606,"tag":636,"props":903,"children":904},{"style":657},[905],{"type":612,"value":906},"emails",{"type":606,"tag":636,"props":908,"children":909},{"style":737},[910],{"type":612,"value":911},"}",{"type":606,"tag":636,"props":913,"children":914},{"style":704},[915],{"type":612,"value":916},"\"",{"type":606,"tag":636,"props":918,"children":919},{"style":657},[920],{"type":612,"value":921},")\n",{"type":606,"tag":636,"props":923,"children":924},{"class":638,"line":108},[925,929,933,937,942,946,951,955,959],{"type":606,"tag":636,"props":926,"children":927},{"style":737},[928],{"type":612,"value":881},{"type":606,"tag":636,"props":930,"children":931},{"style":657},[932],{"type":612,"value":886},{"type":606,"tag":636,"props":934,"children":935},{"style":651},[936],{"type":612,"value":891},{"type":606,"tag":636,"props":938,"children":939},{"style":704},[940],{"type":612,"value":941},"\"Found phones: ",{"type":606,"tag":636,"props":943,"children":944},{"style":737},[945],{"type":612,"value":901},{"type":606,"tag":636,"props":947,"children":948},{"style":657},[949],{"type":612,"value":950},"phones",{"type":606,"tag":636,"props":952,"children":953},{"style":737},[954],{"type":612,"value":911},{"type":606,"tag":636,"props":956,"children":957},{"style":704},[958],{"type":612,"value":916},{"type":606,"tag":636,"props":960,"children":961},{"style":657},[962],{"type":612,"value":921},{"type":606,"tag":636,"props":964,"children":965},{"class":638,"line":117},[966],{"type":606,"tag":636,"props":967,"children":968},{"emptyLinePlaceholder":13},[969],{"type":612,"value":680},{"type":606,"tag":636,"props":971,"children":972},{"class":638,"line":126},[973],{"type":606,"tag":636,"props":974,"children":975},{"style":642},[976],{"type":612,"value":977},"# JSON data processing\n",{"type":606,"tag":636,"props":979,"children":980},{"class":638,"line":135},[981,986,990],{"type":606,"tag":636,"props":982,"children":983},{"style":657},[984],{"type":612,"value":985},"data ",{"type":606,"tag":636,"props":987,"children":988},{"style":651},[989],{"type":612,"value":701},{"type":606,"tag":636,"props":991,"children":992},{"style":657},[993],{"type":612,"value":994}," {\n",{"type":606,"tag":636,"props":996,"children":997},{"class":638,"line":144},[998,1003],{"type":606,"tag":636,"props":999,"children":1000},{"style":704},[1001],{"type":612,"value":1002},"    \"users\"",{"type":606,"tag":636,"props":1004,"children":1005},{"style":657},[1006],{"type":612,"value":1007},": [\n",{"type":606,"tag":636,"props":1009,"children":1010},{"class":638,"line":153},[1011,1016,1021,1026,1031,1036,1041,1045,1050],{"type":606,"tag":636,"props":1012,"children":1013},{"style":657},[1014],{"type":612,"value":1015},"        {",{"type":606,"tag":636,"props":1017,"children":1018},{"style":704},[1019],{"type":612,"value":1020},"\"name\"",{"type":606,"tag":636,"props":1022,"children":1023},{"style":657},[1024],{"type":612,"value":1025},": ",{"type":606,"tag":636,"props":1027,"children":1028},{"style":704},[1029],{"type":612,"value":1030},"\"Alice\"",{"type":606,"tag":636,"props":1032,"children":1033},{"style":657},[1034],{"type":612,"value":1035},", ",{"type":606,"tag":636,"props":1037,"children":1038},{"style":704},[1039],{"type":612,"value":1040},"\"score\"",{"type":606,"tag":636,"props":1042,"children":1043},{"style":657},[1044],{"type":612,"value":1025},{"type":606,"tag":636,"props":1046,"children":1047},{"style":737},[1048],{"type":612,"value":1049},"95",{"type":606,"tag":636,"props":1051,"children":1052},{"style":657},[1053],{"type":612,"value":1054},"},\n",{"type":606,"tag":636,"props":1056,"children":1057},{"class":638,"line":163},[1058,1062,1066,1070,1075,1079,1083,1087,1092],{"type":606,"tag":636,"props":1059,"children":1060},{"style":657},[1061],{"type":612,"value":1015},{"type":606,"tag":636,"props":1063,"children":1064},{"style":704},[1065],{"type":612,"value":1020},{"type":606,"tag":636,"props":1067,"children":1068},{"style":657},[1069],{"type":612,"value":1025},{"type":606,"tag":636,"props":1071,"children":1072},{"style":704},[1073],{"type":612,"value":1074},"\"Bob\"",{"type":606,"tag":636,"props":1076,"children":1077},{"style":657},[1078],{"type":612,"value":1035},{"type":606,"tag":636,"props":1080,"children":1081},{"style":704},[1082],{"type":612,"value":1040},{"type":606,"tag":636,"props":1084,"children":1085},{"style":657},[1086],{"type":612,"value":1025},{"type":606,"tag":636,"props":1088,"children":1089},{"style":737},[1090],{"type":612,"value":1091},"87",{"type":606,"tag":636,"props":1093,"children":1094},{"style":657},[1095],{"type":612,"value":1054},{"type":606,"tag":636,"props":1097,"children":1098},{"class":638,"line":172},[1099,1103,1107,1111,1116,1120,1124,1128,1133],{"type":606,"tag":636,"props":1100,"children":1101},{"style":657},[1102],{"type":612,"value":1015},{"type":606,"tag":636,"props":1104,"children":1105},{"style":704},[1106],{"type":612,"value":1020},{"type":606,"tag":636,"props":1108,"children":1109},{"style":657},[1110],{"type":612,"value":1025},{"type":606,"tag":636,"props":1112,"children":1113},{"style":704},[1114],{"type":612,"value":1115},"\"Charlie\"",{"type":606,"tag":636,"props":1117,"children":1118},{"style":657},[1119],{"type":612,"value":1035},{"type":606,"tag":636,"props":1121,"children":1122},{"style":704},[1123],{"type":612,"value":1040},{"type":606,"tag":636,"props":1125,"children":1126},{"style":657},[1127],{"type":612,"value":1025},{"type":606,"tag":636,"props":1129,"children":1130},{"style":737},[1131],{"type":612,"value":1132},"92",{"type":606,"tag":636,"props":1134,"children":1135},{"style":657},[1136],{"type":612,"value":1137},"}\n",{"type":606,"tag":636,"props":1139,"children":1140},{"class":638,"line":181},[1141],{"type":606,"tag":636,"props":1142,"children":1143},{"style":657},[1144],{"type":612,"value":1145},"    ]\n",{"type":606,"tag":636,"props":1147,"children":1148},{"class":638,"line":190},[1149],{"type":606,"tag":636,"props":1150,"children":1151},{"style":657},[1152],{"type":612,"value":1137},{"type":606,"tag":636,"props":1154,"children":1155},{"class":638,"line":199},[1156],{"type":606,"tag":636,"props":1157,"children":1158},{"emptyLinePlaceholder":13},[1159],{"type":612,"value":680},{"type":606,"tag":636,"props":1161,"children":1162},{"class":638,"line":208},[1163],{"type":606,"tag":636,"props":1164,"children":1165},{"style":642},[1166],{"type":612,"value":1167},"# Filter and transform data\n",{"type":606,"tag":636,"props":1169,"children":1170},{"class":638,"line":217},[1171,1176,1180,1185,1190,1195,1200,1205,1210,1215,1220,1225,1229,1233,1238,1243],{"type":606,"tag":636,"props":1172,"children":1173},{"style":657},[1174],{"type":612,"value":1175},"high_scorers ",{"type":606,"tag":636,"props":1177,"children":1178},{"style":651},[1179],{"type":612,"value":701},{"type":606,"tag":636,"props":1181,"children":1182},{"style":657},[1183],{"type":612,"value":1184}," [user ",{"type":606,"tag":636,"props":1186,"children":1187},{"style":651},[1188],{"type":612,"value":1189},"for",{"type":606,"tag":636,"props":1191,"children":1192},{"style":657},[1193],{"type":612,"value":1194}," user ",{"type":606,"tag":636,"props":1196,"children":1197},{"style":651},[1198],{"type":612,"value":1199},"in",{"type":606,"tag":636,"props":1201,"children":1202},{"style":657},[1203],{"type":612,"value":1204}," data[",{"type":606,"tag":636,"props":1206,"children":1207},{"style":704},[1208],{"type":612,"value":1209},"\"users\"",{"type":606,"tag":636,"props":1211,"children":1212},{"style":657},[1213],{"type":612,"value":1214},"] ",{"type":606,"tag":636,"props":1216,"children":1217},{"style":651},[1218],{"type":612,"value":1219},"if",{"type":606,"tag":636,"props":1221,"children":1222},{"style":657},[1223],{"type":612,"value":1224}," user[",{"type":606,"tag":636,"props":1226,"children":1227},{"style":704},[1228],{"type":612,"value":1040},{"type":606,"tag":636,"props":1230,"children":1231},{"style":657},[1232],{"type":612,"value":1214},{"type":606,"tag":636,"props":1234,"children":1235},{"style":651},[1236],{"type":612,"value":1237},">",{"type":606,"tag":636,"props":1239,"children":1240},{"style":737},[1241],{"type":612,"value":1242}," 90",{"type":606,"tag":636,"props":1244,"children":1245},{"style":657},[1246],{"type":612,"value":1247},"]\n",{"type":606,"tag":636,"props":1249,"children":1250},{"class":638,"line":227},[1251,1256,1260,1265,1271,1275,1280],{"type":606,"tag":636,"props":1252,"children":1253},{"style":657},[1254],{"type":612,"value":1255},"json_output ",{"type":606,"tag":636,"props":1257,"children":1258},{"style":651},[1259],{"type":612,"value":701},{"type":606,"tag":636,"props":1261,"children":1262},{"style":657},[1263],{"type":612,"value":1264}," json.dumps(high_scorers, ",{"type":606,"tag":636,"props":1266,"children":1268},{"style":1267},"--shiki-default:#E36209;--shiki-app-dark-mode:#FFAB70",[1269],{"type":612,"value":1270},"indent",{"type":606,"tag":636,"props":1272,"children":1273},{"style":651},[1274],{"type":612,"value":701},{"type":606,"tag":636,"props":1276,"children":1277},{"style":737},[1278],{"type":612,"value":1279},"2",{"type":606,"tag":636,"props":1281,"children":1282},{"style":657},[1283],{"type":612,"value":921},{"type":606,"tag":636,"props":1285,"children":1286},{"class":638,"line":236},[1287],{"type":606,"tag":636,"props":1288,"children":1289},{"emptyLinePlaceholder":13},[1290],{"type":612,"value":680},{"type":606,"tag":636,"props":1292,"children":1293},{"class":638,"line":245},[1294,1298,1302,1306,1310,1315,1320,1324,1329,1333,1337],{"type":606,"tag":636,"props":1295,"children":1296},{"style":737},[1297],{"type":612,"value":881},{"type":606,"tag":636,"props":1299,"children":1300},{"style":657},[1301],{"type":612,"value":886},{"type":606,"tag":636,"props":1303,"children":1304},{"style":651},[1305],{"type":612,"value":891},{"type":606,"tag":636,"props":1307,"children":1308},{"style":704},[1309],{"type":612,"value":916},{"type":606,"tag":636,"props":1311,"children":1312},{"style":737},[1313],{"type":612,"value":1314},"\\n",{"type":606,"tag":636,"props":1316,"children":1317},{"style":704},[1318],{"type":612,"value":1319},"High scorers: ",{"type":606,"tag":636,"props":1321,"children":1322},{"style":737},[1323],{"type":612,"value":901},{"type":606,"tag":636,"props":1325,"children":1326},{"style":657},[1327],{"type":612,"value":1328},"json_output",{"type":606,"tag":636,"props":1330,"children":1331},{"style":737},[1332],{"type":612,"value":911},{"type":606,"tag":636,"props":1334,"children":1335},{"style":704},[1336],{"type":612,"value":916},{"type":606,"tag":636,"props":1338,"children":1339},{"style":657},[1340],{"type":612,"value":921},{"type":606,"tag":1342,"props":1343,"children":1345},"h2",{"id":1344},"why-data-processing-matters",[1346],{"type":612,"value":1347},"🎯 Why Data Processing Matters",{"type":606,"tag":615,"props":1349,"children":1350},{},[1351],{"type":612,"value":1352},"Modern applications work with diverse data sources and formats. Python excels at connecting, transforming, and analyzing data from various sources.",{"type":606,"tag":1354,"props":1355,"children":1359},"info-box",{"emoji":1356,"title":1357,"type":1358},"🛠️","Data Processing Tools","info",[1360,1369,1389,1397,1420,1428],{"type":606,"tag":615,"props":1361,"children":1362},{},[1363],{"type":606,"tag":1364,"props":1365,"children":1366},"strong",{},[1367],{"type":612,"value":1368},"Text Processing:",{"type":606,"tag":1370,"props":1371,"children":1372},"ul",{},[1373,1379,1384],{"type":606,"tag":1374,"props":1375,"children":1376},"li",{},[1377],{"type":612,"value":1378},"Regular expressions for pattern matching",{"type":606,"tag":1374,"props":1380,"children":1381},{},[1382],{"type":612,"value":1383},"String manipulation and cleaning",{"type":606,"tag":1374,"props":1385,"children":1386},{},[1387],{"type":612,"value":1388},"Text parsing and extraction",{"type":606,"tag":615,"props":1390,"children":1391},{},[1392],{"type":606,"tag":1364,"props":1393,"children":1394},{},[1395],{"type":612,"value":1396},"Data Sources:",{"type":606,"tag":1370,"props":1398,"children":1399},{},[1400,1405,1410,1415],{"type":606,"tag":1374,"props":1401,"children":1402},{},[1403],{"type":612,"value":1404},"APIs for real-time data",{"type":606,"tag":1374,"props":1406,"children":1407},{},[1408],{"type":612,"value":1409},"Databases for structured storage",{"type":606,"tag":1374,"props":1411,"children":1412},{},[1413],{"type":612,"value":1414},"Files (CSV, JSON, XML, HTML)",{"type":606,"tag":1374,"props":1416,"children":1417},{},[1418],{"type":612,"value":1419},"Large datasets requiring efficient processing",{"type":606,"tag":615,"props":1421,"children":1422},{},[1423],{"type":606,"tag":1364,"props":1424,"children":1425},{},[1426],{"type":612,"value":1427},"Common Tasks:",{"type":606,"tag":1370,"props":1429,"children":1430},{},[1431,1436,1441,1446],{"type":606,"tag":1374,"props":1432,"children":1433},{},[1434],{"type":612,"value":1435},"Data validation and cleaning",{"type":606,"tag":1374,"props":1437,"children":1438},{},[1439],{"type":612,"value":1440},"Format conversion and transformation",{"type":606,"tag":1374,"props":1442,"children":1443},{},[1444],{"type":612,"value":1445},"Data extraction and aggregation",{"type":606,"tag":1374,"props":1447,"children":1448},{},[1449],{"type":612,"value":1450},"File processing and batch operations",{"type":606,"tag":1342,"props":1452,"children":1454},{"id":1453},"data-processing-topics",[1455],{"type":612,"value":1456},"📚 Data Processing Topics",{"type":606,"tag":615,"props":1458,"children":1459},{},[1460],{"type":612,"value":1461},"Learn essential data processing techniques:",{"type":606,"tag":1370,"props":1463,"children":1464},{},[1465,1477,1488,1499,1510],{"type":606,"tag":1374,"props":1466,"children":1467},{},[1468,1470,1475],{"type":612,"value":1469},"🔍 ",{"type":606,"tag":1471,"props":1472,"children":1473},"a",{"href":484},[1474],{"type":612,"value":485},{"type":612,"value":1476}," Pattern matching and text extraction with regex.",{"type":606,"tag":1374,"props":1478,"children":1479},{},[1480,1482,1486],{"type":612,"value":1481},"🌐 ",{"type":606,"tag":1471,"props":1483,"children":1484},{"href":493},[1485],{"type":612,"value":494},{"type":612,"value":1487}," Extract data from markup languages and web content.",{"type":606,"tag":1374,"props":1489,"children":1490},{},[1491,1493,1497],{"type":612,"value":1492},"🔗 ",{"type":606,"tag":1471,"props":1494,"children":1495},{"href":502},[1496],{"type":612,"value":503},{"type":612,"value":1498}," Fetch and process data from web APIs and services.",{"type":606,"tag":1374,"props":1500,"children":1501},{},[1502,1504,1508],{"type":612,"value":1503},"💾 ",{"type":606,"tag":1471,"props":1505,"children":1506},{"href":511},[1507],{"type":612,"value":512},{"type":612,"value":1509}," Connect to and query SQL databases efficiently.",{"type":606,"tag":1374,"props":1511,"children":1512},{},[1513,1515,1519],{"type":612,"value":1514},"📁 ",{"type":606,"tag":1471,"props":1516,"children":1517},{"href":520},[1518],{"type":612,"value":521},{"type":612,"value":1520}," Handle big datasets with memory-efficient techniques.",{"type":606,"tag":1342,"props":1522,"children":1524},{"id":1523},"data-processing-overview",[1525],{"type":612,"value":1526},"📊 Data Processing Overview",{"type":606,"tag":1528,"props":1529,"children":1531},"h3",{"id":1530},"data-format-types",[1532],{"type":612,"value":1533},"Data Format Types",{"type":606,"tag":1535,"props":1536,"children":1537},"table",{},[1538,1562],{"type":606,"tag":1539,"props":1540,"children":1541},"thead",{},[1542],{"type":606,"tag":1543,"props":1544,"children":1545},"tr",{},[1546,1552,1557],{"type":606,"tag":1547,"props":1548,"children":1549},"th",{},[1550],{"type":612,"value":1551},"Format",{"type":606,"tag":1547,"props":1553,"children":1554},{},[1555],{"type":612,"value":1556},"Use Case",{"type":606,"tag":1547,"props":1558,"children":1559},{},[1560],{"type":612,"value":1561},"Python Tools",{"type":606,"tag":1563,"props":1564,"children":1565},"tbody",{},[1566,1591,1614,1643,1672],{"type":606,"tag":1543,"props":1567,"children":1568},{},[1569,1575,1580],{"type":606,"tag":1570,"props":1571,"children":1572},"td",{},[1573],{"type":612,"value":1574},"JSON",{"type":606,"tag":1570,"props":1576,"children":1577},{},[1578],{"type":612,"value":1579},"APIs, configuration",{"type":606,"tag":1570,"props":1581,"children":1582},{},[1583,1589],{"type":606,"tag":632,"props":1584,"children":1586},{"className":1585},[],[1587],{"type":612,"value":1588},"json",{"type":612,"value":1590}," module",{"type":606,"tag":1543,"props":1592,"children":1593},{},[1594,1599,1604],{"type":606,"tag":1570,"props":1595,"children":1596},{},[1597],{"type":612,"value":1598},"CSV",{"type":606,"tag":1570,"props":1600,"children":1601},{},[1602],{"type":612,"value":1603},"Spreadsheets, data export",{"type":606,"tag":1570,"props":1605,"children":1606},{},[1607,1613],{"type":606,"tag":632,"props":1608,"children":1610},{"className":1609},[],[1611],{"type":612,"value":1612},"csv",{"type":612,"value":1590},{"type":606,"tag":1543,"props":1615,"children":1616},{},[1617,1622,1627],{"type":606,"tag":1570,"props":1618,"children":1619},{},[1620],{"type":612,"value":1621},"XML/HTML",{"type":606,"tag":1570,"props":1623,"children":1624},{},[1625],{"type":612,"value":1626},"Web content, documents",{"type":606,"tag":1570,"props":1628,"children":1629},{},[1630,1636,1637],{"type":606,"tag":632,"props":1631,"children":1633},{"className":1632},[],[1634],{"type":612,"value":1635},"xml.etree",{"type":612,"value":1035},{"type":606,"tag":632,"props":1638,"children":1640},{"className":1639},[],[1641],{"type":612,"value":1642},"BeautifulSoup",{"type":606,"tag":1543,"props":1644,"children":1645},{},[1646,1651,1656],{"type":606,"tag":1570,"props":1647,"children":1648},{},[1649],{"type":612,"value":1650},"SQL",{"type":606,"tag":1570,"props":1652,"children":1653},{},[1654],{"type":612,"value":1655},"Structured databases",{"type":606,"tag":1570,"props":1657,"children":1658},{},[1659,1665,1666],{"type":606,"tag":632,"props":1660,"children":1662},{"className":1661},[],[1663],{"type":612,"value":1664},"sqlite3",{"type":612,"value":1035},{"type":606,"tag":632,"props":1667,"children":1669},{"className":1668},[],[1670],{"type":612,"value":1671},"sqlalchemy",{"type":606,"tag":1543,"props":1673,"children":1674},{},[1675,1680,1685],{"type":606,"tag":1570,"props":1676,"children":1677},{},[1678],{"type":612,"value":1679},"Text",{"type":606,"tag":1570,"props":1681,"children":1682},{},[1683],{"type":612,"value":1684},"Logs, documents",{"type":606,"tag":1570,"props":1686,"children":1687},{},[1688,1694],{"type":606,"tag":632,"props":1689,"children":1691},{"className":1690},[],[1692],{"type":612,"value":1693},"re",{"type":612,"value":1695},", string methods",{"type":606,"tag":1528,"props":1697,"children":1699},{"id":1698},"processing-patterns",[1700],{"type":612,"value":1701},"Processing Patterns",{"type":606,"tag":1535,"props":1703,"children":1704},{},[1705,1726],{"type":606,"tag":1539,"props":1706,"children":1707},{},[1708],{"type":606,"tag":1543,"props":1709,"children":1710},{},[1711,1716,1721],{"type":606,"tag":1547,"props":1712,"children":1713},{},[1714],{"type":612,"value":1715},"Pattern",{"type":606,"tag":1547,"props":1717,"children":1718},{},[1719],{"type":612,"value":1720},"Purpose",{"type":606,"tag":1547,"props":1722,"children":1723},{},[1724],{"type":612,"value":1725},"Example",{"type":606,"tag":1563,"props":1727,"children":1728},{},[1729,1747,1765,1783,1801],{"type":606,"tag":1543,"props":1730,"children":1731},{},[1732,1737,1742],{"type":606,"tag":1570,"props":1733,"children":1734},{},[1735],{"type":612,"value":1736},"Extract",{"type":606,"tag":1570,"props":1738,"children":1739},{},[1740],{"type":612,"value":1741},"Get specific data",{"type":606,"tag":1570,"props":1743,"children":1744},{},[1745],{"type":612,"value":1746},"Regex, CSS selectors",{"type":606,"tag":1543,"props":1748,"children":1749},{},[1750,1755,1760],{"type":606,"tag":1570,"props":1751,"children":1752},{},[1753],{"type":612,"value":1754},"Transform",{"type":606,"tag":1570,"props":1756,"children":1757},{},[1758],{"type":612,"value":1759},"Change format/structure",{"type":606,"tag":1570,"props":1761,"children":1762},{},[1763],{"type":612,"value":1764},"JSON to CSV conversion",{"type":606,"tag":1543,"props":1766,"children":1767},{},[1768,1773,1778],{"type":606,"tag":1570,"props":1769,"children":1770},{},[1771],{"type":612,"value":1772},"Validate",{"type":606,"tag":1570,"props":1774,"children":1775},{},[1776],{"type":612,"value":1777},"Check data quality",{"type":606,"tag":1570,"props":1779,"children":1780},{},[1781],{"type":612,"value":1782},"Type checking, ranges",{"type":606,"tag":1543,"props":1784,"children":1785},{},[1786,1791,1796],{"type":606,"tag":1570,"props":1787,"children":1788},{},[1789],{"type":612,"value":1790},"Aggregate",{"type":606,"tag":1570,"props":1792,"children":1793},{},[1794],{"type":612,"value":1795},"Summarize data",{"type":606,"tag":1570,"props":1797,"children":1798},{},[1799],{"type":612,"value":1800},"Counting, grouping",{"type":606,"tag":1543,"props":1802,"children":1803},{},[1804,1809,1814],{"type":606,"tag":1570,"props":1805,"children":1806},{},[1807],{"type":612,"value":1808},"Filter",{"type":606,"tag":1570,"props":1810,"children":1811},{},[1812],{"type":612,"value":1813},"Select subset",{"type":606,"tag":1570,"props":1815,"children":1816},{},[1817],{"type":612,"value":1818},"Conditions, criteria",{"type":606,"tag":1342,"props":1820,"children":1822},{"id":1821},"quick-data-processing-examples",[1823],{"type":612,"value":1824},"🌟 Quick Data Processing Examples",{"type":606,"tag":615,"props":1826,"children":1827},{},[1828],{"type":612,"value":1829},"Here's what you'll learn to build:",{"type":606,"tag":621,"props":1831,"children":1832},{},[1833],{"type":606,"tag":625,"props":1834,"children":1836},{"className":627,"code":1835,"language":629,"meta":8,"style":8},"import re\nimport json\n\n# Text processing pipeline\ndef process_log_entry(log_line):\n    # Extract timestamp, level, and message\n    pattern = r'(\\d{4}-\\d{2}-\\d{2} \\d{2}:\\d{2}:\\d{2}) \\[(\\w+)\\] (.+)'\n    match = re.match(pattern, log_line)\n    \n    if match:\n        return {\n            'timestamp': match.group(1),\n            'level': match.group(2),\n            'message': match.group(3)\n        }\n    return None\n\n# Sample data processing\nlog_lines = [\n    \"2024-01-15 10:30:45 [INFO] User login successful\",\n    \"2024-01-15 10:31:12 [ERROR] Database connection failed\",\n    \"2024-01-15 10:31:45 [INFO] User logout\"\n]\n\nprocessed_logs = []\nfor line in log_lines:\n    parsed = process_log_entry(line)\n    if parsed:\n        processed_logs.append(parsed)\n\nprint(\"Processed log entries:\")\nfor log in processed_logs:\n    print(f\"  {log['level']}: {log['message']}\")\n\n# Data transformation\nerror_count = sum(1 for log in processed_logs if log['level'] == 'ERROR')\ninfo_count = sum(1 for log in processed_logs if log['level'] == 'INFO')\n\nsummary = {\n    'total_entries': len(processed_logs),\n    'errors': error_count,\n    'info': info_count\n}\n\nprint(f\"\\nLog summary: {json.dumps(summary, indent=2)}\")\n",[1837],{"type":606,"tag":632,"props":1838,"children":1839},{"__ignoreMap":8},[1840,1851,1862,1869,1877,1896,1904,2038,2055,2063,2076,2088,2111,2131,2152,2160,2173,2180,2188,2205,2218,2230,2238,2245,2252,2269,2290,2307,2319,2327,2334,2354,2375,2452,2459,2467,2541,2610,2617,2633,2655,2668,2681,2688,2695],{"type":606,"tag":636,"props":1841,"children":1842},{"class":638,"line":12},[1843,1847],{"type":606,"tag":636,"props":1844,"children":1845},{"style":651},[1846],{"type":612,"value":654},{"type":606,"tag":636,"props":1848,"children":1849},{"style":657},[1850],{"type":612,"value":660},{"type":606,"tag":636,"props":1852,"children":1853},{"class":638,"line":27},[1854,1858],{"type":606,"tag":636,"props":1855,"children":1856},{"style":651},[1857],{"type":612,"value":654},{"type":606,"tag":636,"props":1859,"children":1860},{"style":657},[1861],{"type":612,"value":672},{"type":606,"tag":636,"props":1863,"children":1864},{"class":638,"line":36},[1865],{"type":606,"tag":636,"props":1866,"children":1867},{"emptyLinePlaceholder":13},[1868],{"type":612,"value":680},{"type":606,"tag":636,"props":1870,"children":1871},{"class":638,"line":45},[1872],{"type":606,"tag":636,"props":1873,"children":1874},{"style":642},[1875],{"type":612,"value":1876},"# Text processing pipeline\n",{"type":606,"tag":636,"props":1878,"children":1879},{"class":638,"line":54},[1880,1885,1891],{"type":606,"tag":636,"props":1881,"children":1882},{"style":651},[1883],{"type":612,"value":1884},"def",{"type":606,"tag":636,"props":1886,"children":1888},{"style":1887},"--shiki-default:#6F42C1;--shiki-app-dark-mode:#B392F0",[1889],{"type":612,"value":1890}," process_log_entry",{"type":606,"tag":636,"props":1892,"children":1893},{"style":657},[1894],{"type":612,"value":1895},"(log_line):\n",{"type":606,"tag":636,"props":1897,"children":1898},{"class":638,"line":63},[1899],{"type":606,"tag":636,"props":1900,"children":1901},{"style":642},[1902],{"type":612,"value":1903},"    # Extract timestamp, level, and message\n",{"type":606,"tag":636,"props":1905,"children":1906},{"class":638,"line":72},[1907,1912,1916,1921,1925,1930,1934,1938,1942,1947,1951,1955,1959,1963,1967,1972,1976,1980,1984,1988,1992,1997,2002,2007,2011,2015,2020,2025,2029,2033],{"type":606,"tag":636,"props":1908,"children":1909},{"style":657},[1910],{"type":612,"value":1911},"    pattern ",{"type":606,"tag":636,"props":1913,"children":1914},{"style":651},[1915],{"type":612,"value":701},{"type":606,"tag":636,"props":1917,"children":1918},{"style":651},[1919],{"type":612,"value":1920}," r",{"type":606,"tag":636,"props":1922,"children":1923},{"style":704},[1924],{"type":612,"value":734},{"type":606,"tag":636,"props":1926,"children":1927},{"style":737},[1928],{"type":612,"value":1929},"(\\d",{"type":606,"tag":636,"props":1931,"children":1932},{"style":651},[1933],{"type":612,"value":857},{"type":606,"tag":636,"props":1935,"children":1936},{"style":748},[1937],{"type":612,"value":848},{"type":606,"tag":636,"props":1939,"children":1940},{"style":737},[1941],{"type":612,"value":824},{"type":606,"tag":636,"props":1943,"children":1944},{"style":651},[1945],{"type":612,"value":1946},"{2}",{"type":606,"tag":636,"props":1948,"children":1949},{"style":748},[1950],{"type":612,"value":848},{"type":606,"tag":636,"props":1952,"children":1953},{"style":737},[1954],{"type":612,"value":824},{"type":606,"tag":636,"props":1956,"children":1957},{"style":651},[1958],{"type":612,"value":1946},{"type":606,"tag":636,"props":1960,"children":1961},{"style":737},[1962],{"type":612,"value":839},{"type":606,"tag":636,"props":1964,"children":1965},{"style":651},[1966],{"type":612,"value":1946},{"type":606,"tag":636,"props":1968,"children":1969},{"style":748},[1970],{"type":612,"value":1971},":",{"type":606,"tag":636,"props":1973,"children":1974},{"style":737},[1975],{"type":612,"value":824},{"type":606,"tag":636,"props":1977,"children":1978},{"style":651},[1979],{"type":612,"value":1946},{"type":606,"tag":636,"props":1981,"children":1982},{"style":748},[1983],{"type":612,"value":1971},{"type":606,"tag":636,"props":1985,"children":1986},{"style":737},[1987],{"type":612,"value":824},{"type":606,"tag":636,"props":1989,"children":1990},{"style":651},[1991],{"type":612,"value":1946},{"type":606,"tag":636,"props":1993,"children":1994},{"style":737},[1995],{"type":612,"value":1996},")",{"type":606,"tag":636,"props":1998,"children":1999},{"style":763},[2000],{"type":612,"value":2001}," \\[",{"type":606,"tag":636,"props":2003,"children":2004},{"style":737},[2005],{"type":612,"value":2006},"(\\w",{"type":606,"tag":636,"props":2008,"children":2009},{"style":651},[2010],{"type":612,"value":745},{"type":606,"tag":636,"props":2012,"children":2013},{"style":737},[2014],{"type":612,"value":1996},{"type":606,"tag":636,"props":2016,"children":2017},{"style":763},[2018],{"type":612,"value":2019},"\\]",{"type":606,"tag":636,"props":2021,"children":2022},{"style":737},[2023],{"type":612,"value":2024}," (.",{"type":606,"tag":636,"props":2026,"children":2027},{"style":651},[2028],{"type":612,"value":745},{"type":606,"tag":636,"props":2030,"children":2031},{"style":737},[2032],{"type":612,"value":1996},{"type":606,"tag":636,"props":2034,"children":2035},{"style":704},[2036],{"type":612,"value":2037},"'\n",{"type":606,"tag":636,"props":2039,"children":2040},{"class":638,"line":81},[2041,2046,2050],{"type":606,"tag":636,"props":2042,"children":2043},{"style":657},[2044],{"type":612,"value":2045},"    match ",{"type":606,"tag":636,"props":2047,"children":2048},{"style":651},[2049],{"type":612,"value":701},{"type":606,"tag":636,"props":2051,"children":2052},{"style":657},[2053],{"type":612,"value":2054}," re.match(pattern, log_line)\n",{"type":606,"tag":636,"props":2056,"children":2057},{"class":638,"line":868},[2058],{"type":606,"tag":636,"props":2059,"children":2060},{"style":657},[2061],{"type":612,"value":2062},"    \n",{"type":606,"tag":636,"props":2064,"children":2065},{"class":638,"line":99},[2066,2071],{"type":606,"tag":636,"props":2067,"children":2068},{"style":651},[2069],{"type":612,"value":2070},"    if",{"type":606,"tag":636,"props":2072,"children":2073},{"style":657},[2074],{"type":612,"value":2075}," match:\n",{"type":606,"tag":636,"props":2077,"children":2078},{"class":638,"line":108},[2079,2084],{"type":606,"tag":636,"props":2080,"children":2081},{"style":651},[2082],{"type":612,"value":2083},"        return",{"type":606,"tag":636,"props":2085,"children":2086},{"style":657},[2087],{"type":612,"value":994},{"type":606,"tag":636,"props":2089,"children":2090},{"class":638,"line":117},[2091,2096,2101,2106],{"type":606,"tag":636,"props":2092,"children":2093},{"style":704},[2094],{"type":612,"value":2095},"            'timestamp'",{"type":606,"tag":636,"props":2097,"children":2098},{"style":657},[2099],{"type":612,"value":2100},": match.group(",{"type":606,"tag":636,"props":2102,"children":2103},{"style":737},[2104],{"type":612,"value":2105},"1",{"type":606,"tag":636,"props":2107,"children":2108},{"style":657},[2109],{"type":612,"value":2110},"),\n",{"type":606,"tag":636,"props":2112,"children":2113},{"class":638,"line":126},[2114,2119,2123,2127],{"type":606,"tag":636,"props":2115,"children":2116},{"style":704},[2117],{"type":612,"value":2118},"            'level'",{"type":606,"tag":636,"props":2120,"children":2121},{"style":657},[2122],{"type":612,"value":2100},{"type":606,"tag":636,"props":2124,"children":2125},{"style":737},[2126],{"type":612,"value":1279},{"type":606,"tag":636,"props":2128,"children":2129},{"style":657},[2130],{"type":612,"value":2110},{"type":606,"tag":636,"props":2132,"children":2133},{"class":638,"line":135},[2134,2139,2143,2148],{"type":606,"tag":636,"props":2135,"children":2136},{"style":704},[2137],{"type":612,"value":2138},"            'message'",{"type":606,"tag":636,"props":2140,"children":2141},{"style":657},[2142],{"type":612,"value":2100},{"type":606,"tag":636,"props":2144,"children":2145},{"style":737},[2146],{"type":612,"value":2147},"3",{"type":606,"tag":636,"props":2149,"children":2150},{"style":657},[2151],{"type":612,"value":921},{"type":606,"tag":636,"props":2153,"children":2154},{"class":638,"line":144},[2155],{"type":606,"tag":636,"props":2156,"children":2157},{"style":657},[2158],{"type":612,"value":2159},"        }\n",{"type":606,"tag":636,"props":2161,"children":2162},{"class":638,"line":153},[2163,2168],{"type":606,"tag":636,"props":2164,"children":2165},{"style":651},[2166],{"type":612,"value":2167},"    return",{"type":606,"tag":636,"props":2169,"children":2170},{"style":737},[2171],{"type":612,"value":2172}," None\n",{"type":606,"tag":636,"props":2174,"children":2175},{"class":638,"line":163},[2176],{"type":606,"tag":636,"props":2177,"children":2178},{"emptyLinePlaceholder":13},[2179],{"type":612,"value":680},{"type":606,"tag":636,"props":2181,"children":2182},{"class":638,"line":172},[2183],{"type":606,"tag":636,"props":2184,"children":2185},{"style":642},[2186],{"type":612,"value":2187},"# Sample data processing\n",{"type":606,"tag":636,"props":2189,"children":2190},{"class":638,"line":181},[2191,2196,2200],{"type":606,"tag":636,"props":2192,"children":2193},{"style":657},[2194],{"type":612,"value":2195},"log_lines ",{"type":606,"tag":636,"props":2197,"children":2198},{"style":651},[2199],{"type":612,"value":701},{"type":606,"tag":636,"props":2201,"children":2202},{"style":657},[2203],{"type":612,"value":2204}," [\n",{"type":606,"tag":636,"props":2206,"children":2207},{"class":638,"line":190},[2208,2213],{"type":606,"tag":636,"props":2209,"children":2210},{"style":704},[2211],{"type":612,"value":2212},"    \"2024-01-15 10:30:45 [INFO] User login successful\"",{"type":606,"tag":636,"props":2214,"children":2215},{"style":657},[2216],{"type":612,"value":2217},",\n",{"type":606,"tag":636,"props":2219,"children":2220},{"class":638,"line":199},[2221,2226],{"type":606,"tag":636,"props":2222,"children":2223},{"style":704},[2224],{"type":612,"value":2225},"    \"2024-01-15 10:31:12 [ERROR] Database connection failed\"",{"type":606,"tag":636,"props":2227,"children":2228},{"style":657},[2229],{"type":612,"value":2217},{"type":606,"tag":636,"props":2231,"children":2232},{"class":638,"line":208},[2233],{"type":606,"tag":636,"props":2234,"children":2235},{"style":704},[2236],{"type":612,"value":2237},"    \"2024-01-15 10:31:45 [INFO] User logout\"\n",{"type":606,"tag":636,"props":2239,"children":2240},{"class":638,"line":217},[2241],{"type":606,"tag":636,"props":2242,"children":2243},{"style":657},[2244],{"type":612,"value":1247},{"type":606,"tag":636,"props":2246,"children":2247},{"class":638,"line":227},[2248],{"type":606,"tag":636,"props":2249,"children":2250},{"emptyLinePlaceholder":13},[2251],{"type":612,"value":680},{"type":606,"tag":636,"props":2253,"children":2254},{"class":638,"line":236},[2255,2260,2264],{"type":606,"tag":636,"props":2256,"children":2257},{"style":657},[2258],{"type":612,"value":2259},"processed_logs ",{"type":606,"tag":636,"props":2261,"children":2262},{"style":651},[2263],{"type":612,"value":701},{"type":606,"tag":636,"props":2265,"children":2266},{"style":657},[2267],{"type":612,"value":2268}," []\n",{"type":606,"tag":636,"props":2270,"children":2271},{"class":638,"line":245},[2272,2276,2281,2285],{"type":606,"tag":636,"props":2273,"children":2274},{"style":651},[2275],{"type":612,"value":1189},{"type":606,"tag":636,"props":2277,"children":2278},{"style":657},[2279],{"type":612,"value":2280}," line ",{"type":606,"tag":636,"props":2282,"children":2283},{"style":651},[2284],{"type":612,"value":1199},{"type":606,"tag":636,"props":2286,"children":2287},{"style":657},[2288],{"type":612,"value":2289}," log_lines:\n",{"type":606,"tag":636,"props":2291,"children":2292},{"class":638,"line":254},[2293,2298,2302],{"type":606,"tag":636,"props":2294,"children":2295},{"style":657},[2296],{"type":612,"value":2297},"    parsed ",{"type":606,"tag":636,"props":2299,"children":2300},{"style":651},[2301],{"type":612,"value":701},{"type":606,"tag":636,"props":2303,"children":2304},{"style":657},[2305],{"type":612,"value":2306}," process_log_entry(line)\n",{"type":606,"tag":636,"props":2308,"children":2309},{"class":638,"line":263},[2310,2314],{"type":606,"tag":636,"props":2311,"children":2312},{"style":651},[2313],{"type":612,"value":2070},{"type":606,"tag":636,"props":2315,"children":2316},{"style":657},[2317],{"type":612,"value":2318}," parsed:\n",{"type":606,"tag":636,"props":2320,"children":2321},{"class":638,"line":272},[2322],{"type":606,"tag":636,"props":2323,"children":2324},{"style":657},[2325],{"type":612,"value":2326},"        processed_logs.append(parsed)\n",{"type":606,"tag":636,"props":2328,"children":2329},{"class":638,"line":281},[2330],{"type":606,"tag":636,"props":2331,"children":2332},{"emptyLinePlaceholder":13},[2333],{"type":612,"value":680},{"type":606,"tag":636,"props":2335,"children":2336},{"class":638,"line":291},[2337,2341,2345,2350],{"type":606,"tag":636,"props":2338,"children":2339},{"style":737},[2340],{"type":612,"value":881},{"type":606,"tag":636,"props":2342,"children":2343},{"style":657},[2344],{"type":612,"value":886},{"type":606,"tag":636,"props":2346,"children":2347},{"style":704},[2348],{"type":612,"value":2349},"\"Processed log entries:\"",{"type":606,"tag":636,"props":2351,"children":2352},{"style":657},[2353],{"type":612,"value":921},{"type":606,"tag":636,"props":2355,"children":2356},{"class":638,"line":302},[2357,2361,2366,2370],{"type":606,"tag":636,"props":2358,"children":2359},{"style":651},[2360],{"type":612,"value":1189},{"type":606,"tag":636,"props":2362,"children":2363},{"style":657},[2364],{"type":612,"value":2365}," log ",{"type":606,"tag":636,"props":2367,"children":2368},{"style":651},[2369],{"type":612,"value":1199},{"type":606,"tag":636,"props":2371,"children":2372},{"style":657},[2373],{"type":612,"value":2374}," processed_logs:\n",{"type":606,"tag":636,"props":2376,"children":2377},{"class":638,"line":311},[2378,2383,2387,2391,2396,2400,2405,2410,2415,2419,2423,2427,2431,2436,2440,2444,2448],{"type":606,"tag":636,"props":2379,"children":2380},{"style":737},[2381],{"type":612,"value":2382},"    print",{"type":606,"tag":636,"props":2384,"children":2385},{"style":657},[2386],{"type":612,"value":886},{"type":606,"tag":636,"props":2388,"children":2389},{"style":651},[2390],{"type":612,"value":891},{"type":606,"tag":636,"props":2392,"children":2393},{"style":704},[2394],{"type":612,"value":2395},"\"  ",{"type":606,"tag":636,"props":2397,"children":2398},{"style":737},[2399],{"type":612,"value":901},{"type":606,"tag":636,"props":2401,"children":2402},{"style":657},[2403],{"type":612,"value":2404},"log[",{"type":606,"tag":636,"props":2406,"children":2407},{"style":704},[2408],{"type":612,"value":2409},"'level'",{"type":606,"tag":636,"props":2411,"children":2412},{"style":657},[2413],{"type":612,"value":2414},"]",{"type":606,"tag":636,"props":2416,"children":2417},{"style":737},[2418],{"type":612,"value":911},{"type":606,"tag":636,"props":2420,"children":2421},{"style":704},[2422],{"type":612,"value":1025},{"type":606,"tag":636,"props":2424,"children":2425},{"style":737},[2426],{"type":612,"value":901},{"type":606,"tag":636,"props":2428,"children":2429},{"style":657},[2430],{"type":612,"value":2404},{"type":606,"tag":636,"props":2432,"children":2433},{"style":704},[2434],{"type":612,"value":2435},"'message'",{"type":606,"tag":636,"props":2437,"children":2438},{"style":657},[2439],{"type":612,"value":2414},{"type":606,"tag":636,"props":2441,"children":2442},{"style":737},[2443],{"type":612,"value":911},{"type":606,"tag":636,"props":2445,"children":2446},{"style":704},[2447],{"type":612,"value":916},{"type":606,"tag":636,"props":2449,"children":2450},{"style":657},[2451],{"type":612,"value":921},{"type":606,"tag":636,"props":2453,"children":2454},{"class":638,"line":320},[2455],{"type":606,"tag":636,"props":2456,"children":2457},{"emptyLinePlaceholder":13},[2458],{"type":612,"value":680},{"type":606,"tag":636,"props":2460,"children":2461},{"class":638,"line":329},[2462],{"type":606,"tag":636,"props":2463,"children":2464},{"style":642},[2465],{"type":612,"value":2466},"# Data transformation\n",{"type":606,"tag":636,"props":2468,"children":2469},{"class":638,"line":338},[2470,2475,2479,2484,2488,2492,2497,2501,2505,2510,2514,2519,2523,2527,2532,2537],{"type":606,"tag":636,"props":2471,"children":2472},{"style":657},[2473],{"type":612,"value":2474},"error_count ",{"type":606,"tag":636,"props":2476,"children":2477},{"style":651},[2478],{"type":612,"value":701},{"type":606,"tag":636,"props":2480,"children":2481},{"style":737},[2482],{"type":612,"value":2483}," sum",{"type":606,"tag":636,"props":2485,"children":2486},{"style":657},[2487],{"type":612,"value":886},{"type":606,"tag":636,"props":2489,"children":2490},{"style":737},[2491],{"type":612,"value":2105},{"type":606,"tag":636,"props":2493,"children":2494},{"style":651},[2495],{"type":612,"value":2496}," for",{"type":606,"tag":636,"props":2498,"children":2499},{"style":657},[2500],{"type":612,"value":2365},{"type":606,"tag":636,"props":2502,"children":2503},{"style":651},[2504],{"type":612,"value":1199},{"type":606,"tag":636,"props":2506,"children":2507},{"style":657},[2508],{"type":612,"value":2509}," processed_logs ",{"type":606,"tag":636,"props":2511,"children":2512},{"style":651},[2513],{"type":612,"value":1219},{"type":606,"tag":636,"props":2515,"children":2516},{"style":657},[2517],{"type":612,"value":2518}," log[",{"type":606,"tag":636,"props":2520,"children":2521},{"style":704},[2522],{"type":612,"value":2409},{"type":606,"tag":636,"props":2524,"children":2525},{"style":657},[2526],{"type":612,"value":1214},{"type":606,"tag":636,"props":2528,"children":2529},{"style":651},[2530],{"type":612,"value":2531},"==",{"type":606,"tag":636,"props":2533,"children":2534},{"style":704},[2535],{"type":612,"value":2536}," 'ERROR'",{"type":606,"tag":636,"props":2538,"children":2539},{"style":657},[2540],{"type":612,"value":921},{"type":606,"tag":636,"props":2542,"children":2543},{"class":638,"line":347},[2544,2549,2553,2557,2561,2565,2569,2573,2577,2581,2585,2589,2593,2597,2601,2606],{"type":606,"tag":636,"props":2545,"children":2546},{"style":657},[2547],{"type":612,"value":2548},"info_count ",{"type":606,"tag":636,"props":2550,"children":2551},{"style":651},[2552],{"type":612,"value":701},{"type":606,"tag":636,"props":2554,"children":2555},{"style":737},[2556],{"type":612,"value":2483},{"type":606,"tag":636,"props":2558,"children":2559},{"style":657},[2560],{"type":612,"value":886},{"type":606,"tag":636,"props":2562,"children":2563},{"style":737},[2564],{"type":612,"value":2105},{"type":606,"tag":636,"props":2566,"children":2567},{"style":651},[2568],{"type":612,"value":2496},{"type":606,"tag":636,"props":2570,"children":2571},{"style":657},[2572],{"type":612,"value":2365},{"type":606,"tag":636,"props":2574,"children":2575},{"style":651},[2576],{"type":612,"value":1199},{"type":606,"tag":636,"props":2578,"children":2579},{"style":657},[2580],{"type":612,"value":2509},{"type":606,"tag":636,"props":2582,"children":2583},{"style":651},[2584],{"type":612,"value":1219},{"type":606,"tag":636,"props":2586,"children":2587},{"style":657},[2588],{"type":612,"value":2518},{"type":606,"tag":636,"props":2590,"children":2591},{"style":704},[2592],{"type":612,"value":2409},{"type":606,"tag":636,"props":2594,"children":2595},{"style":657},[2596],{"type":612,"value":1214},{"type":606,"tag":636,"props":2598,"children":2599},{"style":651},[2600],{"type":612,"value":2531},{"type":606,"tag":636,"props":2602,"children":2603},{"style":704},[2604],{"type":612,"value":2605}," 'INFO'",{"type":606,"tag":636,"props":2607,"children":2608},{"style":657},[2609],{"type":612,"value":921},{"type":606,"tag":636,"props":2611,"children":2612},{"class":638,"line":356},[2613],{"type":606,"tag":636,"props":2614,"children":2615},{"emptyLinePlaceholder":13},[2616],{"type":612,"value":680},{"type":606,"tag":636,"props":2618,"children":2619},{"class":638,"line":367},[2620,2625,2629],{"type":606,"tag":636,"props":2621,"children":2622},{"style":657},[2623],{"type":612,"value":2624},"summary ",{"type":606,"tag":636,"props":2626,"children":2627},{"style":651},[2628],{"type":612,"value":701},{"type":606,"tag":636,"props":2630,"children":2631},{"style":657},[2632],{"type":612,"value":994},{"type":606,"tag":636,"props":2634,"children":2635},{"class":638,"line":376},[2636,2641,2645,2650],{"type":606,"tag":636,"props":2637,"children":2638},{"style":704},[2639],{"type":612,"value":2640},"    'total_entries'",{"type":606,"tag":636,"props":2642,"children":2643},{"style":657},[2644],{"type":612,"value":1025},{"type":606,"tag":636,"props":2646,"children":2647},{"style":737},[2648],{"type":612,"value":2649},"len",{"type":606,"tag":636,"props":2651,"children":2652},{"style":657},[2653],{"type":612,"value":2654},"(processed_logs),\n",{"type":606,"tag":636,"props":2656,"children":2657},{"class":638,"line":385},[2658,2663],{"type":606,"tag":636,"props":2659,"children":2660},{"style":704},[2661],{"type":612,"value":2662},"    'errors'",{"type":606,"tag":636,"props":2664,"children":2665},{"style":657},[2666],{"type":612,"value":2667},": error_count,\n",{"type":606,"tag":636,"props":2669,"children":2670},{"class":638,"line":394},[2671,2676],{"type":606,"tag":636,"props":2672,"children":2673},{"style":704},[2674],{"type":612,"value":2675},"    'info'",{"type":606,"tag":636,"props":2677,"children":2678},{"style":657},[2679],{"type":612,"value":2680},": info_count\n",{"type":606,"tag":636,"props":2682,"children":2683},{"class":638,"line":403},[2684],{"type":606,"tag":636,"props":2685,"children":2686},{"style":657},[2687],{"type":612,"value":1137},{"type":606,"tag":636,"props":2689,"children":2690},{"class":638,"line":412},[2691],{"type":606,"tag":636,"props":2692,"children":2693},{"emptyLinePlaceholder":13},[2694],{"type":612,"value":680},{"type":606,"tag":636,"props":2696,"children":2697},{"class":638,"line":423},[2698,2702,2706,2710,2714,2718,2723,2727,2732,2736,2740,2744,2748,2752,2756],{"type":606,"tag":636,"props":2699,"children":2700},{"style":737},[2701],{"type":612,"value":881},{"type":606,"tag":636,"props":2703,"children":2704},{"style":657},[2705],{"type":612,"value":886},{"type":606,"tag":636,"props":2707,"children":2708},{"style":651},[2709],{"type":612,"value":891},{"type":606,"tag":636,"props":2711,"children":2712},{"style":704},[2713],{"type":612,"value":916},{"type":606,"tag":636,"props":2715,"children":2716},{"style":737},[2717],{"type":612,"value":1314},{"type":606,"tag":636,"props":2719,"children":2720},{"style":704},[2721],{"type":612,"value":2722},"Log summary: ",{"type":606,"tag":636,"props":2724,"children":2725},{"style":737},[2726],{"type":612,"value":901},{"type":606,"tag":636,"props":2728,"children":2729},{"style":657},[2730],{"type":612,"value":2731},"json.dumps(summary, ",{"type":606,"tag":636,"props":2733,"children":2734},{"style":1267},[2735],{"type":612,"value":1270},{"type":606,"tag":636,"props":2737,"children":2738},{"style":651},[2739],{"type":612,"value":701},{"type":606,"tag":636,"props":2741,"children":2742},{"style":737},[2743],{"type":612,"value":1279},{"type":606,"tag":636,"props":2745,"children":2746},{"style":657},[2747],{"type":612,"value":1996},{"type":606,"tag":636,"props":2749,"children":2750},{"style":737},[2751],{"type":612,"value":911},{"type":606,"tag":636,"props":2753,"children":2754},{"style":704},[2755],{"type":612,"value":916},{"type":606,"tag":636,"props":2757,"children":2758},{"style":657},[2759],{"type":612,"value":921},{"type":606,"tag":1342,"props":2761,"children":2763},{"id":2762},"data-processing-workflow",[2764],{"type":612,"value":2765},"🔄 Data Processing Workflow",{"type":606,"tag":1354,"props":2767,"children":2771},{"emoji":2768,"title":2769,"type":2770},"🔄","Processing Pipeline","success",[2772,2782,2792,2802,2812,2822,2832,2840],{"type":606,"tag":615,"props":2773,"children":2774},{},[2775,2780],{"type":606,"tag":1364,"props":2776,"children":2777},{},[2778],{"type":612,"value":2779},"1. Input",{"type":612,"value":2781}," → Receive data from source",{"type":606,"tag":615,"props":2783,"children":2784},{},[2785,2790],{"type":606,"tag":1364,"props":2786,"children":2787},{},[2788],{"type":612,"value":2789},"2. Validate",{"type":612,"value":2791}," → Check data format and quality",{"type":606,"tag":615,"props":2793,"children":2794},{},[2795,2800],{"type":606,"tag":1364,"props":2796,"children":2797},{},[2798],{"type":612,"value":2799},"3. Clean",{"type":612,"value":2801}," → Remove or fix invalid data",{"type":606,"tag":615,"props":2803,"children":2804},{},[2805,2810],{"type":606,"tag":1364,"props":2806,"children":2807},{},[2808],{"type":612,"value":2809},"4. Transform",{"type":612,"value":2811}," → Convert to desired format",{"type":606,"tag":615,"props":2813,"children":2814},{},[2815,2820],{"type":606,"tag":1364,"props":2816,"children":2817},{},[2818],{"type":612,"value":2819},"5. Process",{"type":612,"value":2821}," → Apply business logic",{"type":606,"tag":615,"props":2823,"children":2824},{},[2825,2830],{"type":606,"tag":1364,"props":2826,"children":2827},{},[2828],{"type":612,"value":2829},"6. Output",{"type":612,"value":2831}," → Save or return results",{"type":606,"tag":615,"props":2833,"children":2834},{},[2835],{"type":606,"tag":1364,"props":2836,"children":2837},{},[2838],{"type":612,"value":2839},"Best Practices:",{"type":606,"tag":1370,"props":2841,"children":2842},{},[2843,2848,2853,2858,2863],{"type":606,"tag":1374,"props":2844,"children":2845},{},[2846],{"type":612,"value":2847},"Handle errors gracefully",{"type":606,"tag":1374,"props":2849,"children":2850},{},[2851],{"type":612,"value":2852},"Validate input data",{"type":606,"tag":1374,"props":2854,"children":2855},{},[2856],{"type":612,"value":2857},"Use appropriate data structures",{"type":606,"tag":1374,"props":2859,"children":2860},{},[2861],{"type":612,"value":2862},"Consider memory usage for large datasets",{"type":606,"tag":1374,"props":2864,"children":2865},{},[2866],{"type":612,"value":2867},"Log processing steps for debugging",{"type":606,"tag":1342,"props":2869,"children":2871},{"id":2870},"real-world-applications",[2872],{"type":612,"value":2873},"💡 Real-World Applications",{"type":606,"tag":615,"props":2875,"children":2876},{},[2877],{"type":612,"value":2878},"Data processing powers many applications:",{"type":606,"tag":1370,"props":2880,"children":2881},{},[2882,2892,2902,2912,2922,2932],{"type":606,"tag":1374,"props":2883,"children":2884},{},[2885,2890],{"type":606,"tag":1364,"props":2886,"children":2887},{},[2888],{"type":612,"value":2889},"Web Scraping",{"type":612,"value":2891}," 🕷️: Extract product info, prices, news",{"type":606,"tag":1374,"props":2893,"children":2894},{},[2895,2900],{"type":606,"tag":1364,"props":2896,"children":2897},{},[2898],{"type":612,"value":2899},"Log Analysis",{"type":612,"value":2901}," 📊: Monitor system health, user behavior",{"type":606,"tag":1374,"props":2903,"children":2904},{},[2905,2910],{"type":606,"tag":1364,"props":2906,"children":2907},{},[2908],{"type":612,"value":2909},"Data Integration",{"type":612,"value":2911}," 🔗: Combine data from multiple sources",{"type":606,"tag":1374,"props":2913,"children":2914},{},[2915,2920],{"type":606,"tag":1364,"props":2916,"children":2917},{},[2918],{"type":612,"value":2919},"API Services",{"type":612,"value":2921}," 🌐: Process requests, return formatted data",{"type":606,"tag":1374,"props":2923,"children":2924},{},[2925,2930],{"type":606,"tag":1364,"props":2926,"children":2927},{},[2928],{"type":612,"value":2929},"Report Generation",{"type":612,"value":2931}," 📈: Transform raw data into insights",{"type":606,"tag":1374,"props":2933,"children":2934},{},[2935,2940],{"type":606,"tag":1364,"props":2936,"children":2937},{},[2938],{"type":612,"value":2939},"File Processing",{"type":612,"value":2941}," 📁: Batch convert, clean, or validate files",{"type":606,"tag":1342,"props":2943,"children":2945},{"id":2944},"processing-tools-reference",[2946],{"type":612,"value":2947},"🧪 Processing Tools Reference",{"type":606,"tag":1535,"props":2949,"children":2950},{},[2951,2972],{"type":606,"tag":1539,"props":2952,"children":2953},{},[2954],{"type":606,"tag":1543,"props":2955,"children":2956},{},[2957,2962,2967],{"type":606,"tag":1547,"props":2958,"children":2959},{},[2960],{"type":612,"value":2961},"Task",{"type":606,"tag":1547,"props":2963,"children":2964},{},[2965],{"type":612,"value":2966},"Built-in Modules",{"type":606,"tag":1547,"props":2968,"children":2969},{},[2970],{"type":612,"value":2971},"Third-party Options",{"type":606,"tag":1563,"props":2973,"children":2974},{},[2975,2994,3012,3036,3066,3092],{"type":606,"tag":1543,"props":2976,"children":2977},{},[2978,2983,2991],{"type":606,"tag":1570,"props":2979,"children":2980},{},[2981],{"type":612,"value":2982},"Regex",{"type":606,"tag":1570,"props":2984,"children":2985},{},[2986],{"type":606,"tag":632,"props":2987,"children":2989},{"className":2988},[],[2990],{"type":612,"value":1693},{"type":606,"tag":1570,"props":2992,"children":2993},{},[],{"type":606,"tag":1543,"props":2995,"children":2996},{},[2997,3001,3009],{"type":606,"tag":1570,"props":2998,"children":2999},{},[3000],{"type":612,"value":1574},{"type":606,"tag":1570,"props":3002,"children":3003},{},[3004],{"type":606,"tag":632,"props":3005,"children":3007},{"className":3006},[],[3008],{"type":612,"value":1588},{"type":606,"tag":1570,"props":3010,"children":3011},{},[],{"type":606,"tag":1543,"props":3013,"children":3014},{},[3015,3019,3027],{"type":606,"tag":1570,"props":3016,"children":3017},{},[3018],{"type":612,"value":1598},{"type":606,"tag":1570,"props":3020,"children":3021},{},[3022],{"type":606,"tag":632,"props":3023,"children":3025},{"className":3024},[],[3026],{"type":612,"value":1612},{"type":606,"tag":1570,"props":3028,"children":3029},{},[3030],{"type":606,"tag":632,"props":3031,"children":3033},{"className":3032},[],[3034],{"type":612,"value":3035},"pandas",{"type":606,"tag":1543,"props":3037,"children":3038},{},[3039,3043,3051],{"type":606,"tag":1570,"props":3040,"children":3041},{},[3042],{"type":612,"value":1621},{"type":606,"tag":1570,"props":3044,"children":3045},{},[3046],{"type":606,"tag":632,"props":3047,"children":3049},{"className":3048},[],[3050],{"type":612,"value":1635},{"type":606,"tag":1570,"props":3052,"children":3053},{},[3054,3059,3060],{"type":606,"tag":632,"props":3055,"children":3057},{"className":3056},[],[3058],{"type":612,"value":1642},{"type":612,"value":1035},{"type":606,"tag":632,"props":3061,"children":3063},{"className":3062},[],[3064],{"type":612,"value":3065},"lxml",{"type":606,"tag":1543,"props":3067,"children":3068},{},[3069,3074,3083],{"type":606,"tag":1570,"props":3070,"children":3071},{},[3072],{"type":612,"value":3073},"HTTP/APIs",{"type":606,"tag":1570,"props":3075,"children":3076},{},[3077],{"type":606,"tag":632,"props":3078,"children":3080},{"className":3079},[],[3081],{"type":612,"value":3082},"urllib",{"type":606,"tag":1570,"props":3084,"children":3085},{},[3086],{"type":606,"tag":632,"props":3087,"children":3089},{"className":3088},[],[3090],{"type":612,"value":3091},"requests",{"type":606,"tag":1543,"props":3093,"children":3094},{},[3095,3100,3108],{"type":606,"tag":1570,"props":3096,"children":3097},{},[3098],{"type":612,"value":3099},"Databases",{"type":606,"tag":1570,"props":3101,"children":3102},{},[3103],{"type":606,"tag":632,"props":3104,"children":3106},{"className":3105},[],[3107],{"type":612,"value":1664},{"type":606,"tag":1570,"props":3109,"children":3110},{},[3111,3116,3117],{"type":606,"tag":632,"props":3112,"children":3114},{"className":3113},[],[3115],{"type":612,"value":1671},{"type":612,"value":1035},{"type":606,"tag":632,"props":3118,"children":3120},{"className":3119},[],[3121],{"type":612,"value":3122},"psycopg2",{"type":606,"tag":1342,"props":3124,"children":3126},{"id":3125},"ready-to-process-data",[3127],{"type":612,"value":3128},"🚀 Ready to Process Data?",{"type":606,"tag":615,"props":3130,"children":3131},{},[3132],{"type":612,"value":3133},"Data processing skills are essential for building real-world applications. Master these techniques to handle various data sources and formats effectively.",{"type":606,"tag":615,"props":3135,"children":3136},{},[3137,3142,3144],{"type":606,"tag":1364,"props":3138,"children":3139},{},[3140],{"type":612,"value":3141},"Start your journey",{"type":612,"value":3143},": Begin with ",{"type":606,"tag":1471,"props":3145,"children":3146},{"href":484},[3147],{"type":612,"value":485},{"type":606,"tag":615,"props":3149,"children":3150},{},[3151],{"type":612,"value":3152},"Transform raw data into valuable insights with Python! 🗄️✨",{"type":606,"tag":3154,"props":3155,"children":3156},"style",{},[3157],{"type":612,"value":3158},"html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .app-dark-mode .shiki span {color: var(--shiki-app-dark-mode);background: var(--shiki-app-dark-mode-bg);font-style: var(--shiki-app-dark-mode-font-style);font-weight: var(--shiki-app-dark-mode-font-weight);text-decoration: var(--shiki-app-dark-mode-text-decoration);}html.app-dark-mode .shiki span {color: var(--shiki-app-dark-mode);background: var(--shiki-app-dark-mode-bg);font-style: var(--shiki-app-dark-mode-font-style);font-weight: var(--shiki-app-dark-mode-font-weight);text-decoration: var(--shiki-app-dark-mode-text-decoration);}",{"title":8,"searchDepth":36,"depth":36,"links":3160},[3161,3162,3163,3167,3168,3169,3170,3171],{"id":1344,"depth":27,"text":1347},{"id":1453,"depth":27,"text":1456},{"id":1523,"depth":27,"text":1526,"children":3164},[3165,3166],{"id":1530,"depth":36,"text":1533},{"id":1698,"depth":36,"text":1701},{"id":1821,"depth":27,"text":1824},{"id":2762,"depth":27,"text":2765},{"id":2870,"depth":27,"text":2873},{"id":2944,"depth":27,"text":2947},{"id":3125,"depth":27,"text":3128},1782373762661]