[{"data":1,"prerenderedAt":8784},["ShallowReactive",2],{"tutorials-pandas":3,"category-items-pandas":387,"content-/pandas/boolean-and-conditional-selection":388},[4,21,31,40,49,58,67,78,87,96,105,116,125,134,143,154,163,172,181,192,201,210,219,228,239,248,257,266,276,285,294,303,313,322,331,341,350,359,369,378],{"_path":5,"_dir":6,"_draft":7,"_partial":7,"_locale":6,"title":8,"description":9,"slug":10,"order":11,"isParent":12,"icon":13,"_type":14,"_id":15,"_source":16,"_file":17,"_stem":18,"_extension":19,"children":20},"/pandas","",false,"Getting Started","Learn the basics of Pandas, Python's powerful data analysis library for working with spreadsheet-like data","getting-started",1,true,"pi pi-play","markdown","content:pandas:1.index.md","content","pandas/1.index.md","pandas/1.index","md",[21,31,40,49,58],{"_path":22,"_dir":23,"_draft":7,"_partial":7,"_locale":6,"title":24,"description":25,"slug":26,"parentId":5,"order":27,"_type":14,"_id":28,"_source":16,"_file":29,"_stem":30,"_extension":19},"/pandas/what-is-pandas","pandas","What is Pandas","Understand what Pandas is, why it's essential for data analysis, and how it makes working with data simple and powerful","what-is-pandas",2,"content:pandas:2.what-is-pandas.md","pandas/2.what-is-pandas.md","pandas/2.what-is-pandas",{"_path":32,"_dir":23,"_draft":7,"_partial":7,"_locale":6,"title":33,"description":34,"slug":35,"parentId":5,"order":36,"_type":14,"_id":37,"_source":16,"_file":38,"_stem":39,"_extension":19},"/pandas/installing-pandas","Installing Pandas","Learn how to install Pandas on your computer and verify it's working properly","installing-pandas",3,"content:pandas:3.installing-pandas.md","pandas/3.installing-pandas.md","pandas/3.installing-pandas",{"_path":41,"_dir":23,"_draft":7,"_partial":7,"_locale":6,"title":42,"description":43,"slug":44,"parentId":5,"order":45,"_type":14,"_id":46,"_source":16,"_file":47,"_stem":48,"_extension":19},"/pandas/your-first-dataframe","Your First DataFrame","Create your first Pandas DataFrame and learn the basics of working with tabular data","your-first-dataframe",4,"content:pandas:4.your-first-dataframe.md","pandas/4.your-first-dataframe.md","pandas/4.your-first-dataframe",{"_path":50,"_dir":23,"_draft":7,"_partial":7,"_locale":6,"title":51,"description":52,"slug":53,"parentId":5,"order":54,"_type":14,"_id":55,"_source":16,"_file":56,"_stem":57,"_extension":19},"/pandas/series-vs-dataframe","Series vs DataFrame","Understand the difference between Pandas Series and DataFrames, and learn when to use each one","series-vs-dataframe",5,"content:pandas:5.series-vs-dataframe.md","pandas/5.series-vs-dataframe.md","pandas/5.series-vs-dataframe",{"_path":59,"_dir":23,"_draft":7,"_partial":7,"_locale":6,"title":60,"description":61,"slug":62,"parentId":5,"order":63,"_type":14,"_id":64,"_source":16,"_file":65,"_stem":66,"_extension":19},"/pandas/basic-dataframe-info","Basic DataFrame Info","Learn how to explore and get basic information about your DataFrames to understand your data","basic-dataframe-info",6,"content:pandas:6.basic-dataframe-info.md","pandas/6.basic-dataframe-info.md","pandas/6.basic-dataframe-info",{"_path":68,"_dir":23,"_draft":7,"_partial":7,"_locale":6,"title":69,"description":70,"slug":71,"order":72,"isParent":12,"icon":73,"_type":14,"_id":74,"_source":16,"_file":75,"_stem":76,"_extension":19,"children":77,"expanded":12},"/pandas/loading-data","Loading Data","Learn how to load data from various sources into Pandas DataFrames","loading-data",7,"pi pi-download","content:pandas:7.loading-data.md","pandas/7.loading-data.md","pandas/7.loading-data",[78,87,96],{"_path":79,"_dir":23,"_draft":7,"_partial":7,"_locale":6,"title":80,"description":81,"slug":82,"parentId":68,"order":83,"_type":14,"_id":84,"_source":16,"_file":85,"_stem":86,"_extension":19},"/pandas/reading-files","Reading Files (CSV, Excel, JSON)","Learn how to load data from CSV, Excel, and JSON files into Pandas DataFrames","reading-files",8,"content:pandas:8.reading-files.md","pandas/8.reading-files.md","pandas/8.reading-files",{"_path":88,"_dir":23,"_draft":7,"_partial":7,"_locale":6,"title":89,"description":90,"slug":91,"parentId":68,"order":92,"_type":14,"_id":93,"_source":16,"_file":94,"_stem":95,"_extension":19},"/pandas/loading-from-databases","Loading from Databases","Learn how to connect to databases and load data directly into Pandas DataFrames","loading-from-databases",9,"content:pandas:9.loading-from-databases.md","pandas/9.loading-from-databases.md","pandas/9.loading-from-databases",{"_path":97,"_dir":23,"_draft":7,"_partial":7,"_locale":6,"title":98,"description":99,"slug":100,"parentId":68,"order":101,"_type":14,"_id":102,"_source":16,"_file":103,"_stem":104,"_extension":19},"/pandas/handling-file-errors","Handling File Errors","Learn how to handle common errors when loading data files and how to troubleshoot loading problems","handling-file-errors",10,"content:pandas:10.handling-file-errors.md","pandas/10.handling-file-errors.md","pandas/10.handling-file-errors",{"_path":106,"_dir":23,"_draft":7,"_partial":7,"_locale":6,"title":107,"description":108,"slug":109,"order":110,"isParent":12,"icon":111,"_type":14,"_id":112,"_source":16,"_file":113,"_stem":114,"_extension":19,"children":115,"expanded":12},"/pandas/data-exploration","Data Exploration","Learn how to explore and understand your data using Pandas methods and techniques","data-exploration",11,"pi pi-search","content:pandas:11.data-exploration.md","pandas/11.data-exploration.md","pandas/11.data-exploration",[116,125,134],{"_path":117,"_dir":23,"_draft":7,"_partial":7,"_locale":6,"title":118,"description":119,"slug":120,"parentId":106,"order":121,"_type":14,"_id":122,"_source":16,"_file":123,"_stem":124,"_extension":19},"/pandas/viewing-your-data","Viewing Your Data","Learn different ways to look at and sample your DataFrame data for exploration and understanding","viewing-your-data",12,"content:pandas:12.viewing-your-data.md","pandas/12.viewing-your-data.md","pandas/12.viewing-your-data",{"_path":126,"_dir":23,"_draft":7,"_partial":7,"_locale":6,"title":127,"description":128,"slug":129,"parentId":106,"order":130,"_type":14,"_id":131,"_source":16,"_file":132,"_stem":133,"_extension":19},"/pandas/data-shape-and-statistics","Data Shape and Statistics","Learn how to understand your DataFrame's size, structure, and get basic statistical summaries","data-shape-and-statistics",13,"content:pandas:13.data-shape-and-statistics.md","pandas/13.data-shape-and-statistics.md","pandas/13.data-shape-and-statistics",{"_path":135,"_dir":23,"_draft":7,"_partial":7,"_locale":6,"title":136,"description":137,"slug":138,"parentId":106,"order":139,"_type":14,"_id":140,"_source":16,"_file":141,"_stem":142,"_extension":19},"/pandas/column-information-and-data-types","Column Information and Data Types","Learn how to explore individual columns and understand different data types in your DataFrames","column-information-and-data-types",14,"content:pandas:14.column-information-and-data-types.md","pandas/14.column-information-and-data-types.md","pandas/14.column-information-and-data-types",{"_path":144,"_dir":23,"_draft":7,"_partial":7,"_locale":6,"title":145,"description":146,"slug":147,"order":148,"isParent":12,"icon":149,"_type":14,"_id":150,"_source":16,"_file":151,"_stem":152,"_extension":19,"children":153,"expanded":12},"/pandas/selecting-data","Selecting Data","Learn how to select specific columns, rows, and subsets of data from your DataFrames","selecting-data",15,"pi pi-filter","content:pandas:15.selecting-data.md","pandas/15.selecting-data.md","pandas/15.selecting-data",[154,163,172],{"_path":155,"_dir":23,"_draft":7,"_partial":7,"_locale":6,"title":156,"description":157,"slug":158,"parentId":144,"order":159,"_type":14,"_id":160,"_source":16,"_file":161,"_stem":162,"_extension":19},"/pandas/selecting-columns-and-rows","Selecting Columns and Rows","Learn how to select specific columns and rows from your DataFrames using basic selection techniques","selecting-columns-and-rows",16,"content:pandas:16.selecting-columns-and-rows.md","pandas/16.selecting-columns-and-rows.md","pandas/16.selecting-columns-and-rows",{"_path":164,"_dir":23,"_draft":7,"_partial":7,"_locale":6,"title":165,"description":166,"slug":167,"parentId":144,"order":168,"_type":14,"_id":169,"_source":16,"_file":170,"_stem":171,"_extension":19},"/pandas/using-loc-and-iloc","Using loc and iloc","Master precise data selection with label-based (loc) and position-based (iloc) indexing in pandas","using-loc-and-iloc",17,"content:pandas:17.using-loc-and-iloc.md","pandas/17.using-loc-and-iloc.md","pandas/17.using-loc-and-iloc",{"_path":173,"_dir":23,"_draft":7,"_partial":7,"_locale":6,"title":174,"description":175,"slug":176,"parentId":144,"order":177,"_type":14,"_id":178,"_source":16,"_file":179,"_stem":180,"_extension":19},"/pandas/boolean-and-conditional-selection","Boolean and Conditional Selection","Learn to filter DataFrames using conditions, boolean logic, and multiple criteria for precise data selection","boolean-and-conditional-selection",18,"content:pandas:18.boolean-and-conditional-selection.md","pandas/18.boolean-and-conditional-selection.md","pandas/18.boolean-and-conditional-selection",{"_path":182,"_dir":23,"_draft":7,"_partial":7,"_locale":6,"title":183,"description":184,"slug":185,"order":186,"isParent":12,"icon":187,"_type":14,"_id":188,"_source":16,"_file":189,"_stem":190,"_extension":19,"children":191},"/pandas/data-cleaning","Data Cleaning","Learn essential data cleaning techniques to prepare messy data for analysis","data-cleaning",19,"pi pi-wrench","content:pandas:19.data-cleaning.md","pandas/19.data-cleaning.md","pandas/19.data-cleaning",[192,201,210,219],{"_path":193,"_dir":23,"_draft":7,"_partial":7,"_locale":6,"title":194,"description":195,"slug":196,"parentId":182,"order":197,"_type":14,"_id":198,"_source":16,"_file":199,"_stem":200,"_extension":19},"/pandas/handling-missing-data","Handling Missing Data","Learn to identify, fill, and remove missing values in your DataFrames effectively","handling-missing-data",20,"content:pandas:20.handling-missing-data.md","pandas/20.handling-missing-data.md","pandas/20.handling-missing-data",{"_path":202,"_dir":23,"_draft":7,"_partial":7,"_locale":6,"title":203,"description":204,"slug":205,"parentId":182,"order":206,"_type":14,"_id":207,"_source":16,"_file":208,"_stem":209,"_extension":19},"/pandas/removing-duplicates","Removing Duplicates","Learn to find and eliminate duplicate rows from your DataFrames to ensure data quality","removing-duplicates",21,"content:pandas:21.removing-duplicates.md","pandas/21.removing-duplicates.md","pandas/21.removing-duplicates",{"_path":211,"_dir":23,"_draft":7,"_partial":7,"_locale":6,"title":212,"description":213,"slug":214,"parentId":182,"order":215,"_type":14,"_id":216,"_source":16,"_file":217,"_stem":218,"_extension":19},"/pandas/data-type-conversion","Data Type Conversion","Learn to convert data to the right types for proper analysis and calculations","data-type-conversion",22,"content:pandas:22.data-type-conversion.md","pandas/22.data-type-conversion.md","pandas/22.data-type-conversion",{"_path":220,"_dir":23,"_draft":7,"_partial":7,"_locale":6,"title":221,"description":222,"slug":223,"parentId":182,"order":224,"_type":14,"_id":225,"_source":16,"_file":226,"_stem":227,"_extension":19},"/pandas/string-cleaning-operations","String Cleaning Operations","Learn to clean and standardize text data for consistent analysis using pandas string methods","string-cleaning-operations",23,"content:pandas:23.string-cleaning-operations.md","pandas/23.string-cleaning-operations.md","pandas/23.string-cleaning-operations",{"_path":229,"_dir":23,"_draft":7,"_partial":7,"_locale":6,"title":230,"description":231,"slug":232,"order":233,"isParent":12,"icon":234,"_type":14,"_id":235,"_source":16,"_file":236,"_stem":237,"_extension":19,"children":238},"/pandas/data-transformation","Data Transformation","Learn how to modify, add, and transform data in your DataFrames for analysis","data-transformation",24,"pi pi-folder","content:pandas:24.data-transformation.md","pandas/24.data-transformation.md","pandas/24.data-transformation",[239,248,257],{"_path":240,"_dir":23,"_draft":7,"_partial":7,"_locale":6,"title":241,"description":242,"slug":243,"parentId":229,"order":244,"_type":14,"_id":245,"_source":16,"_file":246,"_stem":247,"_extension":19},"/pandas/adding-and-modifying-columns","Adding and Modifying Columns","Learn how to create new columns and update existing ones with calculations and conditional logic","adding-and-modifying-columns",25,"content:pandas:25.adding-and-modifying-columns.md","pandas/25.adding-and-modifying-columns.md","pandas/25.adding-and-modifying-columns",{"_path":249,"_dir":23,"_draft":7,"_partial":7,"_locale":6,"title":250,"description":251,"slug":252,"parentId":229,"order":253,"_type":14,"_id":254,"_source":16,"_file":255,"_stem":256,"_extension":19},"/pandas/applying-functions","Applying Functions","Use built-in and custom functions to transform your data efficiently","applying-functions",26,"content:pandas:26.applying-functions.md","pandas/26.applying-functions.md","pandas/26.applying-functions",{"_path":258,"_dir":23,"_draft":7,"_partial":7,"_locale":6,"title":259,"description":260,"slug":261,"parentId":229,"order":262,"_type":14,"_id":263,"_source":16,"_file":264,"_stem":265,"_extension":19},"/pandas/renaming-and-sorting-data","Renaming and Sorting Data","Organize your DataFrame with better column names and logical data ordering","renaming-and-sorting-data",27,"content:pandas:27.renaming-and-sorting-data.md","pandas/27.renaming-and-sorting-data.md","pandas/27.renaming-and-sorting-data",{"_path":267,"_dir":23,"_draft":7,"_partial":7,"_locale":6,"title":268,"description":269,"slug":270,"order":271,"isParent":12,"icon":234,"_type":14,"_id":272,"_source":16,"_file":273,"_stem":274,"_extension":19,"children":275},"/pandas/grouping-and-aggregation","Grouping and Aggregation","Learn to group data and calculate summary statistics for powerful data analysis","grouping-and-aggregation",28,"content:pandas:28.grouping-and-aggregation.md","pandas/28.grouping-and-aggregation.md","pandas/28.grouping-and-aggregation",[276,285,294],{"_path":277,"_dir":23,"_draft":7,"_partial":7,"_locale":6,"title":278,"description":279,"slug":280,"parentId":267,"order":281,"_type":14,"_id":282,"_source":16,"_file":283,"_stem":284,"_extension":19},"/pandas/groupby-operations","GroupBy Operations","Learn the fundamentals of splitting data into groups and basic aggregations","groupby-operations",29,"content:pandas:29.groupby-operations.md","pandas/29.groupby-operations.md","pandas/29.groupby-operations",{"_path":286,"_dir":23,"_draft":7,"_partial":7,"_locale":6,"title":287,"description":288,"slug":289,"parentId":267,"order":290,"_type":14,"_id":291,"_source":16,"_file":292,"_stem":293,"_extension":19},"/pandas/aggregation-functions","Aggregation Functions","Explore different ways to summarize your grouped data with built-in and custom functions","aggregation-functions",30,"content:pandas:30.aggregation-functions.md","pandas/30.aggregation-functions.md","pandas/30.aggregation-functions",{"_path":295,"_dir":23,"_draft":7,"_partial":7,"_locale":6,"title":296,"description":297,"slug":298,"parentId":267,"order":299,"_type":14,"_id":300,"_source":16,"_file":301,"_stem":302,"_extension":19},"/pandas/pivot-tables-and-cross-tabulation","Pivot Tables and Cross Tabulation","Create powerful summary tables and cross-tabulations for analysis","pivot-tables-and-cross-tabulation",31,"content:pandas:31.pivot-tables-and-cross-tabulation.md","pandas/31.pivot-tables-and-cross-tabulation.md","pandas/31.pivot-tables-and-cross-tabulation",{"_path":304,"_dir":23,"_draft":7,"_partial":7,"_locale":6,"title":305,"description":306,"slug":307,"order":308,"isParent":12,"icon":234,"_type":14,"_id":309,"_source":16,"_file":310,"_stem":311,"_extension":19,"children":312},"/pandas/combining-data","Combining Data","Learn to combine data from multiple DataFrames for comprehensive analysis","combining-data",32,"content:pandas:32.combining-data.md","pandas/32.combining-data.md","pandas/32.combining-data",[313,322],{"_path":314,"_dir":23,"_draft":7,"_partial":7,"_locale":6,"title":315,"description":316,"slug":317,"parentId":304,"order":318,"_type":14,"_id":319,"_source":16,"_file":320,"_stem":321,"_extension":19},"/pandas/concatenating-dataframes","Concatenating DataFrames","Learn to stack DataFrames vertically and horizontally for simple data combination","concatenating-dataframes",33,"content:pandas:33.concatenating-dataframes.md","pandas/33.concatenating-dataframes.md","pandas/33.concatenating-dataframes",{"_path":323,"_dir":23,"_draft":7,"_partial":7,"_locale":6,"title":324,"description":325,"slug":326,"parentId":304,"order":327,"_type":14,"_id":328,"_source":16,"_file":329,"_stem":330,"_extension":19},"/pandas/merging-and-join-operations","Merging and Join Operations","Master different types of joins to combine related data from multiple sources","merging-and-join-operations",34,"content:pandas:34.merging-and-join-operations.md","pandas/34.merging-and-join-operations.md","pandas/34.merging-and-join-operations",{"_path":332,"_dir":23,"_draft":7,"_partial":7,"_locale":6,"title":333,"description":334,"slug":335,"order":336,"isParent":12,"icon":234,"_type":14,"_id":337,"_source":16,"_file":338,"_stem":339,"_extension":19,"children":340},"/pandas/working-with-dates","Working with Dates","Master date and time operations for time-based analysis and reporting","working-with-dates",35,"content:pandas:35.working-with-dates.md","pandas/35.working-with-dates.md","pandas/35.working-with-dates",[341,350],{"_path":342,"_dir":23,"_draft":7,"_partial":7,"_locale":6,"title":343,"description":344,"slug":345,"parentId":332,"order":346,"_type":14,"_id":347,"_source":16,"_file":348,"_stem":349,"_extension":19},"/pandas/datetime-operations","DateTime Operations","Learn to convert, manipulate, and extract information from dates and times","datetime-operations",36,"content:pandas:36.datetime-operations.md","pandas/36.datetime-operations.md","pandas/36.datetime-operations",{"_path":351,"_dir":23,"_draft":7,"_partial":7,"_locale":6,"title":352,"description":353,"slug":354,"parentId":332,"order":355,"_type":14,"_id":356,"_source":16,"_file":357,"_stem":358,"_extension":19},"/pandas/time-series-and-resampling","Time Series and Resampling","Discover how to analyze data over time periods and aggregate by different time intervals","time-series-and-resampling",37,"content:pandas:37.time-series-and-resampling.md","pandas/37.time-series-and-resampling.md","pandas/37.time-series-and-resampling",{"_path":360,"_dir":23,"_draft":7,"_partial":7,"_locale":6,"title":361,"description":362,"slug":363,"order":364,"isParent":12,"icon":234,"_type":14,"_id":365,"_source":16,"_file":366,"_stem":367,"_extension":19,"children":368},"/pandas/saving-your-work","Saving Your Work","Learn to export your analyzed data to different formats for sharing and reporting","saving-your-work",38,"content:pandas:38.saving-your-work.md","pandas/38.saving-your-work.md","pandas/38.saving-your-work",[369,378],{"_path":370,"_dir":23,"_draft":7,"_partial":7,"_locale":6,"title":371,"description":372,"slug":373,"parentId":360,"order":374,"_type":14,"_id":375,"_source":16,"_file":376,"_stem":377,"_extension":19},"/pandas/exporting-data","Exporting Data (CSV, Excel, JSON)","Learn to save your DataFrames to common file formats for sharing and reporting","exporting-data",39,"content:pandas:39.exporting-data.md","pandas/39.exporting-data.md","pandas/39.exporting-data",{"_path":379,"_dir":23,"_draft":7,"_partial":7,"_locale":6,"title":380,"description":381,"slug":382,"parentId":360,"order":383,"_type":14,"_id":384,"_source":16,"_file":385,"_stem":386,"_extension":19},"/pandas/database-export","Database Export","Discover how to save data back to databases for integration with other systems","database-export",40,"content:pandas:40.database-export.md","pandas/40.database-export.md","pandas/40.database-export",[172],{"_path":173,"_dir":23,"_draft":7,"_partial":7,"_locale":6,"title":174,"description":175,"slug":176,"parentId":144,"order":177,"body":389,"_type":14,"_id":178,"_source":16,"_file":179,"_stem":180,"_extension":19},{"type":390,"children":391,"toc":8771},"root",[392,400,406,511,518,523,1230,1236,1241,1428,2110,2116,2137,2245,3122,3128,3133,3928,3934,3939,4705,4711,4716,5751,5757,5762,6665,6671,6676,6850,7381,7387,7683,7689,7694,8734,8740,8745,8760,8765],{"type":393,"tag":394,"props":395,"children":396},"element","h1",{"id":176},[397],{"type":398,"value":399},"text","✅ Boolean and Conditional Selection",{"type":393,"tag":401,"props":402,"children":403},"p",{},[404],{"type":398,"value":405},"Boolean selection is like having a smart filter that shows you only the data that meets your conditions. It's the difference between \"show me all customers\" and \"show me customers who spent more than $1000 and live in New York.\"",{"type":393,"tag":407,"props":408,"children":412},"info-box",{"emoji":409,"title":410,"type":411},"✅","What Is Boolean Selection?","info",[413,422,430,468,476,495],{"type":393,"tag":401,"props":414,"children":415},{},[416],{"type":393,"tag":417,"props":418,"children":419},"strong",{},[420],{"type":398,"value":421},"Boolean Selection = Filtering with True/False Questions",{"type":393,"tag":401,"props":423,"children":424},{},[425],{"type":393,"tag":417,"props":426,"children":427},{},[428],{"type":398,"value":429},"How it works:",{"type":393,"tag":431,"props":432,"children":433},"ol",{},[434,447,452,463],{"type":393,"tag":435,"props":436,"children":437},"li",{},[438,440],{"type":398,"value":439},"Create a condition: ",{"type":393,"tag":441,"props":442,"children":444},"code",{"className":443},[],[445],{"type":398,"value":446},"df['age'] > 30",{"type":393,"tag":435,"props":448,"children":449},{},[450],{"type":398,"value":451},"This creates True/False for each row",{"type":393,"tag":435,"props":453,"children":454},{},[455,457],{"type":398,"value":456},"Use it to filter: ",{"type":393,"tag":441,"props":458,"children":460},{"className":459},[],[461],{"type":398,"value":462},"df[df['age'] > 30]",{"type":393,"tag":435,"props":464,"children":465},{},[466],{"type":398,"value":467},"Get only rows where condition is True",{"type":393,"tag":401,"props":469,"children":470},{},[471],{"type":393,"tag":417,"props":472,"children":473},{},[474],{"type":398,"value":475},"Think of it like:",{"type":393,"tag":477,"props":478,"children":479},"ul",{},[480,485,490],{"type":393,"tag":435,"props":481,"children":482},{},[483],{"type":398,"value":484},"A bouncer checking IDs: \"Is this person over 21?\" (True/False)",{"type":393,"tag":435,"props":486,"children":487},{},[488],{"type":398,"value":489},"A search filter: \"Does this product cost less than $50?\" (True/False)",{"type":393,"tag":435,"props":491,"children":492},{},[493],{"type":398,"value":494},"Only True results get through!",{"type":393,"tag":401,"props":496,"children":497},{},[498,503,505],{"type":393,"tag":417,"props":499,"children":500},{},[501],{"type":398,"value":502},"Basic syntax:",{"type":398,"value":504}," ",{"type":393,"tag":441,"props":506,"children":508},{"className":507},[],[509],{"type":398,"value":510},"df[condition]",{"type":393,"tag":512,"props":513,"children":515},"h2",{"id":514},"simple-conditions",[516],{"type":398,"value":517},"🎯 Simple Conditions",{"type":393,"tag":401,"props":519,"children":520},{},[521],{"type":398,"value":522},"Start with basic True/False questions about your data:",{"type":393,"tag":524,"props":525,"children":526},"code-try",{},[527],{"type":393,"tag":528,"props":529,"children":533},"pre",{"className":530,"code":531,"language":532,"meta":6,"style":6},"language-python shiki shiki-themes github-light github-dark","import pandas as pd\n\n# Student data\nstudents = pd.DataFrame({\n    'name': ['Alice', 'Bob', 'Charlie', 'Diana', 'Eve'],\n    'age': [20, 22, 19, 21, 23],\n    'grade': ['A', 'B', 'A', 'C', 'B'],\n    'score': [95, 82, 88, 76, 85]\n})\n\nprint(\"Student Data:\")\nprint(students)\nprint()\n\nprint(\"✅ Simple Conditions:\")\nprint()\n\n# Students over 20\nprint(\"1️⃣ Students over 20:\")\nolder_students = students[students['age'] > 20]\nprint(older_students)\nprint()\n\n# Grade A students\nprint(\"2️⃣ Grade A students:\")\na_students = students[students['grade'] == 'A']\nprint(a_students)\nprint()\n\n# High scores (>85)\nprint(\"3️⃣ High scorers (>85):\")\nhigh_scorers = students[students['score'] > 85]\nprint(high_scorers[['name', 'score']])\n","python",[534],{"type":393,"tag":441,"props":535,"children":536},{"__ignoreMap":6},[537,564,572,581,599,660,718,773,831,839,846,869,881,893,900,920,931,938,946,966,1007,1019,1030,1037,1045,1065,1104,1116,1127,1134,1142,1162,1200],{"type":393,"tag":538,"props":539,"children":541},"span",{"class":540,"line":11},"line",[542,548,554,559],{"type":393,"tag":538,"props":543,"children":545},{"style":544},"--shiki-default:#D73A49;--shiki-app-dark-mode:#F97583",[546],{"type":398,"value":547},"import",{"type":393,"tag":538,"props":549,"children":551},{"style":550},"--shiki-default:#24292E;--shiki-app-dark-mode:#E1E4E8",[552],{"type":398,"value":553}," pandas ",{"type":393,"tag":538,"props":555,"children":556},{"style":544},[557],{"type":398,"value":558},"as",{"type":393,"tag":538,"props":560,"children":561},{"style":550},[562],{"type":398,"value":563}," pd\n",{"type":393,"tag":538,"props":565,"children":566},{"class":540,"line":27},[567],{"type":393,"tag":538,"props":568,"children":569},{"emptyLinePlaceholder":12},[570],{"type":398,"value":571},"\n",{"type":393,"tag":538,"props":573,"children":574},{"class":540,"line":36},[575],{"type":393,"tag":538,"props":576,"children":578},{"style":577},"--shiki-default:#6A737D;--shiki-app-dark-mode:#6A737D",[579],{"type":398,"value":580},"# Student data\n",{"type":393,"tag":538,"props":582,"children":583},{"class":540,"line":45},[584,589,594],{"type":393,"tag":538,"props":585,"children":586},{"style":550},[587],{"type":398,"value":588},"students ",{"type":393,"tag":538,"props":590,"children":591},{"style":544},[592],{"type":398,"value":593},"=",{"type":393,"tag":538,"props":595,"children":596},{"style":550},[597],{"type":398,"value":598}," pd.DataFrame({\n",{"type":393,"tag":538,"props":600,"children":601},{"class":540,"line":54},[602,608,613,618,623,628,632,637,641,646,650,655],{"type":393,"tag":538,"props":603,"children":605},{"style":604},"--shiki-default:#032F62;--shiki-app-dark-mode:#9ECBFF",[606],{"type":398,"value":607},"    'name'",{"type":393,"tag":538,"props":609,"children":610},{"style":550},[611],{"type":398,"value":612},": [",{"type":393,"tag":538,"props":614,"children":615},{"style":604},[616],{"type":398,"value":617},"'Alice'",{"type":393,"tag":538,"props":619,"children":620},{"style":550},[621],{"type":398,"value":622},", ",{"type":393,"tag":538,"props":624,"children":625},{"style":604},[626],{"type":398,"value":627},"'Bob'",{"type":393,"tag":538,"props":629,"children":630},{"style":550},[631],{"type":398,"value":622},{"type":393,"tag":538,"props":633,"children":634},{"style":604},[635],{"type":398,"value":636},"'Charlie'",{"type":393,"tag":538,"props":638,"children":639},{"style":550},[640],{"type":398,"value":622},{"type":393,"tag":538,"props":642,"children":643},{"style":604},[644],{"type":398,"value":645},"'Diana'",{"type":393,"tag":538,"props":647,"children":648},{"style":550},[649],{"type":398,"value":622},{"type":393,"tag":538,"props":651,"children":652},{"style":604},[653],{"type":398,"value":654},"'Eve'",{"type":393,"tag":538,"props":656,"children":657},{"style":550},[658],{"type":398,"value":659},"],\n",{"type":393,"tag":538,"props":661,"children":662},{"class":540,"line":63},[663,668,672,678,682,687,691,696,700,705,709,714],{"type":393,"tag":538,"props":664,"children":665},{"style":604},[666],{"type":398,"value":667},"    'age'",{"type":393,"tag":538,"props":669,"children":670},{"style":550},[671],{"type":398,"value":612},{"type":393,"tag":538,"props":673,"children":675},{"style":674},"--shiki-default:#005CC5;--shiki-app-dark-mode:#79B8FF",[676],{"type":398,"value":677},"20",{"type":393,"tag":538,"props":679,"children":680},{"style":550},[681],{"type":398,"value":622},{"type":393,"tag":538,"props":683,"children":684},{"style":674},[685],{"type":398,"value":686},"22",{"type":393,"tag":538,"props":688,"children":689},{"style":550},[690],{"type":398,"value":622},{"type":393,"tag":538,"props":692,"children":693},{"style":674},[694],{"type":398,"value":695},"19",{"type":393,"tag":538,"props":697,"children":698},{"style":550},[699],{"type":398,"value":622},{"type":393,"tag":538,"props":701,"children":702},{"style":674},[703],{"type":398,"value":704},"21",{"type":393,"tag":538,"props":706,"children":707},{"style":550},[708],{"type":398,"value":622},{"type":393,"tag":538,"props":710,"children":711},{"style":674},[712],{"type":398,"value":713},"23",{"type":393,"tag":538,"props":715,"children":716},{"style":550},[717],{"type":398,"value":659},{"type":393,"tag":538,"props":719,"children":720},{"class":540,"line":72},[721,726,730,735,739,744,748,752,756,761,765,769],{"type":393,"tag":538,"props":722,"children":723},{"style":604},[724],{"type":398,"value":725},"    'grade'",{"type":393,"tag":538,"props":727,"children":728},{"style":550},[729],{"type":398,"value":612},{"type":393,"tag":538,"props":731,"children":732},{"style":604},[733],{"type":398,"value":734},"'A'",{"type":393,"tag":538,"props":736,"children":737},{"style":550},[738],{"type":398,"value":622},{"type":393,"tag":538,"props":740,"children":741},{"style":604},[742],{"type":398,"value":743},"'B'",{"type":393,"tag":538,"props":745,"children":746},{"style":550},[747],{"type":398,"value":622},{"type":393,"tag":538,"props":749,"children":750},{"style":604},[751],{"type":398,"value":734},{"type":393,"tag":538,"props":753,"children":754},{"style":550},[755],{"type":398,"value":622},{"type":393,"tag":538,"props":757,"children":758},{"style":604},[759],{"type":398,"value":760},"'C'",{"type":393,"tag":538,"props":762,"children":763},{"style":550},[764],{"type":398,"value":622},{"type":393,"tag":538,"props":766,"children":767},{"style":604},[768],{"type":398,"value":743},{"type":393,"tag":538,"props":770,"children":771},{"style":550},[772],{"type":398,"value":659},{"type":393,"tag":538,"props":774,"children":775},{"class":540,"line":83},[776,781,785,790,794,799,803,808,812,817,821,826],{"type":393,"tag":538,"props":777,"children":778},{"style":604},[779],{"type":398,"value":780},"    'score'",{"type":393,"tag":538,"props":782,"children":783},{"style":550},[784],{"type":398,"value":612},{"type":393,"tag":538,"props":786,"children":787},{"style":674},[788],{"type":398,"value":789},"95",{"type":393,"tag":538,"props":791,"children":792},{"style":550},[793],{"type":398,"value":622},{"type":393,"tag":538,"props":795,"children":796},{"style":674},[797],{"type":398,"value":798},"82",{"type":393,"tag":538,"props":800,"children":801},{"style":550},[802],{"type":398,"value":622},{"type":393,"tag":538,"props":804,"children":805},{"style":674},[806],{"type":398,"value":807},"88",{"type":393,"tag":538,"props":809,"children":810},{"style":550},[811],{"type":398,"value":622},{"type":393,"tag":538,"props":813,"children":814},{"style":674},[815],{"type":398,"value":816},"76",{"type":393,"tag":538,"props":818,"children":819},{"style":550},[820],{"type":398,"value":622},{"type":393,"tag":538,"props":822,"children":823},{"style":674},[824],{"type":398,"value":825},"85",{"type":393,"tag":538,"props":827,"children":828},{"style":550},[829],{"type":398,"value":830},"]\n",{"type":393,"tag":538,"props":832,"children":833},{"class":540,"line":92},[834],{"type":393,"tag":538,"props":835,"children":836},{"style":550},[837],{"type":398,"value":838},"})\n",{"type":393,"tag":538,"props":840,"children":841},{"class":540,"line":101},[842],{"type":393,"tag":538,"props":843,"children":844},{"emptyLinePlaceholder":12},[845],{"type":398,"value":571},{"type":393,"tag":538,"props":847,"children":848},{"class":540,"line":110},[849,854,859,864],{"type":393,"tag":538,"props":850,"children":851},{"style":674},[852],{"type":398,"value":853},"print",{"type":393,"tag":538,"props":855,"children":856},{"style":550},[857],{"type":398,"value":858},"(",{"type":393,"tag":538,"props":860,"children":861},{"style":604},[862],{"type":398,"value":863},"\"Student Data:\"",{"type":393,"tag":538,"props":865,"children":866},{"style":550},[867],{"type":398,"value":868},")\n",{"type":393,"tag":538,"props":870,"children":871},{"class":540,"line":121},[872,876],{"type":393,"tag":538,"props":873,"children":874},{"style":674},[875],{"type":398,"value":853},{"type":393,"tag":538,"props":877,"children":878},{"style":550},[879],{"type":398,"value":880},"(students)\n",{"type":393,"tag":538,"props":882,"children":883},{"class":540,"line":130},[884,888],{"type":393,"tag":538,"props":885,"children":886},{"style":674},[887],{"type":398,"value":853},{"type":393,"tag":538,"props":889,"children":890},{"style":550},[891],{"type":398,"value":892},"()\n",{"type":393,"tag":538,"props":894,"children":895},{"class":540,"line":139},[896],{"type":393,"tag":538,"props":897,"children":898},{"emptyLinePlaceholder":12},[899],{"type":398,"value":571},{"type":393,"tag":538,"props":901,"children":902},{"class":540,"line":148},[903,907,911,916],{"type":393,"tag":538,"props":904,"children":905},{"style":674},[906],{"type":398,"value":853},{"type":393,"tag":538,"props":908,"children":909},{"style":550},[910],{"type":398,"value":858},{"type":393,"tag":538,"props":912,"children":913},{"style":604},[914],{"type":398,"value":915},"\"✅ Simple Conditions:\"",{"type":393,"tag":538,"props":917,"children":918},{"style":550},[919],{"type":398,"value":868},{"type":393,"tag":538,"props":921,"children":922},{"class":540,"line":159},[923,927],{"type":393,"tag":538,"props":924,"children":925},{"style":674},[926],{"type":398,"value":853},{"type":393,"tag":538,"props":928,"children":929},{"style":550},[930],{"type":398,"value":892},{"type":393,"tag":538,"props":932,"children":933},{"class":540,"line":168},[934],{"type":393,"tag":538,"props":935,"children":936},{"emptyLinePlaceholder":12},[937],{"type":398,"value":571},{"type":393,"tag":538,"props":939,"children":940},{"class":540,"line":177},[941],{"type":393,"tag":538,"props":942,"children":943},{"style":577},[944],{"type":398,"value":945},"# Students over 20\n",{"type":393,"tag":538,"props":947,"children":948},{"class":540,"line":186},[949,953,957,962],{"type":393,"tag":538,"props":950,"children":951},{"style":674},[952],{"type":398,"value":853},{"type":393,"tag":538,"props":954,"children":955},{"style":550},[956],{"type":398,"value":858},{"type":393,"tag":538,"props":958,"children":959},{"style":604},[960],{"type":398,"value":961},"\"1️⃣ Students over 20:\"",{"type":393,"tag":538,"props":963,"children":964},{"style":550},[965],{"type":398,"value":868},{"type":393,"tag":538,"props":967,"children":968},{"class":540,"line":197},[969,974,978,983,988,993,998,1003],{"type":393,"tag":538,"props":970,"children":971},{"style":550},[972],{"type":398,"value":973},"older_students ",{"type":393,"tag":538,"props":975,"children":976},{"style":544},[977],{"type":398,"value":593},{"type":393,"tag":538,"props":979,"children":980},{"style":550},[981],{"type":398,"value":982}," students[students[",{"type":393,"tag":538,"props":984,"children":985},{"style":604},[986],{"type":398,"value":987},"'age'",{"type":393,"tag":538,"props":989,"children":990},{"style":550},[991],{"type":398,"value":992},"] ",{"type":393,"tag":538,"props":994,"children":995},{"style":544},[996],{"type":398,"value":997},">",{"type":393,"tag":538,"props":999,"children":1000},{"style":674},[1001],{"type":398,"value":1002}," 20",{"type":393,"tag":538,"props":1004,"children":1005},{"style":550},[1006],{"type":398,"value":830},{"type":393,"tag":538,"props":1008,"children":1009},{"class":540,"line":206},[1010,1014],{"type":393,"tag":538,"props":1011,"children":1012},{"style":674},[1013],{"type":398,"value":853},{"type":393,"tag":538,"props":1015,"children":1016},{"style":550},[1017],{"type":398,"value":1018},"(older_students)\n",{"type":393,"tag":538,"props":1020,"children":1021},{"class":540,"line":215},[1022,1026],{"type":393,"tag":538,"props":1023,"children":1024},{"style":674},[1025],{"type":398,"value":853},{"type":393,"tag":538,"props":1027,"children":1028},{"style":550},[1029],{"type":398,"value":892},{"type":393,"tag":538,"props":1031,"children":1032},{"class":540,"line":224},[1033],{"type":393,"tag":538,"props":1034,"children":1035},{"emptyLinePlaceholder":12},[1036],{"type":398,"value":571},{"type":393,"tag":538,"props":1038,"children":1039},{"class":540,"line":233},[1040],{"type":393,"tag":538,"props":1041,"children":1042},{"style":577},[1043],{"type":398,"value":1044},"# Grade A students\n",{"type":393,"tag":538,"props":1046,"children":1047},{"class":540,"line":244},[1048,1052,1056,1061],{"type":393,"tag":538,"props":1049,"children":1050},{"style":674},[1051],{"type":398,"value":853},{"type":393,"tag":538,"props":1053,"children":1054},{"style":550},[1055],{"type":398,"value":858},{"type":393,"tag":538,"props":1057,"children":1058},{"style":604},[1059],{"type":398,"value":1060},"\"2️⃣ Grade A students:\"",{"type":393,"tag":538,"props":1062,"children":1063},{"style":550},[1064],{"type":398,"value":868},{"type":393,"tag":538,"props":1066,"children":1067},{"class":540,"line":253},[1068,1073,1077,1081,1086,1090,1095,1100],{"type":393,"tag":538,"props":1069,"children":1070},{"style":550},[1071],{"type":398,"value":1072},"a_students ",{"type":393,"tag":538,"props":1074,"children":1075},{"style":544},[1076],{"type":398,"value":593},{"type":393,"tag":538,"props":1078,"children":1079},{"style":550},[1080],{"type":398,"value":982},{"type":393,"tag":538,"props":1082,"children":1083},{"style":604},[1084],{"type":398,"value":1085},"'grade'",{"type":393,"tag":538,"props":1087,"children":1088},{"style":550},[1089],{"type":398,"value":992},{"type":393,"tag":538,"props":1091,"children":1092},{"style":544},[1093],{"type":398,"value":1094},"==",{"type":393,"tag":538,"props":1096,"children":1097},{"style":604},[1098],{"type":398,"value":1099}," 'A'",{"type":393,"tag":538,"props":1101,"children":1102},{"style":550},[1103],{"type":398,"value":830},{"type":393,"tag":538,"props":1105,"children":1106},{"class":540,"line":262},[1107,1111],{"type":393,"tag":538,"props":1108,"children":1109},{"style":674},[1110],{"type":398,"value":853},{"type":393,"tag":538,"props":1112,"children":1113},{"style":550},[1114],{"type":398,"value":1115},"(a_students)\n",{"type":393,"tag":538,"props":1117,"children":1118},{"class":540,"line":271},[1119,1123],{"type":393,"tag":538,"props":1120,"children":1121},{"style":674},[1122],{"type":398,"value":853},{"type":393,"tag":538,"props":1124,"children":1125},{"style":550},[1126],{"type":398,"value":892},{"type":393,"tag":538,"props":1128,"children":1129},{"class":540,"line":281},[1130],{"type":393,"tag":538,"props":1131,"children":1132},{"emptyLinePlaceholder":12},[1133],{"type":398,"value":571},{"type":393,"tag":538,"props":1135,"children":1136},{"class":540,"line":290},[1137],{"type":393,"tag":538,"props":1138,"children":1139},{"style":577},[1140],{"type":398,"value":1141},"# High scores (>85)\n",{"type":393,"tag":538,"props":1143,"children":1144},{"class":540,"line":299},[1145,1149,1153,1158],{"type":393,"tag":538,"props":1146,"children":1147},{"style":674},[1148],{"type":398,"value":853},{"type":393,"tag":538,"props":1150,"children":1151},{"style":550},[1152],{"type":398,"value":858},{"type":393,"tag":538,"props":1154,"children":1155},{"style":604},[1156],{"type":398,"value":1157},"\"3️⃣ High scorers (>85):\"",{"type":393,"tag":538,"props":1159,"children":1160},{"style":550},[1161],{"type":398,"value":868},{"type":393,"tag":538,"props":1163,"children":1164},{"class":540,"line":308},[1165,1170,1174,1178,1183,1187,1191,1196],{"type":393,"tag":538,"props":1166,"children":1167},{"style":550},[1168],{"type":398,"value":1169},"high_scorers ",{"type":393,"tag":538,"props":1171,"children":1172},{"style":544},[1173],{"type":398,"value":593},{"type":393,"tag":538,"props":1175,"children":1176},{"style":550},[1177],{"type":398,"value":982},{"type":393,"tag":538,"props":1179,"children":1180},{"style":604},[1181],{"type":398,"value":1182},"'score'",{"type":393,"tag":538,"props":1184,"children":1185},{"style":550},[1186],{"type":398,"value":992},{"type":393,"tag":538,"props":1188,"children":1189},{"style":544},[1190],{"type":398,"value":997},{"type":393,"tag":538,"props":1192,"children":1193},{"style":674},[1194],{"type":398,"value":1195}," 85",{"type":393,"tag":538,"props":1197,"children":1198},{"style":550},[1199],{"type":398,"value":830},{"type":393,"tag":538,"props":1201,"children":1202},{"class":540,"line":318},[1203,1207,1212,1217,1221,1225],{"type":393,"tag":538,"props":1204,"children":1205},{"style":674},[1206],{"type":398,"value":853},{"type":393,"tag":538,"props":1208,"children":1209},{"style":550},[1210],{"type":398,"value":1211},"(high_scorers[[",{"type":393,"tag":538,"props":1213,"children":1214},{"style":604},[1215],{"type":398,"value":1216},"'name'",{"type":393,"tag":538,"props":1218,"children":1219},{"style":550},[1220],{"type":398,"value":622},{"type":393,"tag":538,"props":1222,"children":1223},{"style":604},[1224],{"type":398,"value":1182},{"type":393,"tag":538,"props":1226,"children":1227},{"style":550},[1228],{"type":398,"value":1229},"]])\n",{"type":393,"tag":512,"props":1231,"children":1233},{"id":1232},"comparison-operators",[1234],{"type":398,"value":1235},"📊 Comparison Operators",{"type":393,"tag":401,"props":1237,"children":1238},{},[1239],{"type":398,"value":1240},"Different ways to ask True/False questions:",{"type":393,"tag":1242,"props":1243,"children":1244},"table",{},[1245,1269],{"type":393,"tag":1246,"props":1247,"children":1248},"thead",{},[1249],{"type":393,"tag":1250,"props":1251,"children":1252},"tr",{},[1253,1259,1264],{"type":393,"tag":1254,"props":1255,"children":1256},"th",{},[1257],{"type":398,"value":1258},"Operator",{"type":393,"tag":1254,"props":1260,"children":1261},{},[1262],{"type":398,"value":1263},"Meaning",{"type":393,"tag":1254,"props":1265,"children":1266},{},[1267],{"type":398,"value":1268},"Example",{"type":393,"tag":1270,"props":1271,"children":1272},"tbody",{},[1273,1299,1325,1350,1376,1402],{"type":393,"tag":1250,"props":1274,"children":1275},{},[1276,1285,1290],{"type":393,"tag":1277,"props":1278,"children":1279},"td",{},[1280],{"type":393,"tag":441,"props":1281,"children":1283},{"className":1282},[],[1284],{"type":398,"value":1094},{"type":393,"tag":1277,"props":1286,"children":1287},{},[1288],{"type":398,"value":1289},"Equal to",{"type":393,"tag":1277,"props":1291,"children":1292},{},[1293],{"type":393,"tag":441,"props":1294,"children":1296},{"className":1295},[],[1297],{"type":398,"value":1298},"df['grade'] == 'A'",{"type":393,"tag":1250,"props":1300,"children":1301},{},[1302,1311,1316],{"type":393,"tag":1277,"props":1303,"children":1304},{},[1305],{"type":393,"tag":441,"props":1306,"children":1308},{"className":1307},[],[1309],{"type":398,"value":1310},"!=",{"type":393,"tag":1277,"props":1312,"children":1313},{},[1314],{"type":398,"value":1315},"Not equal to",{"type":393,"tag":1277,"props":1317,"children":1318},{},[1319],{"type":393,"tag":441,"props":1320,"children":1322},{"className":1321},[],[1323],{"type":398,"value":1324},"df['grade'] != 'F'",{"type":393,"tag":1250,"props":1326,"children":1327},{},[1328,1336,1341],{"type":393,"tag":1277,"props":1329,"children":1330},{},[1331],{"type":393,"tag":441,"props":1332,"children":1334},{"className":1333},[],[1335],{"type":398,"value":997},{"type":393,"tag":1277,"props":1337,"children":1338},{},[1339],{"type":398,"value":1340},"Greater than",{"type":393,"tag":1277,"props":1342,"children":1343},{},[1344],{"type":393,"tag":441,"props":1345,"children":1347},{"className":1346},[],[1348],{"type":398,"value":1349},"df['age'] > 18",{"type":393,"tag":1250,"props":1351,"children":1352},{},[1353,1362,1367],{"type":393,"tag":1277,"props":1354,"children":1355},{},[1356],{"type":393,"tag":441,"props":1357,"children":1359},{"className":1358},[],[1360],{"type":398,"value":1361},">=",{"type":393,"tag":1277,"props":1363,"children":1364},{},[1365],{"type":398,"value":1366},"Greater than or equal",{"type":393,"tag":1277,"props":1368,"children":1369},{},[1370],{"type":393,"tag":441,"props":1371,"children":1373},{"className":1372},[],[1374],{"type":398,"value":1375},"df['score'] >= 90",{"type":393,"tag":1250,"props":1377,"children":1378},{},[1379,1388,1393],{"type":393,"tag":1277,"props":1380,"children":1381},{},[1382],{"type":393,"tag":441,"props":1383,"children":1385},{"className":1384},[],[1386],{"type":398,"value":1387},"\u003C",{"type":393,"tag":1277,"props":1389,"children":1390},{},[1391],{"type":398,"value":1392},"Less than",{"type":393,"tag":1277,"props":1394,"children":1395},{},[1396],{"type":393,"tag":441,"props":1397,"children":1399},{"className":1398},[],[1400],{"type":398,"value":1401},"df['price'] \u003C 100",{"type":393,"tag":1250,"props":1403,"children":1404},{},[1405,1414,1419],{"type":393,"tag":1277,"props":1406,"children":1407},{},[1408],{"type":393,"tag":441,"props":1409,"children":1411},{"className":1410},[],[1412],{"type":398,"value":1413},"\u003C=",{"type":393,"tag":1277,"props":1415,"children":1416},{},[1417],{"type":398,"value":1418},"Less than or equal",{"type":393,"tag":1277,"props":1420,"children":1421},{},[1422],{"type":393,"tag":441,"props":1423,"children":1425},{"className":1424},[],[1426],{"type":398,"value":1427},"df['stock'] \u003C= 10",{"type":393,"tag":524,"props":1429,"children":1430},{},[1431],{"type":393,"tag":528,"props":1432,"children":1434},{"className":530,"code":1433,"language":532,"meta":6,"style":6},"import pandas as pd\n\n# Product inventory\nproducts = pd.DataFrame({\n    'product': ['Laptop', 'Mouse', 'Keyboard', 'Monitor', 'Tablet'],\n    'price': [999, 25, 75, 300, 450],\n    'stock': [5, 50, 20, 8, 12],\n    'category': ['Computer', 'Accessory', 'Accessory', 'Computer', 'Computer']\n})\n\nprint(\"Product Inventory:\")\nprint(products)\nprint()\n\nprint(\"📊 Different Comparisons:\")\nprint()\n\nprint(\"💰 Expensive items (>= $300):\")\nexpensive = products[products['price'] >= 300]\nprint(expensive[['product', 'price']])\nprint()\n\nprint(\"📦 Low stock (\u003C 10):\")\nlow_stock = products[products['stock'] \u003C 10]\nprint(low_stock[['product', 'stock']])\nprint()\n\nprint(\"🖥️ Not accessories:\")\nnot_accessories = products[products['category'] != 'Accessory']\nprint(not_accessories[['product', 'category']])\n",[1435],{"type":393,"tag":441,"props":1436,"children":1437},{"__ignoreMap":6},[1438,1457,1464,1472,1488,1545,1602,1658,1712,1719,1726,1746,1758,1769,1776,1796,1807,1814,1834,1873,1902,1913,1920,1940,1978,2006,2017,2024,2044,2082],{"type":393,"tag":538,"props":1439,"children":1440},{"class":540,"line":11},[1441,1445,1449,1453],{"type":393,"tag":538,"props":1442,"children":1443},{"style":544},[1444],{"type":398,"value":547},{"type":393,"tag":538,"props":1446,"children":1447},{"style":550},[1448],{"type":398,"value":553},{"type":393,"tag":538,"props":1450,"children":1451},{"style":544},[1452],{"type":398,"value":558},{"type":393,"tag":538,"props":1454,"children":1455},{"style":550},[1456],{"type":398,"value":563},{"type":393,"tag":538,"props":1458,"children":1459},{"class":540,"line":27},[1460],{"type":393,"tag":538,"props":1461,"children":1462},{"emptyLinePlaceholder":12},[1463],{"type":398,"value":571},{"type":393,"tag":538,"props":1465,"children":1466},{"class":540,"line":36},[1467],{"type":393,"tag":538,"props":1468,"children":1469},{"style":577},[1470],{"type":398,"value":1471},"# Product inventory\n",{"type":393,"tag":538,"props":1473,"children":1474},{"class":540,"line":45},[1475,1480,1484],{"type":393,"tag":538,"props":1476,"children":1477},{"style":550},[1478],{"type":398,"value":1479},"products ",{"type":393,"tag":538,"props":1481,"children":1482},{"style":544},[1483],{"type":398,"value":593},{"type":393,"tag":538,"props":1485,"children":1486},{"style":550},[1487],{"type":398,"value":598},{"type":393,"tag":538,"props":1489,"children":1490},{"class":540,"line":54},[1491,1496,1500,1505,1509,1514,1518,1523,1527,1532,1536,1541],{"type":393,"tag":538,"props":1492,"children":1493},{"style":604},[1494],{"type":398,"value":1495},"    'product'",{"type":393,"tag":538,"props":1497,"children":1498},{"style":550},[1499],{"type":398,"value":612},{"type":393,"tag":538,"props":1501,"children":1502},{"style":604},[1503],{"type":398,"value":1504},"'Laptop'",{"type":393,"tag":538,"props":1506,"children":1507},{"style":550},[1508],{"type":398,"value":622},{"type":393,"tag":538,"props":1510,"children":1511},{"style":604},[1512],{"type":398,"value":1513},"'Mouse'",{"type":393,"tag":538,"props":1515,"children":1516},{"style":550},[1517],{"type":398,"value":622},{"type":393,"tag":538,"props":1519,"children":1520},{"style":604},[1521],{"type":398,"value":1522},"'Keyboard'",{"type":393,"tag":538,"props":1524,"children":1525},{"style":550},[1526],{"type":398,"value":622},{"type":393,"tag":538,"props":1528,"children":1529},{"style":604},[1530],{"type":398,"value":1531},"'Monitor'",{"type":393,"tag":538,"props":1533,"children":1534},{"style":550},[1535],{"type":398,"value":622},{"type":393,"tag":538,"props":1537,"children":1538},{"style":604},[1539],{"type":398,"value":1540},"'Tablet'",{"type":393,"tag":538,"props":1542,"children":1543},{"style":550},[1544],{"type":398,"value":659},{"type":393,"tag":538,"props":1546,"children":1547},{"class":540,"line":63},[1548,1553,1557,1562,1566,1571,1575,1580,1584,1589,1593,1598],{"type":393,"tag":538,"props":1549,"children":1550},{"style":604},[1551],{"type":398,"value":1552},"    'price'",{"type":393,"tag":538,"props":1554,"children":1555},{"style":550},[1556],{"type":398,"value":612},{"type":393,"tag":538,"props":1558,"children":1559},{"style":674},[1560],{"type":398,"value":1561},"999",{"type":393,"tag":538,"props":1563,"children":1564},{"style":550},[1565],{"type":398,"value":622},{"type":393,"tag":538,"props":1567,"children":1568},{"style":674},[1569],{"type":398,"value":1570},"25",{"type":393,"tag":538,"props":1572,"children":1573},{"style":550},[1574],{"type":398,"value":622},{"type":393,"tag":538,"props":1576,"children":1577},{"style":674},[1578],{"type":398,"value":1579},"75",{"type":393,"tag":538,"props":1581,"children":1582},{"style":550},[1583],{"type":398,"value":622},{"type":393,"tag":538,"props":1585,"children":1586},{"style":674},[1587],{"type":398,"value":1588},"300",{"type":393,"tag":538,"props":1590,"children":1591},{"style":550},[1592],{"type":398,"value":622},{"type":393,"tag":538,"props":1594,"children":1595},{"style":674},[1596],{"type":398,"value":1597},"450",{"type":393,"tag":538,"props":1599,"children":1600},{"style":550},[1601],{"type":398,"value":659},{"type":393,"tag":538,"props":1603,"children":1604},{"class":540,"line":72},[1605,1610,1614,1619,1623,1628,1632,1636,1640,1645,1649,1654],{"type":393,"tag":538,"props":1606,"children":1607},{"style":604},[1608],{"type":398,"value":1609},"    'stock'",{"type":393,"tag":538,"props":1611,"children":1612},{"style":550},[1613],{"type":398,"value":612},{"type":393,"tag":538,"props":1615,"children":1616},{"style":674},[1617],{"type":398,"value":1618},"5",{"type":393,"tag":538,"props":1620,"children":1621},{"style":550},[1622],{"type":398,"value":622},{"type":393,"tag":538,"props":1624,"children":1625},{"style":674},[1626],{"type":398,"value":1627},"50",{"type":393,"tag":538,"props":1629,"children":1630},{"style":550},[1631],{"type":398,"value":622},{"type":393,"tag":538,"props":1633,"children":1634},{"style":674},[1635],{"type":398,"value":677},{"type":393,"tag":538,"props":1637,"children":1638},{"style":550},[1639],{"type":398,"value":622},{"type":393,"tag":538,"props":1641,"children":1642},{"style":674},[1643],{"type":398,"value":1644},"8",{"type":393,"tag":538,"props":1646,"children":1647},{"style":550},[1648],{"type":398,"value":622},{"type":393,"tag":538,"props":1650,"children":1651},{"style":674},[1652],{"type":398,"value":1653},"12",{"type":393,"tag":538,"props":1655,"children":1656},{"style":550},[1657],{"type":398,"value":659},{"type":393,"tag":538,"props":1659,"children":1660},{"class":540,"line":83},[1661,1666,1670,1675,1679,1684,1688,1692,1696,1700,1704,1708],{"type":393,"tag":538,"props":1662,"children":1663},{"style":604},[1664],{"type":398,"value":1665},"    'category'",{"type":393,"tag":538,"props":1667,"children":1668},{"style":550},[1669],{"type":398,"value":612},{"type":393,"tag":538,"props":1671,"children":1672},{"style":604},[1673],{"type":398,"value":1674},"'Computer'",{"type":393,"tag":538,"props":1676,"children":1677},{"style":550},[1678],{"type":398,"value":622},{"type":393,"tag":538,"props":1680,"children":1681},{"style":604},[1682],{"type":398,"value":1683},"'Accessory'",{"type":393,"tag":538,"props":1685,"children":1686},{"style":550},[1687],{"type":398,"value":622},{"type":393,"tag":538,"props":1689,"children":1690},{"style":604},[1691],{"type":398,"value":1683},{"type":393,"tag":538,"props":1693,"children":1694},{"style":550},[1695],{"type":398,"value":622},{"type":393,"tag":538,"props":1697,"children":1698},{"style":604},[1699],{"type":398,"value":1674},{"type":393,"tag":538,"props":1701,"children":1702},{"style":550},[1703],{"type":398,"value":622},{"type":393,"tag":538,"props":1705,"children":1706},{"style":604},[1707],{"type":398,"value":1674},{"type":393,"tag":538,"props":1709,"children":1710},{"style":550},[1711],{"type":398,"value":830},{"type":393,"tag":538,"props":1713,"children":1714},{"class":540,"line":92},[1715],{"type":393,"tag":538,"props":1716,"children":1717},{"style":550},[1718],{"type":398,"value":838},{"type":393,"tag":538,"props":1720,"children":1721},{"class":540,"line":101},[1722],{"type":393,"tag":538,"props":1723,"children":1724},{"emptyLinePlaceholder":12},[1725],{"type":398,"value":571},{"type":393,"tag":538,"props":1727,"children":1728},{"class":540,"line":110},[1729,1733,1737,1742],{"type":393,"tag":538,"props":1730,"children":1731},{"style":674},[1732],{"type":398,"value":853},{"type":393,"tag":538,"props":1734,"children":1735},{"style":550},[1736],{"type":398,"value":858},{"type":393,"tag":538,"props":1738,"children":1739},{"style":604},[1740],{"type":398,"value":1741},"\"Product Inventory:\"",{"type":393,"tag":538,"props":1743,"children":1744},{"style":550},[1745],{"type":398,"value":868},{"type":393,"tag":538,"props":1747,"children":1748},{"class":540,"line":121},[1749,1753],{"type":393,"tag":538,"props":1750,"children":1751},{"style":674},[1752],{"type":398,"value":853},{"type":393,"tag":538,"props":1754,"children":1755},{"style":550},[1756],{"type":398,"value":1757},"(products)\n",{"type":393,"tag":538,"props":1759,"children":1760},{"class":540,"line":130},[1761,1765],{"type":393,"tag":538,"props":1762,"children":1763},{"style":674},[1764],{"type":398,"value":853},{"type":393,"tag":538,"props":1766,"children":1767},{"style":550},[1768],{"type":398,"value":892},{"type":393,"tag":538,"props":1770,"children":1771},{"class":540,"line":139},[1772],{"type":393,"tag":538,"props":1773,"children":1774},{"emptyLinePlaceholder":12},[1775],{"type":398,"value":571},{"type":393,"tag":538,"props":1777,"children":1778},{"class":540,"line":148},[1779,1783,1787,1792],{"type":393,"tag":538,"props":1780,"children":1781},{"style":674},[1782],{"type":398,"value":853},{"type":393,"tag":538,"props":1784,"children":1785},{"style":550},[1786],{"type":398,"value":858},{"type":393,"tag":538,"props":1788,"children":1789},{"style":604},[1790],{"type":398,"value":1791},"\"📊 Different Comparisons:\"",{"type":393,"tag":538,"props":1793,"children":1794},{"style":550},[1795],{"type":398,"value":868},{"type":393,"tag":538,"props":1797,"children":1798},{"class":540,"line":159},[1799,1803],{"type":393,"tag":538,"props":1800,"children":1801},{"style":674},[1802],{"type":398,"value":853},{"type":393,"tag":538,"props":1804,"children":1805},{"style":550},[1806],{"type":398,"value":892},{"type":393,"tag":538,"props":1808,"children":1809},{"class":540,"line":168},[1810],{"type":393,"tag":538,"props":1811,"children":1812},{"emptyLinePlaceholder":12},[1813],{"type":398,"value":571},{"type":393,"tag":538,"props":1815,"children":1816},{"class":540,"line":177},[1817,1821,1825,1830],{"type":393,"tag":538,"props":1818,"children":1819},{"style":674},[1820],{"type":398,"value":853},{"type":393,"tag":538,"props":1822,"children":1823},{"style":550},[1824],{"type":398,"value":858},{"type":393,"tag":538,"props":1826,"children":1827},{"style":604},[1828],{"type":398,"value":1829},"\"💰 Expensive items (>= $300):\"",{"type":393,"tag":538,"props":1831,"children":1832},{"style":550},[1833],{"type":398,"value":868},{"type":393,"tag":538,"props":1835,"children":1836},{"class":540,"line":186},[1837,1842,1846,1851,1856,1860,1864,1869],{"type":393,"tag":538,"props":1838,"children":1839},{"style":550},[1840],{"type":398,"value":1841},"expensive ",{"type":393,"tag":538,"props":1843,"children":1844},{"style":544},[1845],{"type":398,"value":593},{"type":393,"tag":538,"props":1847,"children":1848},{"style":550},[1849],{"type":398,"value":1850}," products[products[",{"type":393,"tag":538,"props":1852,"children":1853},{"style":604},[1854],{"type":398,"value":1855},"'price'",{"type":393,"tag":538,"props":1857,"children":1858},{"style":550},[1859],{"type":398,"value":992},{"type":393,"tag":538,"props":1861,"children":1862},{"style":544},[1863],{"type":398,"value":1361},{"type":393,"tag":538,"props":1865,"children":1866},{"style":674},[1867],{"type":398,"value":1868}," 300",{"type":393,"tag":538,"props":1870,"children":1871},{"style":550},[1872],{"type":398,"value":830},{"type":393,"tag":538,"props":1874,"children":1875},{"class":540,"line":197},[1876,1880,1885,1890,1894,1898],{"type":393,"tag":538,"props":1877,"children":1878},{"style":674},[1879],{"type":398,"value":853},{"type":393,"tag":538,"props":1881,"children":1882},{"style":550},[1883],{"type":398,"value":1884},"(expensive[[",{"type":393,"tag":538,"props":1886,"children":1887},{"style":604},[1888],{"type":398,"value":1889},"'product'",{"type":393,"tag":538,"props":1891,"children":1892},{"style":550},[1893],{"type":398,"value":622},{"type":393,"tag":538,"props":1895,"children":1896},{"style":604},[1897],{"type":398,"value":1855},{"type":393,"tag":538,"props":1899,"children":1900},{"style":550},[1901],{"type":398,"value":1229},{"type":393,"tag":538,"props":1903,"children":1904},{"class":540,"line":206},[1905,1909],{"type":393,"tag":538,"props":1906,"children":1907},{"style":674},[1908],{"type":398,"value":853},{"type":393,"tag":538,"props":1910,"children":1911},{"style":550},[1912],{"type":398,"value":892},{"type":393,"tag":538,"props":1914,"children":1915},{"class":540,"line":215},[1916],{"type":393,"tag":538,"props":1917,"children":1918},{"emptyLinePlaceholder":12},[1919],{"type":398,"value":571},{"type":393,"tag":538,"props":1921,"children":1922},{"class":540,"line":224},[1923,1927,1931,1936],{"type":393,"tag":538,"props":1924,"children":1925},{"style":674},[1926],{"type":398,"value":853},{"type":393,"tag":538,"props":1928,"children":1929},{"style":550},[1930],{"type":398,"value":858},{"type":393,"tag":538,"props":1932,"children":1933},{"style":604},[1934],{"type":398,"value":1935},"\"📦 Low stock (\u003C 10):\"",{"type":393,"tag":538,"props":1937,"children":1938},{"style":550},[1939],{"type":398,"value":868},{"type":393,"tag":538,"props":1941,"children":1942},{"class":540,"line":233},[1943,1948,1952,1956,1961,1965,1969,1974],{"type":393,"tag":538,"props":1944,"children":1945},{"style":550},[1946],{"type":398,"value":1947},"low_stock ",{"type":393,"tag":538,"props":1949,"children":1950},{"style":544},[1951],{"type":398,"value":593},{"type":393,"tag":538,"props":1953,"children":1954},{"style":550},[1955],{"type":398,"value":1850},{"type":393,"tag":538,"props":1957,"children":1958},{"style":604},[1959],{"type":398,"value":1960},"'stock'",{"type":393,"tag":538,"props":1962,"children":1963},{"style":550},[1964],{"type":398,"value":992},{"type":393,"tag":538,"props":1966,"children":1967},{"style":544},[1968],{"type":398,"value":1387},{"type":393,"tag":538,"props":1970,"children":1971},{"style":674},[1972],{"type":398,"value":1973}," 10",{"type":393,"tag":538,"props":1975,"children":1976},{"style":550},[1977],{"type":398,"value":830},{"type":393,"tag":538,"props":1979,"children":1980},{"class":540,"line":244},[1981,1985,1990,1994,1998,2002],{"type":393,"tag":538,"props":1982,"children":1983},{"style":674},[1984],{"type":398,"value":853},{"type":393,"tag":538,"props":1986,"children":1987},{"style":550},[1988],{"type":398,"value":1989},"(low_stock[[",{"type":393,"tag":538,"props":1991,"children":1992},{"style":604},[1993],{"type":398,"value":1889},{"type":393,"tag":538,"props":1995,"children":1996},{"style":550},[1997],{"type":398,"value":622},{"type":393,"tag":538,"props":1999,"children":2000},{"style":604},[2001],{"type":398,"value":1960},{"type":393,"tag":538,"props":2003,"children":2004},{"style":550},[2005],{"type":398,"value":1229},{"type":393,"tag":538,"props":2007,"children":2008},{"class":540,"line":253},[2009,2013],{"type":393,"tag":538,"props":2010,"children":2011},{"style":674},[2012],{"type":398,"value":853},{"type":393,"tag":538,"props":2014,"children":2015},{"style":550},[2016],{"type":398,"value":892},{"type":393,"tag":538,"props":2018,"children":2019},{"class":540,"line":262},[2020],{"type":393,"tag":538,"props":2021,"children":2022},{"emptyLinePlaceholder":12},[2023],{"type":398,"value":571},{"type":393,"tag":538,"props":2025,"children":2026},{"class":540,"line":271},[2027,2031,2035,2040],{"type":393,"tag":538,"props":2028,"children":2029},{"style":674},[2030],{"type":398,"value":853},{"type":393,"tag":538,"props":2032,"children":2033},{"style":550},[2034],{"type":398,"value":858},{"type":393,"tag":538,"props":2036,"children":2037},{"style":604},[2038],{"type":398,"value":2039},"\"🖥️ Not accessories:\"",{"type":393,"tag":538,"props":2041,"children":2042},{"style":550},[2043],{"type":398,"value":868},{"type":393,"tag":538,"props":2045,"children":2046},{"class":540,"line":281},[2047,2052,2056,2060,2065,2069,2073,2078],{"type":393,"tag":538,"props":2048,"children":2049},{"style":550},[2050],{"type":398,"value":2051},"not_accessories ",{"type":393,"tag":538,"props":2053,"children":2054},{"style":544},[2055],{"type":398,"value":593},{"type":393,"tag":538,"props":2057,"children":2058},{"style":550},[2059],{"type":398,"value":1850},{"type":393,"tag":538,"props":2061,"children":2062},{"style":604},[2063],{"type":398,"value":2064},"'category'",{"type":393,"tag":538,"props":2066,"children":2067},{"style":550},[2068],{"type":398,"value":992},{"type":393,"tag":538,"props":2070,"children":2071},{"style":544},[2072],{"type":398,"value":1310},{"type":393,"tag":538,"props":2074,"children":2075},{"style":604},[2076],{"type":398,"value":2077}," 'Accessory'",{"type":393,"tag":538,"props":2079,"children":2080},{"style":550},[2081],{"type":398,"value":830},{"type":393,"tag":538,"props":2083,"children":2084},{"class":540,"line":290},[2085,2089,2094,2098,2102,2106],{"type":393,"tag":538,"props":2086,"children":2087},{"style":674},[2088],{"type":398,"value":853},{"type":393,"tag":538,"props":2090,"children":2091},{"style":550},[2092],{"type":398,"value":2093},"(not_accessories[[",{"type":393,"tag":538,"props":2095,"children":2096},{"style":604},[2097],{"type":398,"value":1889},{"type":393,"tag":538,"props":2099,"children":2100},{"style":550},[2101],{"type":398,"value":622},{"type":393,"tag":538,"props":2103,"children":2104},{"style":604},[2105],{"type":398,"value":2064},{"type":393,"tag":538,"props":2107,"children":2108},{"style":550},[2109],{"type":398,"value":1229},{"type":393,"tag":512,"props":2111,"children":2113},{"id":2112},"combining-conditions",[2114],{"type":398,"value":2115},"🔗 Combining Conditions",{"type":393,"tag":401,"props":2117,"children":2118},{},[2119,2121,2127,2129,2135],{"type":398,"value":2120},"Use multiple conditions together with ",{"type":393,"tag":441,"props":2122,"children":2124},{"className":2123},[],[2125],{"type":398,"value":2126},"&",{"type":398,"value":2128}," (AND) and ",{"type":393,"tag":441,"props":2130,"children":2132},{"className":2131},[],[2133],{"type":398,"value":2134},"|",{"type":398,"value":2136}," (OR):",{"type":393,"tag":407,"props":2138,"children":2142},{"emoji":2139,"title":2140,"type":2141},"🔗","Boolean Operators","warning",[2143,2151,2185,2195,2220,2227],{"type":393,"tag":401,"props":2144,"children":2145},{},[2146],{"type":393,"tag":417,"props":2147,"children":2148},{},[2149],{"type":398,"value":2150},"Combining Conditions:",{"type":393,"tag":477,"props":2152,"children":2153},{},[2154,2164,2174],{"type":393,"tag":435,"props":2155,"children":2156},{},[2157,2162],{"type":393,"tag":441,"props":2158,"children":2160},{"className":2159},[],[2161],{"type":398,"value":2126},{"type":398,"value":2163}," = AND (both conditions must be True)",{"type":393,"tag":435,"props":2165,"children":2166},{},[2167,2172],{"type":393,"tag":441,"props":2168,"children":2170},{"className":2169},[],[2171],{"type":398,"value":2134},{"type":398,"value":2173}," = OR (either condition can be True)",{"type":393,"tag":435,"props":2175,"children":2176},{},[2177,2183],{"type":393,"tag":441,"props":2178,"children":2180},{"className":2179},[],[2181],{"type":398,"value":2182},"~",{"type":398,"value":2184}," = NOT (opposite of the condition)",{"type":393,"tag":401,"props":2186,"children":2187},{},[2188,2193],{"type":393,"tag":417,"props":2189,"children":2190},{},[2191],{"type":398,"value":2192},"Important:",{"type":398,"value":2194}," Always use parentheses around each condition!",{"type":393,"tag":477,"props":2196,"children":2197},{},[2198,2209],{"type":393,"tag":435,"props":2199,"children":2200},{},[2201,2203],{"type":398,"value":2202},"✅ Correct: ",{"type":393,"tag":441,"props":2204,"children":2206},{"className":2205},[],[2207],{"type":398,"value":2208},"(df['age'] > 20) & (df['grade'] == 'A')",{"type":393,"tag":435,"props":2210,"children":2211},{},[2212,2214],{"type":398,"value":2213},"❌ Wrong: ",{"type":393,"tag":441,"props":2215,"children":2217},{"className":2216},[],[2218],{"type":398,"value":2219},"df['age'] > 20 & df['grade'] == 'A'",{"type":393,"tag":401,"props":2221,"children":2222},{},[2223],{"type":393,"tag":417,"props":2224,"children":2225},{},[2226],{"type":398,"value":475},{"type":393,"tag":477,"props":2228,"children":2229},{},[2230,2235,2240],{"type":393,"tag":435,"props":2231,"children":2232},{},[2233],{"type":398,"value":2234},"AND: \"Must be tall AND must wear glasses\"",{"type":393,"tag":435,"props":2236,"children":2237},{},[2238],{"type":398,"value":2239},"OR: \"Can be red OR can be blue\"",{"type":393,"tag":435,"props":2241,"children":2242},{},[2243],{"type":398,"value":2244},"NOT: \"Everything except green\"",{"type":393,"tag":524,"props":2246,"children":2247},{},[2248],{"type":393,"tag":528,"props":2249,"children":2251},{"className":530,"code":2250,"language":532,"meta":6,"style":6},"import pandas as pd\n\n# Employee data\nemployees = pd.DataFrame({\n    'name': ['Alice', 'Bob', 'Charlie', 'Diana', 'Eve'],\n    'age': [25, 35, 30, 28, 45],\n    'department': ['Sales', 'IT', 'Sales', 'HR', 'IT'],\n    'salary': [50000, 75000, 55000, 48000, 80000],\n    'years': [2, 8, 5, 3, 12]\n})\n\nprint(\"Employee Data:\")\nprint(employees)\nprint()\n\nprint(\"🔗 Combined Conditions:\")\nprint()\n\nprint(\"1️⃣ Young AND high paid (age \u003C 30 AND salary > 50000):\")\nyoung_high_paid = employees[\n    (employees['age'] \u003C 30) & (employees['salary'] > 50000)\n]\nprint(young_high_paid[['name', 'age', 'salary']])\nprint()\n\nprint(\"2️⃣ Sales OR IT department:\")\nsales_or_it = employees[\n    (employees['department'] == 'Sales') | (employees['department'] == 'IT')\n]\nprint(sales_or_it[['name', 'department']])\nprint()\n\nprint(\"3️⃣ Experienced (>5 years) AND well-paid (>60000):\")\nexperienced_well_paid = employees[\n    (employees['years'] > 5) & (employees['salary'] > 60000)\n]\nprint(experienced_well_paid[['name', 'years', 'salary']])\n",[2252],{"type":393,"tag":441,"props":2253,"children":2254},{"__ignoreMap":6},[2255,2274,2281,2289,2305,2356,2411,2466,2523,2577,2584,2591,2611,2623,2634,2641,2661,2672,2679,2699,2716,2777,2784,2820,2831,2838,2858,2874,2932,2939,2967,2978,2985,3005,3021,3079,3086],{"type":393,"tag":538,"props":2256,"children":2257},{"class":540,"line":11},[2258,2262,2266,2270],{"type":393,"tag":538,"props":2259,"children":2260},{"style":544},[2261],{"type":398,"value":547},{"type":393,"tag":538,"props":2263,"children":2264},{"style":550},[2265],{"type":398,"value":553},{"type":393,"tag":538,"props":2267,"children":2268},{"style":544},[2269],{"type":398,"value":558},{"type":393,"tag":538,"props":2271,"children":2272},{"style":550},[2273],{"type":398,"value":563},{"type":393,"tag":538,"props":2275,"children":2276},{"class":540,"line":27},[2277],{"type":393,"tag":538,"props":2278,"children":2279},{"emptyLinePlaceholder":12},[2280],{"type":398,"value":571},{"type":393,"tag":538,"props":2282,"children":2283},{"class":540,"line":36},[2284],{"type":393,"tag":538,"props":2285,"children":2286},{"style":577},[2287],{"type":398,"value":2288},"# Employee data\n",{"type":393,"tag":538,"props":2290,"children":2291},{"class":540,"line":45},[2292,2297,2301],{"type":393,"tag":538,"props":2293,"children":2294},{"style":550},[2295],{"type":398,"value":2296},"employees ",{"type":393,"tag":538,"props":2298,"children":2299},{"style":544},[2300],{"type":398,"value":593},{"type":393,"tag":538,"props":2302,"children":2303},{"style":550},[2304],{"type":398,"value":598},{"type":393,"tag":538,"props":2306,"children":2307},{"class":540,"line":54},[2308,2312,2316,2320,2324,2328,2332,2336,2340,2344,2348,2352],{"type":393,"tag":538,"props":2309,"children":2310},{"style":604},[2311],{"type":398,"value":607},{"type":393,"tag":538,"props":2313,"children":2314},{"style":550},[2315],{"type":398,"value":612},{"type":393,"tag":538,"props":2317,"children":2318},{"style":604},[2319],{"type":398,"value":617},{"type":393,"tag":538,"props":2321,"children":2322},{"style":550},[2323],{"type":398,"value":622},{"type":393,"tag":538,"props":2325,"children":2326},{"style":604},[2327],{"type":398,"value":627},{"type":393,"tag":538,"props":2329,"children":2330},{"style":550},[2331],{"type":398,"value":622},{"type":393,"tag":538,"props":2333,"children":2334},{"style":604},[2335],{"type":398,"value":636},{"type":393,"tag":538,"props":2337,"children":2338},{"style":550},[2339],{"type":398,"value":622},{"type":393,"tag":538,"props":2341,"children":2342},{"style":604},[2343],{"type":398,"value":645},{"type":393,"tag":538,"props":2345,"children":2346},{"style":550},[2347],{"type":398,"value":622},{"type":393,"tag":538,"props":2349,"children":2350},{"style":604},[2351],{"type":398,"value":654},{"type":393,"tag":538,"props":2353,"children":2354},{"style":550},[2355],{"type":398,"value":659},{"type":393,"tag":538,"props":2357,"children":2358},{"class":540,"line":63},[2359,2363,2367,2371,2375,2380,2384,2389,2393,2398,2402,2407],{"type":393,"tag":538,"props":2360,"children":2361},{"style":604},[2362],{"type":398,"value":667},{"type":393,"tag":538,"props":2364,"children":2365},{"style":550},[2366],{"type":398,"value":612},{"type":393,"tag":538,"props":2368,"children":2369},{"style":674},[2370],{"type":398,"value":1570},{"type":393,"tag":538,"props":2372,"children":2373},{"style":550},[2374],{"type":398,"value":622},{"type":393,"tag":538,"props":2376,"children":2377},{"style":674},[2378],{"type":398,"value":2379},"35",{"type":393,"tag":538,"props":2381,"children":2382},{"style":550},[2383],{"type":398,"value":622},{"type":393,"tag":538,"props":2385,"children":2386},{"style":674},[2387],{"type":398,"value":2388},"30",{"type":393,"tag":538,"props":2390,"children":2391},{"style":550},[2392],{"type":398,"value":622},{"type":393,"tag":538,"props":2394,"children":2395},{"style":674},[2396],{"type":398,"value":2397},"28",{"type":393,"tag":538,"props":2399,"children":2400},{"style":550},[2401],{"type":398,"value":622},{"type":393,"tag":538,"props":2403,"children":2404},{"style":674},[2405],{"type":398,"value":2406},"45",{"type":393,"tag":538,"props":2408,"children":2409},{"style":550},[2410],{"type":398,"value":659},{"type":393,"tag":538,"props":2412,"children":2413},{"class":540,"line":72},[2414,2419,2423,2428,2432,2437,2441,2445,2449,2454,2458,2462],{"type":393,"tag":538,"props":2415,"children":2416},{"style":604},[2417],{"type":398,"value":2418},"    'department'",{"type":393,"tag":538,"props":2420,"children":2421},{"style":550},[2422],{"type":398,"value":612},{"type":393,"tag":538,"props":2424,"children":2425},{"style":604},[2426],{"type":398,"value":2427},"'Sales'",{"type":393,"tag":538,"props":2429,"children":2430},{"style":550},[2431],{"type":398,"value":622},{"type":393,"tag":538,"props":2433,"children":2434},{"style":604},[2435],{"type":398,"value":2436},"'IT'",{"type":393,"tag":538,"props":2438,"children":2439},{"style":550},[2440],{"type":398,"value":622},{"type":393,"tag":538,"props":2442,"children":2443},{"style":604},[2444],{"type":398,"value":2427},{"type":393,"tag":538,"props":2446,"children":2447},{"style":550},[2448],{"type":398,"value":622},{"type":393,"tag":538,"props":2450,"children":2451},{"style":604},[2452],{"type":398,"value":2453},"'HR'",{"type":393,"tag":538,"props":2455,"children":2456},{"style":550},[2457],{"type":398,"value":622},{"type":393,"tag":538,"props":2459,"children":2460},{"style":604},[2461],{"type":398,"value":2436},{"type":393,"tag":538,"props":2463,"children":2464},{"style":550},[2465],{"type":398,"value":659},{"type":393,"tag":538,"props":2467,"children":2468},{"class":540,"line":83},[2469,2474,2478,2483,2487,2492,2496,2501,2505,2510,2514,2519],{"type":393,"tag":538,"props":2470,"children":2471},{"style":604},[2472],{"type":398,"value":2473},"    'salary'",{"type":393,"tag":538,"props":2475,"children":2476},{"style":550},[2477],{"type":398,"value":612},{"type":393,"tag":538,"props":2479,"children":2480},{"style":674},[2481],{"type":398,"value":2482},"50000",{"type":393,"tag":538,"props":2484,"children":2485},{"style":550},[2486],{"type":398,"value":622},{"type":393,"tag":538,"props":2488,"children":2489},{"style":674},[2490],{"type":398,"value":2491},"75000",{"type":393,"tag":538,"props":2493,"children":2494},{"style":550},[2495],{"type":398,"value":622},{"type":393,"tag":538,"props":2497,"children":2498},{"style":674},[2499],{"type":398,"value":2500},"55000",{"type":393,"tag":538,"props":2502,"children":2503},{"style":550},[2504],{"type":398,"value":622},{"type":393,"tag":538,"props":2506,"children":2507},{"style":674},[2508],{"type":398,"value":2509},"48000",{"type":393,"tag":538,"props":2511,"children":2512},{"style":550},[2513],{"type":398,"value":622},{"type":393,"tag":538,"props":2515,"children":2516},{"style":674},[2517],{"type":398,"value":2518},"80000",{"type":393,"tag":538,"props":2520,"children":2521},{"style":550},[2522],{"type":398,"value":659},{"type":393,"tag":538,"props":2524,"children":2525},{"class":540,"line":92},[2526,2531,2535,2540,2544,2548,2552,2556,2560,2565,2569,2573],{"type":393,"tag":538,"props":2527,"children":2528},{"style":604},[2529],{"type":398,"value":2530},"    'years'",{"type":393,"tag":538,"props":2532,"children":2533},{"style":550},[2534],{"type":398,"value":612},{"type":393,"tag":538,"props":2536,"children":2537},{"style":674},[2538],{"type":398,"value":2539},"2",{"type":393,"tag":538,"props":2541,"children":2542},{"style":550},[2543],{"type":398,"value":622},{"type":393,"tag":538,"props":2545,"children":2546},{"style":674},[2547],{"type":398,"value":1644},{"type":393,"tag":538,"props":2549,"children":2550},{"style":550},[2551],{"type":398,"value":622},{"type":393,"tag":538,"props":2553,"children":2554},{"style":674},[2555],{"type":398,"value":1618},{"type":393,"tag":538,"props":2557,"children":2558},{"style":550},[2559],{"type":398,"value":622},{"type":393,"tag":538,"props":2561,"children":2562},{"style":674},[2563],{"type":398,"value":2564},"3",{"type":393,"tag":538,"props":2566,"children":2567},{"style":550},[2568],{"type":398,"value":622},{"type":393,"tag":538,"props":2570,"children":2571},{"style":674},[2572],{"type":398,"value":1653},{"type":393,"tag":538,"props":2574,"children":2575},{"style":550},[2576],{"type":398,"value":830},{"type":393,"tag":538,"props":2578,"children":2579},{"class":540,"line":101},[2580],{"type":393,"tag":538,"props":2581,"children":2582},{"style":550},[2583],{"type":398,"value":838},{"type":393,"tag":538,"props":2585,"children":2586},{"class":540,"line":110},[2587],{"type":393,"tag":538,"props":2588,"children":2589},{"emptyLinePlaceholder":12},[2590],{"type":398,"value":571},{"type":393,"tag":538,"props":2592,"children":2593},{"class":540,"line":121},[2594,2598,2602,2607],{"type":393,"tag":538,"props":2595,"children":2596},{"style":674},[2597],{"type":398,"value":853},{"type":393,"tag":538,"props":2599,"children":2600},{"style":550},[2601],{"type":398,"value":858},{"type":393,"tag":538,"props":2603,"children":2604},{"style":604},[2605],{"type":398,"value":2606},"\"Employee Data:\"",{"type":393,"tag":538,"props":2608,"children":2609},{"style":550},[2610],{"type":398,"value":868},{"type":393,"tag":538,"props":2612,"children":2613},{"class":540,"line":130},[2614,2618],{"type":393,"tag":538,"props":2615,"children":2616},{"style":674},[2617],{"type":398,"value":853},{"type":393,"tag":538,"props":2619,"children":2620},{"style":550},[2621],{"type":398,"value":2622},"(employees)\n",{"type":393,"tag":538,"props":2624,"children":2625},{"class":540,"line":139},[2626,2630],{"type":393,"tag":538,"props":2627,"children":2628},{"style":674},[2629],{"type":398,"value":853},{"type":393,"tag":538,"props":2631,"children":2632},{"style":550},[2633],{"type":398,"value":892},{"type":393,"tag":538,"props":2635,"children":2636},{"class":540,"line":148},[2637],{"type":393,"tag":538,"props":2638,"children":2639},{"emptyLinePlaceholder":12},[2640],{"type":398,"value":571},{"type":393,"tag":538,"props":2642,"children":2643},{"class":540,"line":159},[2644,2648,2652,2657],{"type":393,"tag":538,"props":2645,"children":2646},{"style":674},[2647],{"type":398,"value":853},{"type":393,"tag":538,"props":2649,"children":2650},{"style":550},[2651],{"type":398,"value":858},{"type":393,"tag":538,"props":2653,"children":2654},{"style":604},[2655],{"type":398,"value":2656},"\"🔗 Combined Conditions:\"",{"type":393,"tag":538,"props":2658,"children":2659},{"style":550},[2660],{"type":398,"value":868},{"type":393,"tag":538,"props":2662,"children":2663},{"class":540,"line":168},[2664,2668],{"type":393,"tag":538,"props":2665,"children":2666},{"style":674},[2667],{"type":398,"value":853},{"type":393,"tag":538,"props":2669,"children":2670},{"style":550},[2671],{"type":398,"value":892},{"type":393,"tag":538,"props":2673,"children":2674},{"class":540,"line":177},[2675],{"type":393,"tag":538,"props":2676,"children":2677},{"emptyLinePlaceholder":12},[2678],{"type":398,"value":571},{"type":393,"tag":538,"props":2680,"children":2681},{"class":540,"line":186},[2682,2686,2690,2695],{"type":393,"tag":538,"props":2683,"children":2684},{"style":674},[2685],{"type":398,"value":853},{"type":393,"tag":538,"props":2687,"children":2688},{"style":550},[2689],{"type":398,"value":858},{"type":393,"tag":538,"props":2691,"children":2692},{"style":604},[2693],{"type":398,"value":2694},"\"1️⃣ Young AND high paid (age \u003C 30 AND salary > 50000):\"",{"type":393,"tag":538,"props":2696,"children":2697},{"style":550},[2698],{"type":398,"value":868},{"type":393,"tag":538,"props":2700,"children":2701},{"class":540,"line":197},[2702,2707,2711],{"type":393,"tag":538,"props":2703,"children":2704},{"style":550},[2705],{"type":398,"value":2706},"young_high_paid ",{"type":393,"tag":538,"props":2708,"children":2709},{"style":544},[2710],{"type":398,"value":593},{"type":393,"tag":538,"props":2712,"children":2713},{"style":550},[2714],{"type":398,"value":2715}," employees[\n",{"type":393,"tag":538,"props":2717,"children":2718},{"class":540,"line":206},[2719,2724,2728,2732,2736,2741,2746,2750,2755,2760,2764,2768,2773],{"type":393,"tag":538,"props":2720,"children":2721},{"style":550},[2722],{"type":398,"value":2723},"    (employees[",{"type":393,"tag":538,"props":2725,"children":2726},{"style":604},[2727],{"type":398,"value":987},{"type":393,"tag":538,"props":2729,"children":2730},{"style":550},[2731],{"type":398,"value":992},{"type":393,"tag":538,"props":2733,"children":2734},{"style":544},[2735],{"type":398,"value":1387},{"type":393,"tag":538,"props":2737,"children":2738},{"style":674},[2739],{"type":398,"value":2740}," 30",{"type":393,"tag":538,"props":2742,"children":2743},{"style":550},[2744],{"type":398,"value":2745},") ",{"type":393,"tag":538,"props":2747,"children":2748},{"style":544},[2749],{"type":398,"value":2126},{"type":393,"tag":538,"props":2751,"children":2752},{"style":550},[2753],{"type":398,"value":2754}," (employees[",{"type":393,"tag":538,"props":2756,"children":2757},{"style":604},[2758],{"type":398,"value":2759},"'salary'",{"type":393,"tag":538,"props":2761,"children":2762},{"style":550},[2763],{"type":398,"value":992},{"type":393,"tag":538,"props":2765,"children":2766},{"style":544},[2767],{"type":398,"value":997},{"type":393,"tag":538,"props":2769,"children":2770},{"style":674},[2771],{"type":398,"value":2772}," 50000",{"type":393,"tag":538,"props":2774,"children":2775},{"style":550},[2776],{"type":398,"value":868},{"type":393,"tag":538,"props":2778,"children":2779},{"class":540,"line":215},[2780],{"type":393,"tag":538,"props":2781,"children":2782},{"style":550},[2783],{"type":398,"value":830},{"type":393,"tag":538,"props":2785,"children":2786},{"class":540,"line":224},[2787,2791,2796,2800,2804,2808,2812,2816],{"type":393,"tag":538,"props":2788,"children":2789},{"style":674},[2790],{"type":398,"value":853},{"type":393,"tag":538,"props":2792,"children":2793},{"style":550},[2794],{"type":398,"value":2795},"(young_high_paid[[",{"type":393,"tag":538,"props":2797,"children":2798},{"style":604},[2799],{"type":398,"value":1216},{"type":393,"tag":538,"props":2801,"children":2802},{"style":550},[2803],{"type":398,"value":622},{"type":393,"tag":538,"props":2805,"children":2806},{"style":604},[2807],{"type":398,"value":987},{"type":393,"tag":538,"props":2809,"children":2810},{"style":550},[2811],{"type":398,"value":622},{"type":393,"tag":538,"props":2813,"children":2814},{"style":604},[2815],{"type":398,"value":2759},{"type":393,"tag":538,"props":2817,"children":2818},{"style":550},[2819],{"type":398,"value":1229},{"type":393,"tag":538,"props":2821,"children":2822},{"class":540,"line":233},[2823,2827],{"type":393,"tag":538,"props":2824,"children":2825},{"style":674},[2826],{"type":398,"value":853},{"type":393,"tag":538,"props":2828,"children":2829},{"style":550},[2830],{"type":398,"value":892},{"type":393,"tag":538,"props":2832,"children":2833},{"class":540,"line":244},[2834],{"type":393,"tag":538,"props":2835,"children":2836},{"emptyLinePlaceholder":12},[2837],{"type":398,"value":571},{"type":393,"tag":538,"props":2839,"children":2840},{"class":540,"line":253},[2841,2845,2849,2854],{"type":393,"tag":538,"props":2842,"children":2843},{"style":674},[2844],{"type":398,"value":853},{"type":393,"tag":538,"props":2846,"children":2847},{"style":550},[2848],{"type":398,"value":858},{"type":393,"tag":538,"props":2850,"children":2851},{"style":604},[2852],{"type":398,"value":2853},"\"2️⃣ Sales OR IT department:\"",{"type":393,"tag":538,"props":2855,"children":2856},{"style":550},[2857],{"type":398,"value":868},{"type":393,"tag":538,"props":2859,"children":2860},{"class":540,"line":262},[2861,2866,2870],{"type":393,"tag":538,"props":2862,"children":2863},{"style":550},[2864],{"type":398,"value":2865},"sales_or_it ",{"type":393,"tag":538,"props":2867,"children":2868},{"style":544},[2869],{"type":398,"value":593},{"type":393,"tag":538,"props":2871,"children":2872},{"style":550},[2873],{"type":398,"value":2715},{"type":393,"tag":538,"props":2875,"children":2876},{"class":540,"line":271},[2877,2881,2886,2890,2894,2899,2903,2907,2911,2915,2919,2923,2928],{"type":393,"tag":538,"props":2878,"children":2879},{"style":550},[2880],{"type":398,"value":2723},{"type":393,"tag":538,"props":2882,"children":2883},{"style":604},[2884],{"type":398,"value":2885},"'department'",{"type":393,"tag":538,"props":2887,"children":2888},{"style":550},[2889],{"type":398,"value":992},{"type":393,"tag":538,"props":2891,"children":2892},{"style":544},[2893],{"type":398,"value":1094},{"type":393,"tag":538,"props":2895,"children":2896},{"style":604},[2897],{"type":398,"value":2898}," 'Sales'",{"type":393,"tag":538,"props":2900,"children":2901},{"style":550},[2902],{"type":398,"value":2745},{"type":393,"tag":538,"props":2904,"children":2905},{"style":544},[2906],{"type":398,"value":2134},{"type":393,"tag":538,"props":2908,"children":2909},{"style":550},[2910],{"type":398,"value":2754},{"type":393,"tag":538,"props":2912,"children":2913},{"style":604},[2914],{"type":398,"value":2885},{"type":393,"tag":538,"props":2916,"children":2917},{"style":550},[2918],{"type":398,"value":992},{"type":393,"tag":538,"props":2920,"children":2921},{"style":544},[2922],{"type":398,"value":1094},{"type":393,"tag":538,"props":2924,"children":2925},{"style":604},[2926],{"type":398,"value":2927}," 'IT'",{"type":393,"tag":538,"props":2929,"children":2930},{"style":550},[2931],{"type":398,"value":868},{"type":393,"tag":538,"props":2933,"children":2934},{"class":540,"line":281},[2935],{"type":393,"tag":538,"props":2936,"children":2937},{"style":550},[2938],{"type":398,"value":830},{"type":393,"tag":538,"props":2940,"children":2941},{"class":540,"line":290},[2942,2946,2951,2955,2959,2963],{"type":393,"tag":538,"props":2943,"children":2944},{"style":674},[2945],{"type":398,"value":853},{"type":393,"tag":538,"props":2947,"children":2948},{"style":550},[2949],{"type":398,"value":2950},"(sales_or_it[[",{"type":393,"tag":538,"props":2952,"children":2953},{"style":604},[2954],{"type":398,"value":1216},{"type":393,"tag":538,"props":2956,"children":2957},{"style":550},[2958],{"type":398,"value":622},{"type":393,"tag":538,"props":2960,"children":2961},{"style":604},[2962],{"type":398,"value":2885},{"type":393,"tag":538,"props":2964,"children":2965},{"style":550},[2966],{"type":398,"value":1229},{"type":393,"tag":538,"props":2968,"children":2969},{"class":540,"line":299},[2970,2974],{"type":393,"tag":538,"props":2971,"children":2972},{"style":674},[2973],{"type":398,"value":853},{"type":393,"tag":538,"props":2975,"children":2976},{"style":550},[2977],{"type":398,"value":892},{"type":393,"tag":538,"props":2979,"children":2980},{"class":540,"line":308},[2981],{"type":393,"tag":538,"props":2982,"children":2983},{"emptyLinePlaceholder":12},[2984],{"type":398,"value":571},{"type":393,"tag":538,"props":2986,"children":2987},{"class":540,"line":318},[2988,2992,2996,3001],{"type":393,"tag":538,"props":2989,"children":2990},{"style":674},[2991],{"type":398,"value":853},{"type":393,"tag":538,"props":2993,"children":2994},{"style":550},[2995],{"type":398,"value":858},{"type":393,"tag":538,"props":2997,"children":2998},{"style":604},[2999],{"type":398,"value":3000},"\"3️⃣ Experienced (>5 years) AND well-paid (>60000):\"",{"type":393,"tag":538,"props":3002,"children":3003},{"style":550},[3004],{"type":398,"value":868},{"type":393,"tag":538,"props":3006,"children":3007},{"class":540,"line":327},[3008,3013,3017],{"type":393,"tag":538,"props":3009,"children":3010},{"style":550},[3011],{"type":398,"value":3012},"experienced_well_paid ",{"type":393,"tag":538,"props":3014,"children":3015},{"style":544},[3016],{"type":398,"value":593},{"type":393,"tag":538,"props":3018,"children":3019},{"style":550},[3020],{"type":398,"value":2715},{"type":393,"tag":538,"props":3022,"children":3023},{"class":540,"line":336},[3024,3028,3033,3037,3041,3046,3050,3054,3058,3062,3066,3070,3075],{"type":393,"tag":538,"props":3025,"children":3026},{"style":550},[3027],{"type":398,"value":2723},{"type":393,"tag":538,"props":3029,"children":3030},{"style":604},[3031],{"type":398,"value":3032},"'years'",{"type":393,"tag":538,"props":3034,"children":3035},{"style":550},[3036],{"type":398,"value":992},{"type":393,"tag":538,"props":3038,"children":3039},{"style":544},[3040],{"type":398,"value":997},{"type":393,"tag":538,"props":3042,"children":3043},{"style":674},[3044],{"type":398,"value":3045}," 5",{"type":393,"tag":538,"props":3047,"children":3048},{"style":550},[3049],{"type":398,"value":2745},{"type":393,"tag":538,"props":3051,"children":3052},{"style":544},[3053],{"type":398,"value":2126},{"type":393,"tag":538,"props":3055,"children":3056},{"style":550},[3057],{"type":398,"value":2754},{"type":393,"tag":538,"props":3059,"children":3060},{"style":604},[3061],{"type":398,"value":2759},{"type":393,"tag":538,"props":3063,"children":3064},{"style":550},[3065],{"type":398,"value":992},{"type":393,"tag":538,"props":3067,"children":3068},{"style":544},[3069],{"type":398,"value":997},{"type":393,"tag":538,"props":3071,"children":3072},{"style":674},[3073],{"type":398,"value":3074}," 60000",{"type":393,"tag":538,"props":3076,"children":3077},{"style":550},[3078],{"type":398,"value":868},{"type":393,"tag":538,"props":3080,"children":3081},{"class":540,"line":346},[3082],{"type":393,"tag":538,"props":3083,"children":3084},{"style":550},[3085],{"type":398,"value":830},{"type":393,"tag":538,"props":3087,"children":3088},{"class":540,"line":355},[3089,3093,3098,3102,3106,3110,3114,3118],{"type":393,"tag":538,"props":3090,"children":3091},{"style":674},[3092],{"type":398,"value":853},{"type":393,"tag":538,"props":3094,"children":3095},{"style":550},[3096],{"type":398,"value":3097},"(experienced_well_paid[[",{"type":393,"tag":538,"props":3099,"children":3100},{"style":604},[3101],{"type":398,"value":1216},{"type":393,"tag":538,"props":3103,"children":3104},{"style":550},[3105],{"type":398,"value":622},{"type":393,"tag":538,"props":3107,"children":3108},{"style":604},[3109],{"type":398,"value":3032},{"type":393,"tag":538,"props":3111,"children":3112},{"style":550},[3113],{"type":398,"value":622},{"type":393,"tag":538,"props":3115,"children":3116},{"style":604},[3117],{"type":398,"value":2759},{"type":393,"tag":538,"props":3119,"children":3120},{"style":550},[3121],{"type":398,"value":1229},{"type":393,"tag":512,"props":3123,"children":3125},{"id":3124},"text-based-conditions",[3126],{"type":398,"value":3127},"📝 Text-Based Conditions",{"type":393,"tag":401,"props":3129,"children":3130},{},[3131],{"type":398,"value":3132},"Special methods for filtering text data:",{"type":393,"tag":524,"props":3134,"children":3135},{},[3136],{"type":393,"tag":528,"props":3137,"children":3139},{"className":530,"code":3138,"language":532,"meta":6,"style":6},"import pandas as pd\n\n# Customer data\ncustomers = pd.DataFrame({\n    'name': ['Alice Johnson', 'Bob Smith', 'Charlie Brown', 'Diana Lee'],\n    'email': ['alice@gmail.com', 'bob@yahoo.com', 'charlie@gmail.com', 'diana@outlook.com'],\n    'city': ['New York', 'Los Angeles', 'New York', 'Chicago'],\n    'status': ['Active', 'Inactive', 'Active', 'Active']\n})\n\nprint(\"Customer Data:\")\nprint(customers)\nprint()\n\nprint(\"📝 Text Filtering:\")\nprint()\n\nprint(\"1️⃣ Names starting with 'A':\")\na_names = customers[customers['name'].str.startswith('A')]\nprint(a_names[['name']])\nprint()\n\nprint(\"2️⃣ Gmail users:\")\ngmail_users = customers[customers['email'].str.contains('gmail')]\nprint(gmail_users[['name', 'email']])\nprint()\n\nprint(\"3️⃣ New York customers who are active:\")\nny_active = customers[\n    (customers['city'] == 'New York') & (customers['status'] == 'Active')\n]\nprint(ny_active[['name', 'city', 'status']])\nprint()\n\nprint(\"4️⃣ Names containing 'o':\")\nnames_with_o = customers[customers['name'].str.contains('o', case=False)]\nprint(names_with_o[['name']])\n",[3140],{"type":393,"tag":441,"props":3141,"children":3142},{"__ignoreMap":6},[3143,3162,3169,3177,3193,3240,3288,3335,3381,3388,3395,3415,3427,3438,3445,3465,3476,3483,3503,3538,3558,3569,3576,3596,3631,3659,3670,3677,3697,3714,3775,3782,3818,3829,3836,3856,3908],{"type":393,"tag":538,"props":3144,"children":3145},{"class":540,"line":11},[3146,3150,3154,3158],{"type":393,"tag":538,"props":3147,"children":3148},{"style":544},[3149],{"type":398,"value":547},{"type":393,"tag":538,"props":3151,"children":3152},{"style":550},[3153],{"type":398,"value":553},{"type":393,"tag":538,"props":3155,"children":3156},{"style":544},[3157],{"type":398,"value":558},{"type":393,"tag":538,"props":3159,"children":3160},{"style":550},[3161],{"type":398,"value":563},{"type":393,"tag":538,"props":3163,"children":3164},{"class":540,"line":27},[3165],{"type":393,"tag":538,"props":3166,"children":3167},{"emptyLinePlaceholder":12},[3168],{"type":398,"value":571},{"type":393,"tag":538,"props":3170,"children":3171},{"class":540,"line":36},[3172],{"type":393,"tag":538,"props":3173,"children":3174},{"style":577},[3175],{"type":398,"value":3176},"# Customer data\n",{"type":393,"tag":538,"props":3178,"children":3179},{"class":540,"line":45},[3180,3185,3189],{"type":393,"tag":538,"props":3181,"children":3182},{"style":550},[3183],{"type":398,"value":3184},"customers ",{"type":393,"tag":538,"props":3186,"children":3187},{"style":544},[3188],{"type":398,"value":593},{"type":393,"tag":538,"props":3190,"children":3191},{"style":550},[3192],{"type":398,"value":598},{"type":393,"tag":538,"props":3194,"children":3195},{"class":540,"line":54},[3196,3200,3204,3209,3213,3218,3222,3227,3231,3236],{"type":393,"tag":538,"props":3197,"children":3198},{"style":604},[3199],{"type":398,"value":607},{"type":393,"tag":538,"props":3201,"children":3202},{"style":550},[3203],{"type":398,"value":612},{"type":393,"tag":538,"props":3205,"children":3206},{"style":604},[3207],{"type":398,"value":3208},"'Alice Johnson'",{"type":393,"tag":538,"props":3210,"children":3211},{"style":550},[3212],{"type":398,"value":622},{"type":393,"tag":538,"props":3214,"children":3215},{"style":604},[3216],{"type":398,"value":3217},"'Bob Smith'",{"type":393,"tag":538,"props":3219,"children":3220},{"style":550},[3221],{"type":398,"value":622},{"type":393,"tag":538,"props":3223,"children":3224},{"style":604},[3225],{"type":398,"value":3226},"'Charlie Brown'",{"type":393,"tag":538,"props":3228,"children":3229},{"style":550},[3230],{"type":398,"value":622},{"type":393,"tag":538,"props":3232,"children":3233},{"style":604},[3234],{"type":398,"value":3235},"'Diana Lee'",{"type":393,"tag":538,"props":3237,"children":3238},{"style":550},[3239],{"type":398,"value":659},{"type":393,"tag":538,"props":3241,"children":3242},{"class":540,"line":63},[3243,3248,3252,3257,3261,3266,3270,3275,3279,3284],{"type":393,"tag":538,"props":3244,"children":3245},{"style":604},[3246],{"type":398,"value":3247},"    'email'",{"type":393,"tag":538,"props":3249,"children":3250},{"style":550},[3251],{"type":398,"value":612},{"type":393,"tag":538,"props":3253,"children":3254},{"style":604},[3255],{"type":398,"value":3256},"'alice@gmail.com'",{"type":393,"tag":538,"props":3258,"children":3259},{"style":550},[3260],{"type":398,"value":622},{"type":393,"tag":538,"props":3262,"children":3263},{"style":604},[3264],{"type":398,"value":3265},"'bob@yahoo.com'",{"type":393,"tag":538,"props":3267,"children":3268},{"style":550},[3269],{"type":398,"value":622},{"type":393,"tag":538,"props":3271,"children":3272},{"style":604},[3273],{"type":398,"value":3274},"'charlie@gmail.com'",{"type":393,"tag":538,"props":3276,"children":3277},{"style":550},[3278],{"type":398,"value":622},{"type":393,"tag":538,"props":3280,"children":3281},{"style":604},[3282],{"type":398,"value":3283},"'diana@outlook.com'",{"type":393,"tag":538,"props":3285,"children":3286},{"style":550},[3287],{"type":398,"value":659},{"type":393,"tag":538,"props":3289,"children":3290},{"class":540,"line":72},[3291,3296,3300,3305,3309,3314,3318,3322,3326,3331],{"type":393,"tag":538,"props":3292,"children":3293},{"style":604},[3294],{"type":398,"value":3295},"    'city'",{"type":393,"tag":538,"props":3297,"children":3298},{"style":550},[3299],{"type":398,"value":612},{"type":393,"tag":538,"props":3301,"children":3302},{"style":604},[3303],{"type":398,"value":3304},"'New York'",{"type":393,"tag":538,"props":3306,"children":3307},{"style":550},[3308],{"type":398,"value":622},{"type":393,"tag":538,"props":3310,"children":3311},{"style":604},[3312],{"type":398,"value":3313},"'Los Angeles'",{"type":393,"tag":538,"props":3315,"children":3316},{"style":550},[3317],{"type":398,"value":622},{"type":393,"tag":538,"props":3319,"children":3320},{"style":604},[3321],{"type":398,"value":3304},{"type":393,"tag":538,"props":3323,"children":3324},{"style":550},[3325],{"type":398,"value":622},{"type":393,"tag":538,"props":3327,"children":3328},{"style":604},[3329],{"type":398,"value":3330},"'Chicago'",{"type":393,"tag":538,"props":3332,"children":3333},{"style":550},[3334],{"type":398,"value":659},{"type":393,"tag":538,"props":3336,"children":3337},{"class":540,"line":83},[3338,3343,3347,3352,3356,3361,3365,3369,3373,3377],{"type":393,"tag":538,"props":3339,"children":3340},{"style":604},[3341],{"type":398,"value":3342},"    'status'",{"type":393,"tag":538,"props":3344,"children":3345},{"style":550},[3346],{"type":398,"value":612},{"type":393,"tag":538,"props":3348,"children":3349},{"style":604},[3350],{"type":398,"value":3351},"'Active'",{"type":393,"tag":538,"props":3353,"children":3354},{"style":550},[3355],{"type":398,"value":622},{"type":393,"tag":538,"props":3357,"children":3358},{"style":604},[3359],{"type":398,"value":3360},"'Inactive'",{"type":393,"tag":538,"props":3362,"children":3363},{"style":550},[3364],{"type":398,"value":622},{"type":393,"tag":538,"props":3366,"children":3367},{"style":604},[3368],{"type":398,"value":3351},{"type":393,"tag":538,"props":3370,"children":3371},{"style":550},[3372],{"type":398,"value":622},{"type":393,"tag":538,"props":3374,"children":3375},{"style":604},[3376],{"type":398,"value":3351},{"type":393,"tag":538,"props":3378,"children":3379},{"style":550},[3380],{"type":398,"value":830},{"type":393,"tag":538,"props":3382,"children":3383},{"class":540,"line":92},[3384],{"type":393,"tag":538,"props":3385,"children":3386},{"style":550},[3387],{"type":398,"value":838},{"type":393,"tag":538,"props":3389,"children":3390},{"class":540,"line":101},[3391],{"type":393,"tag":538,"props":3392,"children":3393},{"emptyLinePlaceholder":12},[3394],{"type":398,"value":571},{"type":393,"tag":538,"props":3396,"children":3397},{"class":540,"line":110},[3398,3402,3406,3411],{"type":393,"tag":538,"props":3399,"children":3400},{"style":674},[3401],{"type":398,"value":853},{"type":393,"tag":538,"props":3403,"children":3404},{"style":550},[3405],{"type":398,"value":858},{"type":393,"tag":538,"props":3407,"children":3408},{"style":604},[3409],{"type":398,"value":3410},"\"Customer Data:\"",{"type":393,"tag":538,"props":3412,"children":3413},{"style":550},[3414],{"type":398,"value":868},{"type":393,"tag":538,"props":3416,"children":3417},{"class":540,"line":121},[3418,3422],{"type":393,"tag":538,"props":3419,"children":3420},{"style":674},[3421],{"type":398,"value":853},{"type":393,"tag":538,"props":3423,"children":3424},{"style":550},[3425],{"type":398,"value":3426},"(customers)\n",{"type":393,"tag":538,"props":3428,"children":3429},{"class":540,"line":130},[3430,3434],{"type":393,"tag":538,"props":3431,"children":3432},{"style":674},[3433],{"type":398,"value":853},{"type":393,"tag":538,"props":3435,"children":3436},{"style":550},[3437],{"type":398,"value":892},{"type":393,"tag":538,"props":3439,"children":3440},{"class":540,"line":139},[3441],{"type":393,"tag":538,"props":3442,"children":3443},{"emptyLinePlaceholder":12},[3444],{"type":398,"value":571},{"type":393,"tag":538,"props":3446,"children":3447},{"class":540,"line":148},[3448,3452,3456,3461],{"type":393,"tag":538,"props":3449,"children":3450},{"style":674},[3451],{"type":398,"value":853},{"type":393,"tag":538,"props":3453,"children":3454},{"style":550},[3455],{"type":398,"value":858},{"type":393,"tag":538,"props":3457,"children":3458},{"style":604},[3459],{"type":398,"value":3460},"\"📝 Text Filtering:\"",{"type":393,"tag":538,"props":3462,"children":3463},{"style":550},[3464],{"type":398,"value":868},{"type":393,"tag":538,"props":3466,"children":3467},{"class":540,"line":159},[3468,3472],{"type":393,"tag":538,"props":3469,"children":3470},{"style":674},[3471],{"type":398,"value":853},{"type":393,"tag":538,"props":3473,"children":3474},{"style":550},[3475],{"type":398,"value":892},{"type":393,"tag":538,"props":3477,"children":3478},{"class":540,"line":168},[3479],{"type":393,"tag":538,"props":3480,"children":3481},{"emptyLinePlaceholder":12},[3482],{"type":398,"value":571},{"type":393,"tag":538,"props":3484,"children":3485},{"class":540,"line":177},[3486,3490,3494,3499],{"type":393,"tag":538,"props":3487,"children":3488},{"style":674},[3489],{"type":398,"value":853},{"type":393,"tag":538,"props":3491,"children":3492},{"style":550},[3493],{"type":398,"value":858},{"type":393,"tag":538,"props":3495,"children":3496},{"style":604},[3497],{"type":398,"value":3498},"\"1️⃣ Names starting with 'A':\"",{"type":393,"tag":538,"props":3500,"children":3501},{"style":550},[3502],{"type":398,"value":868},{"type":393,"tag":538,"props":3504,"children":3505},{"class":540,"line":186},[3506,3511,3515,3520,3524,3529,3533],{"type":393,"tag":538,"props":3507,"children":3508},{"style":550},[3509],{"type":398,"value":3510},"a_names ",{"type":393,"tag":538,"props":3512,"children":3513},{"style":544},[3514],{"type":398,"value":593},{"type":393,"tag":538,"props":3516,"children":3517},{"style":550},[3518],{"type":398,"value":3519}," customers[customers[",{"type":393,"tag":538,"props":3521,"children":3522},{"style":604},[3523],{"type":398,"value":1216},{"type":393,"tag":538,"props":3525,"children":3526},{"style":550},[3527],{"type":398,"value":3528},"].str.startswith(",{"type":393,"tag":538,"props":3530,"children":3531},{"style":604},[3532],{"type":398,"value":734},{"type":393,"tag":538,"props":3534,"children":3535},{"style":550},[3536],{"type":398,"value":3537},")]\n",{"type":393,"tag":538,"props":3539,"children":3540},{"class":540,"line":197},[3541,3545,3550,3554],{"type":393,"tag":538,"props":3542,"children":3543},{"style":674},[3544],{"type":398,"value":853},{"type":393,"tag":538,"props":3546,"children":3547},{"style":550},[3548],{"type":398,"value":3549},"(a_names[[",{"type":393,"tag":538,"props":3551,"children":3552},{"style":604},[3553],{"type":398,"value":1216},{"type":393,"tag":538,"props":3555,"children":3556},{"style":550},[3557],{"type":398,"value":1229},{"type":393,"tag":538,"props":3559,"children":3560},{"class":540,"line":206},[3561,3565],{"type":393,"tag":538,"props":3562,"children":3563},{"style":674},[3564],{"type":398,"value":853},{"type":393,"tag":538,"props":3566,"children":3567},{"style":550},[3568],{"type":398,"value":892},{"type":393,"tag":538,"props":3570,"children":3571},{"class":540,"line":215},[3572],{"type":393,"tag":538,"props":3573,"children":3574},{"emptyLinePlaceholder":12},[3575],{"type":398,"value":571},{"type":393,"tag":538,"props":3577,"children":3578},{"class":540,"line":224},[3579,3583,3587,3592],{"type":393,"tag":538,"props":3580,"children":3581},{"style":674},[3582],{"type":398,"value":853},{"type":393,"tag":538,"props":3584,"children":3585},{"style":550},[3586],{"type":398,"value":858},{"type":393,"tag":538,"props":3588,"children":3589},{"style":604},[3590],{"type":398,"value":3591},"\"2️⃣ Gmail users:\"",{"type":393,"tag":538,"props":3593,"children":3594},{"style":550},[3595],{"type":398,"value":868},{"type":393,"tag":538,"props":3597,"children":3598},{"class":540,"line":233},[3599,3604,3608,3612,3617,3622,3627],{"type":393,"tag":538,"props":3600,"children":3601},{"style":550},[3602],{"type":398,"value":3603},"gmail_users ",{"type":393,"tag":538,"props":3605,"children":3606},{"style":544},[3607],{"type":398,"value":593},{"type":393,"tag":538,"props":3609,"children":3610},{"style":550},[3611],{"type":398,"value":3519},{"type":393,"tag":538,"props":3613,"children":3614},{"style":604},[3615],{"type":398,"value":3616},"'email'",{"type":393,"tag":538,"props":3618,"children":3619},{"style":550},[3620],{"type":398,"value":3621},"].str.contains(",{"type":393,"tag":538,"props":3623,"children":3624},{"style":604},[3625],{"type":398,"value":3626},"'gmail'",{"type":393,"tag":538,"props":3628,"children":3629},{"style":550},[3630],{"type":398,"value":3537},{"type":393,"tag":538,"props":3632,"children":3633},{"class":540,"line":244},[3634,3638,3643,3647,3651,3655],{"type":393,"tag":538,"props":3635,"children":3636},{"style":674},[3637],{"type":398,"value":853},{"type":393,"tag":538,"props":3639,"children":3640},{"style":550},[3641],{"type":398,"value":3642},"(gmail_users[[",{"type":393,"tag":538,"props":3644,"children":3645},{"style":604},[3646],{"type":398,"value":1216},{"type":393,"tag":538,"props":3648,"children":3649},{"style":550},[3650],{"type":398,"value":622},{"type":393,"tag":538,"props":3652,"children":3653},{"style":604},[3654],{"type":398,"value":3616},{"type":393,"tag":538,"props":3656,"children":3657},{"style":550},[3658],{"type":398,"value":1229},{"type":393,"tag":538,"props":3660,"children":3661},{"class":540,"line":253},[3662,3666],{"type":393,"tag":538,"props":3663,"children":3664},{"style":674},[3665],{"type":398,"value":853},{"type":393,"tag":538,"props":3667,"children":3668},{"style":550},[3669],{"type":398,"value":892},{"type":393,"tag":538,"props":3671,"children":3672},{"class":540,"line":262},[3673],{"type":393,"tag":538,"props":3674,"children":3675},{"emptyLinePlaceholder":12},[3676],{"type":398,"value":571},{"type":393,"tag":538,"props":3678,"children":3679},{"class":540,"line":271},[3680,3684,3688,3693],{"type":393,"tag":538,"props":3681,"children":3682},{"style":674},[3683],{"type":398,"value":853},{"type":393,"tag":538,"props":3685,"children":3686},{"style":550},[3687],{"type":398,"value":858},{"type":393,"tag":538,"props":3689,"children":3690},{"style":604},[3691],{"type":398,"value":3692},"\"3️⃣ New York customers who are active:\"",{"type":393,"tag":538,"props":3694,"children":3695},{"style":550},[3696],{"type":398,"value":868},{"type":393,"tag":538,"props":3698,"children":3699},{"class":540,"line":281},[3700,3705,3709],{"type":393,"tag":538,"props":3701,"children":3702},{"style":550},[3703],{"type":398,"value":3704},"ny_active ",{"type":393,"tag":538,"props":3706,"children":3707},{"style":544},[3708],{"type":398,"value":593},{"type":393,"tag":538,"props":3710,"children":3711},{"style":550},[3712],{"type":398,"value":3713}," customers[\n",{"type":393,"tag":538,"props":3715,"children":3716},{"class":540,"line":290},[3717,3722,3727,3731,3735,3740,3744,3748,3753,3758,3762,3766,3771],{"type":393,"tag":538,"props":3718,"children":3719},{"style":550},[3720],{"type":398,"value":3721},"    (customers[",{"type":393,"tag":538,"props":3723,"children":3724},{"style":604},[3725],{"type":398,"value":3726},"'city'",{"type":393,"tag":538,"props":3728,"children":3729},{"style":550},[3730],{"type":398,"value":992},{"type":393,"tag":538,"props":3732,"children":3733},{"style":544},[3734],{"type":398,"value":1094},{"type":393,"tag":538,"props":3736,"children":3737},{"style":604},[3738],{"type":398,"value":3739}," 'New York'",{"type":393,"tag":538,"props":3741,"children":3742},{"style":550},[3743],{"type":398,"value":2745},{"type":393,"tag":538,"props":3745,"children":3746},{"style":544},[3747],{"type":398,"value":2126},{"type":393,"tag":538,"props":3749,"children":3750},{"style":550},[3751],{"type":398,"value":3752}," (customers[",{"type":393,"tag":538,"props":3754,"children":3755},{"style":604},[3756],{"type":398,"value":3757},"'status'",{"type":393,"tag":538,"props":3759,"children":3760},{"style":550},[3761],{"type":398,"value":992},{"type":393,"tag":538,"props":3763,"children":3764},{"style":544},[3765],{"type":398,"value":1094},{"type":393,"tag":538,"props":3767,"children":3768},{"style":604},[3769],{"type":398,"value":3770}," 'Active'",{"type":393,"tag":538,"props":3772,"children":3773},{"style":550},[3774],{"type":398,"value":868},{"type":393,"tag":538,"props":3776,"children":3777},{"class":540,"line":299},[3778],{"type":393,"tag":538,"props":3779,"children":3780},{"style":550},[3781],{"type":398,"value":830},{"type":393,"tag":538,"props":3783,"children":3784},{"class":540,"line":308},[3785,3789,3794,3798,3802,3806,3810,3814],{"type":393,"tag":538,"props":3786,"children":3787},{"style":674},[3788],{"type":398,"value":853},{"type":393,"tag":538,"props":3790,"children":3791},{"style":550},[3792],{"type":398,"value":3793},"(ny_active[[",{"type":393,"tag":538,"props":3795,"children":3796},{"style":604},[3797],{"type":398,"value":1216},{"type":393,"tag":538,"props":3799,"children":3800},{"style":550},[3801],{"type":398,"value":622},{"type":393,"tag":538,"props":3803,"children":3804},{"style":604},[3805],{"type":398,"value":3726},{"type":393,"tag":538,"props":3807,"children":3808},{"style":550},[3809],{"type":398,"value":622},{"type":393,"tag":538,"props":3811,"children":3812},{"style":604},[3813],{"type":398,"value":3757},{"type":393,"tag":538,"props":3815,"children":3816},{"style":550},[3817],{"type":398,"value":1229},{"type":393,"tag":538,"props":3819,"children":3820},{"class":540,"line":318},[3821,3825],{"type":393,"tag":538,"props":3822,"children":3823},{"style":674},[3824],{"type":398,"value":853},{"type":393,"tag":538,"props":3826,"children":3827},{"style":550},[3828],{"type":398,"value":892},{"type":393,"tag":538,"props":3830,"children":3831},{"class":540,"line":327},[3832],{"type":393,"tag":538,"props":3833,"children":3834},{"emptyLinePlaceholder":12},[3835],{"type":398,"value":571},{"type":393,"tag":538,"props":3837,"children":3838},{"class":540,"line":336},[3839,3843,3847,3852],{"type":393,"tag":538,"props":3840,"children":3841},{"style":674},[3842],{"type":398,"value":853},{"type":393,"tag":538,"props":3844,"children":3845},{"style":550},[3846],{"type":398,"value":858},{"type":393,"tag":538,"props":3848,"children":3849},{"style":604},[3850],{"type":398,"value":3851},"\"4️⃣ Names containing 'o':\"",{"type":393,"tag":538,"props":3853,"children":3854},{"style":550},[3855],{"type":398,"value":868},{"type":393,"tag":538,"props":3857,"children":3858},{"class":540,"line":346},[3859,3864,3868,3872,3876,3880,3885,3889,3895,3899,3904],{"type":393,"tag":538,"props":3860,"children":3861},{"style":550},[3862],{"type":398,"value":3863},"names_with_o ",{"type":393,"tag":538,"props":3865,"children":3866},{"style":544},[3867],{"type":398,"value":593},{"type":393,"tag":538,"props":3869,"children":3870},{"style":550},[3871],{"type":398,"value":3519},{"type":393,"tag":538,"props":3873,"children":3874},{"style":604},[3875],{"type":398,"value":1216},{"type":393,"tag":538,"props":3877,"children":3878},{"style":550},[3879],{"type":398,"value":3621},{"type":393,"tag":538,"props":3881,"children":3882},{"style":604},[3883],{"type":398,"value":3884},"'o'",{"type":393,"tag":538,"props":3886,"children":3887},{"style":550},[3888],{"type":398,"value":622},{"type":393,"tag":538,"props":3890,"children":3892},{"style":3891},"--shiki-default:#E36209;--shiki-app-dark-mode:#FFAB70",[3893],{"type":398,"value":3894},"case",{"type":393,"tag":538,"props":3896,"children":3897},{"style":544},[3898],{"type":398,"value":593},{"type":393,"tag":538,"props":3900,"children":3901},{"style":674},[3902],{"type":398,"value":3903},"False",{"type":393,"tag":538,"props":3905,"children":3906},{"style":550},[3907],{"type":398,"value":3537},{"type":393,"tag":538,"props":3909,"children":3910},{"class":540,"line":355},[3911,3915,3920,3924],{"type":393,"tag":538,"props":3912,"children":3913},{"style":674},[3914],{"type":398,"value":853},{"type":393,"tag":538,"props":3916,"children":3917},{"style":550},[3918],{"type":398,"value":3919},"(names_with_o[[",{"type":393,"tag":538,"props":3921,"children":3922},{"style":604},[3923],{"type":398,"value":1216},{"type":393,"tag":538,"props":3925,"children":3926},{"style":550},[3927],{"type":398,"value":1229},{"type":393,"tag":512,"props":3929,"children":3931},{"id":3930},"using-isin-for-multiple-values",[3932],{"type":398,"value":3933},"📋 Using isin() for Multiple Values",{"type":393,"tag":401,"props":3935,"children":3936},{},[3937],{"type":398,"value":3938},"Filter for multiple specific values at once:",{"type":393,"tag":524,"props":3940,"children":3941},{},[3942],{"type":393,"tag":528,"props":3943,"children":3945},{"className":530,"code":3944,"language":532,"meta":6,"style":6},"import pandas as pd\n\n# Order data\norders = pd.DataFrame({\n    'order_id': [1001, 1002, 1003, 1004, 1005, 1006],\n    'customer': ['Alice', 'Bob', 'Charlie', 'Alice', 'Diana', 'Bob'],\n    'product': ['Laptop', 'Mouse', 'Keyboard', 'Monitor', 'Tablet', 'Laptop'],\n    'status': ['Shipped', 'Pending', 'Delivered', 'Shipped', 'Cancelled', 'Delivered']\n})\n\nprint(\"Order Data:\")\nprint(orders)\nprint()\n\nprint(\"📋 Multiple Value Filtering:\")\nprint()\n\nprint(\"1️⃣ Orders from Alice or Bob:\")\nspecific_customers = orders[orders['customer'].isin(['Alice', 'Bob'])]\nprint(specific_customers[['order_id', 'customer', 'product']])\nprint()\n\nprint(\"2️⃣ Computer products (Laptop, Monitor, Tablet):\")\ncomputers = ['Laptop', 'Monitor', 'Tablet']\ncomputer_orders = orders[orders['product'].isin(computers)]\nprint(computer_orders[['product', 'customer']])\nprint()\n\nprint(\"3️⃣ Active statuses (Shipped or Delivered):\")\nactive_statuses = ['Shipped', 'Delivered']\nactive_orders = orders[orders['status'].isin(active_statuses)]\nprint(active_orders[['order_id', 'status']])\n",[3946],{"type":393,"tag":441,"props":3947,"children":3948},{"__ignoreMap":6},[3949,3968,3975,3983,3999,4065,4125,4184,4247,4254,4261,4281,4293,4304,4311,4331,4342,4349,4369,4413,4450,4461,4468,4488,4529,4554,4582,4593,4600,4620,4652,4677],{"type":393,"tag":538,"props":3950,"children":3951},{"class":540,"line":11},[3952,3956,3960,3964],{"type":393,"tag":538,"props":3953,"children":3954},{"style":544},[3955],{"type":398,"value":547},{"type":393,"tag":538,"props":3957,"children":3958},{"style":550},[3959],{"type":398,"value":553},{"type":393,"tag":538,"props":3961,"children":3962},{"style":544},[3963],{"type":398,"value":558},{"type":393,"tag":538,"props":3965,"children":3966},{"style":550},[3967],{"type":398,"value":563},{"type":393,"tag":538,"props":3969,"children":3970},{"class":540,"line":27},[3971],{"type":393,"tag":538,"props":3972,"children":3973},{"emptyLinePlaceholder":12},[3974],{"type":398,"value":571},{"type":393,"tag":538,"props":3976,"children":3977},{"class":540,"line":36},[3978],{"type":393,"tag":538,"props":3979,"children":3980},{"style":577},[3981],{"type":398,"value":3982},"# Order data\n",{"type":393,"tag":538,"props":3984,"children":3985},{"class":540,"line":45},[3986,3991,3995],{"type":393,"tag":538,"props":3987,"children":3988},{"style":550},[3989],{"type":398,"value":3990},"orders ",{"type":393,"tag":538,"props":3992,"children":3993},{"style":544},[3994],{"type":398,"value":593},{"type":393,"tag":538,"props":3996,"children":3997},{"style":550},[3998],{"type":398,"value":598},{"type":393,"tag":538,"props":4000,"children":4001},{"class":540,"line":54},[4002,4007,4011,4016,4020,4025,4029,4034,4038,4043,4047,4052,4056,4061],{"type":393,"tag":538,"props":4003,"children":4004},{"style":604},[4005],{"type":398,"value":4006},"    'order_id'",{"type":393,"tag":538,"props":4008,"children":4009},{"style":550},[4010],{"type":398,"value":612},{"type":393,"tag":538,"props":4012,"children":4013},{"style":674},[4014],{"type":398,"value":4015},"1001",{"type":393,"tag":538,"props":4017,"children":4018},{"style":550},[4019],{"type":398,"value":622},{"type":393,"tag":538,"props":4021,"children":4022},{"style":674},[4023],{"type":398,"value":4024},"1002",{"type":393,"tag":538,"props":4026,"children":4027},{"style":550},[4028],{"type":398,"value":622},{"type":393,"tag":538,"props":4030,"children":4031},{"style":674},[4032],{"type":398,"value":4033},"1003",{"type":393,"tag":538,"props":4035,"children":4036},{"style":550},[4037],{"type":398,"value":622},{"type":393,"tag":538,"props":4039,"children":4040},{"style":674},[4041],{"type":398,"value":4042},"1004",{"type":393,"tag":538,"props":4044,"children":4045},{"style":550},[4046],{"type":398,"value":622},{"type":393,"tag":538,"props":4048,"children":4049},{"style":674},[4050],{"type":398,"value":4051},"1005",{"type":393,"tag":538,"props":4053,"children":4054},{"style":550},[4055],{"type":398,"value":622},{"type":393,"tag":538,"props":4057,"children":4058},{"style":674},[4059],{"type":398,"value":4060},"1006",{"type":393,"tag":538,"props":4062,"children":4063},{"style":550},[4064],{"type":398,"value":659},{"type":393,"tag":538,"props":4066,"children":4067},{"class":540,"line":63},[4068,4073,4077,4081,4085,4089,4093,4097,4101,4105,4109,4113,4117,4121],{"type":393,"tag":538,"props":4069,"children":4070},{"style":604},[4071],{"type":398,"value":4072},"    'customer'",{"type":393,"tag":538,"props":4074,"children":4075},{"style":550},[4076],{"type":398,"value":612},{"type":393,"tag":538,"props":4078,"children":4079},{"style":604},[4080],{"type":398,"value":617},{"type":393,"tag":538,"props":4082,"children":4083},{"style":550},[4084],{"type":398,"value":622},{"type":393,"tag":538,"props":4086,"children":4087},{"style":604},[4088],{"type":398,"value":627},{"type":393,"tag":538,"props":4090,"children":4091},{"style":550},[4092],{"type":398,"value":622},{"type":393,"tag":538,"props":4094,"children":4095},{"style":604},[4096],{"type":398,"value":636},{"type":393,"tag":538,"props":4098,"children":4099},{"style":550},[4100],{"type":398,"value":622},{"type":393,"tag":538,"props":4102,"children":4103},{"style":604},[4104],{"type":398,"value":617},{"type":393,"tag":538,"props":4106,"children":4107},{"style":550},[4108],{"type":398,"value":622},{"type":393,"tag":538,"props":4110,"children":4111},{"style":604},[4112],{"type":398,"value":645},{"type":393,"tag":538,"props":4114,"children":4115},{"style":550},[4116],{"type":398,"value":622},{"type":393,"tag":538,"props":4118,"children":4119},{"style":604},[4120],{"type":398,"value":627},{"type":393,"tag":538,"props":4122,"children":4123},{"style":550},[4124],{"type":398,"value":659},{"type":393,"tag":538,"props":4126,"children":4127},{"class":540,"line":72},[4128,4132,4136,4140,4144,4148,4152,4156,4160,4164,4168,4172,4176,4180],{"type":393,"tag":538,"props":4129,"children":4130},{"style":604},[4131],{"type":398,"value":1495},{"type":393,"tag":538,"props":4133,"children":4134},{"style":550},[4135],{"type":398,"value":612},{"type":393,"tag":538,"props":4137,"children":4138},{"style":604},[4139],{"type":398,"value":1504},{"type":393,"tag":538,"props":4141,"children":4142},{"style":550},[4143],{"type":398,"value":622},{"type":393,"tag":538,"props":4145,"children":4146},{"style":604},[4147],{"type":398,"value":1513},{"type":393,"tag":538,"props":4149,"children":4150},{"style":550},[4151],{"type":398,"value":622},{"type":393,"tag":538,"props":4153,"children":4154},{"style":604},[4155],{"type":398,"value":1522},{"type":393,"tag":538,"props":4157,"children":4158},{"style":550},[4159],{"type":398,"value":622},{"type":393,"tag":538,"props":4161,"children":4162},{"style":604},[4163],{"type":398,"value":1531},{"type":393,"tag":538,"props":4165,"children":4166},{"style":550},[4167],{"type":398,"value":622},{"type":393,"tag":538,"props":4169,"children":4170},{"style":604},[4171],{"type":398,"value":1540},{"type":393,"tag":538,"props":4173,"children":4174},{"style":550},[4175],{"type":398,"value":622},{"type":393,"tag":538,"props":4177,"children":4178},{"style":604},[4179],{"type":398,"value":1504},{"type":393,"tag":538,"props":4181,"children":4182},{"style":550},[4183],{"type":398,"value":659},{"type":393,"tag":538,"props":4185,"children":4186},{"class":540,"line":83},[4187,4191,4195,4200,4204,4209,4213,4218,4222,4226,4230,4235,4239,4243],{"type":393,"tag":538,"props":4188,"children":4189},{"style":604},[4190],{"type":398,"value":3342},{"type":393,"tag":538,"props":4192,"children":4193},{"style":550},[4194],{"type":398,"value":612},{"type":393,"tag":538,"props":4196,"children":4197},{"style":604},[4198],{"type":398,"value":4199},"'Shipped'",{"type":393,"tag":538,"props":4201,"children":4202},{"style":550},[4203],{"type":398,"value":622},{"type":393,"tag":538,"props":4205,"children":4206},{"style":604},[4207],{"type":398,"value":4208},"'Pending'",{"type":393,"tag":538,"props":4210,"children":4211},{"style":550},[4212],{"type":398,"value":622},{"type":393,"tag":538,"props":4214,"children":4215},{"style":604},[4216],{"type":398,"value":4217},"'Delivered'",{"type":393,"tag":538,"props":4219,"children":4220},{"style":550},[4221],{"type":398,"value":622},{"type":393,"tag":538,"props":4223,"children":4224},{"style":604},[4225],{"type":398,"value":4199},{"type":393,"tag":538,"props":4227,"children":4228},{"style":550},[4229],{"type":398,"value":622},{"type":393,"tag":538,"props":4231,"children":4232},{"style":604},[4233],{"type":398,"value":4234},"'Cancelled'",{"type":393,"tag":538,"props":4236,"children":4237},{"style":550},[4238],{"type":398,"value":622},{"type":393,"tag":538,"props":4240,"children":4241},{"style":604},[4242],{"type":398,"value":4217},{"type":393,"tag":538,"props":4244,"children":4245},{"style":550},[4246],{"type":398,"value":830},{"type":393,"tag":538,"props":4248,"children":4249},{"class":540,"line":92},[4250],{"type":393,"tag":538,"props":4251,"children":4252},{"style":550},[4253],{"type":398,"value":838},{"type":393,"tag":538,"props":4255,"children":4256},{"class":540,"line":101},[4257],{"type":393,"tag":538,"props":4258,"children":4259},{"emptyLinePlaceholder":12},[4260],{"type":398,"value":571},{"type":393,"tag":538,"props":4262,"children":4263},{"class":540,"line":110},[4264,4268,4272,4277],{"type":393,"tag":538,"props":4265,"children":4266},{"style":674},[4267],{"type":398,"value":853},{"type":393,"tag":538,"props":4269,"children":4270},{"style":550},[4271],{"type":398,"value":858},{"type":393,"tag":538,"props":4273,"children":4274},{"style":604},[4275],{"type":398,"value":4276},"\"Order Data:\"",{"type":393,"tag":538,"props":4278,"children":4279},{"style":550},[4280],{"type":398,"value":868},{"type":393,"tag":538,"props":4282,"children":4283},{"class":540,"line":121},[4284,4288],{"type":393,"tag":538,"props":4285,"children":4286},{"style":674},[4287],{"type":398,"value":853},{"type":393,"tag":538,"props":4289,"children":4290},{"style":550},[4291],{"type":398,"value":4292},"(orders)\n",{"type":393,"tag":538,"props":4294,"children":4295},{"class":540,"line":130},[4296,4300],{"type":393,"tag":538,"props":4297,"children":4298},{"style":674},[4299],{"type":398,"value":853},{"type":393,"tag":538,"props":4301,"children":4302},{"style":550},[4303],{"type":398,"value":892},{"type":393,"tag":538,"props":4305,"children":4306},{"class":540,"line":139},[4307],{"type":393,"tag":538,"props":4308,"children":4309},{"emptyLinePlaceholder":12},[4310],{"type":398,"value":571},{"type":393,"tag":538,"props":4312,"children":4313},{"class":540,"line":148},[4314,4318,4322,4327],{"type":393,"tag":538,"props":4315,"children":4316},{"style":674},[4317],{"type":398,"value":853},{"type":393,"tag":538,"props":4319,"children":4320},{"style":550},[4321],{"type":398,"value":858},{"type":393,"tag":538,"props":4323,"children":4324},{"style":604},[4325],{"type":398,"value":4326},"\"📋 Multiple Value Filtering:\"",{"type":393,"tag":538,"props":4328,"children":4329},{"style":550},[4330],{"type":398,"value":868},{"type":393,"tag":538,"props":4332,"children":4333},{"class":540,"line":159},[4334,4338],{"type":393,"tag":538,"props":4335,"children":4336},{"style":674},[4337],{"type":398,"value":853},{"type":393,"tag":538,"props":4339,"children":4340},{"style":550},[4341],{"type":398,"value":892},{"type":393,"tag":538,"props":4343,"children":4344},{"class":540,"line":168},[4345],{"type":393,"tag":538,"props":4346,"children":4347},{"emptyLinePlaceholder":12},[4348],{"type":398,"value":571},{"type":393,"tag":538,"props":4350,"children":4351},{"class":540,"line":177},[4352,4356,4360,4365],{"type":393,"tag":538,"props":4353,"children":4354},{"style":674},[4355],{"type":398,"value":853},{"type":393,"tag":538,"props":4357,"children":4358},{"style":550},[4359],{"type":398,"value":858},{"type":393,"tag":538,"props":4361,"children":4362},{"style":604},[4363],{"type":398,"value":4364},"\"1️⃣ Orders from Alice or Bob:\"",{"type":393,"tag":538,"props":4366,"children":4367},{"style":550},[4368],{"type":398,"value":868},{"type":393,"tag":538,"props":4370,"children":4371},{"class":540,"line":186},[4372,4377,4381,4386,4391,4396,4400,4404,4408],{"type":393,"tag":538,"props":4373,"children":4374},{"style":550},[4375],{"type":398,"value":4376},"specific_customers ",{"type":393,"tag":538,"props":4378,"children":4379},{"style":544},[4380],{"type":398,"value":593},{"type":393,"tag":538,"props":4382,"children":4383},{"style":550},[4384],{"type":398,"value":4385}," orders[orders[",{"type":393,"tag":538,"props":4387,"children":4388},{"style":604},[4389],{"type":398,"value":4390},"'customer'",{"type":393,"tag":538,"props":4392,"children":4393},{"style":550},[4394],{"type":398,"value":4395},"].isin([",{"type":393,"tag":538,"props":4397,"children":4398},{"style":604},[4399],{"type":398,"value":617},{"type":393,"tag":538,"props":4401,"children":4402},{"style":550},[4403],{"type":398,"value":622},{"type":393,"tag":538,"props":4405,"children":4406},{"style":604},[4407],{"type":398,"value":627},{"type":393,"tag":538,"props":4409,"children":4410},{"style":550},[4411],{"type":398,"value":4412},"])]\n",{"type":393,"tag":538,"props":4414,"children":4415},{"class":540,"line":197},[4416,4420,4425,4430,4434,4438,4442,4446],{"type":393,"tag":538,"props":4417,"children":4418},{"style":674},[4419],{"type":398,"value":853},{"type":393,"tag":538,"props":4421,"children":4422},{"style":550},[4423],{"type":398,"value":4424},"(specific_customers[[",{"type":393,"tag":538,"props":4426,"children":4427},{"style":604},[4428],{"type":398,"value":4429},"'order_id'",{"type":393,"tag":538,"props":4431,"children":4432},{"style":550},[4433],{"type":398,"value":622},{"type":393,"tag":538,"props":4435,"children":4436},{"style":604},[4437],{"type":398,"value":4390},{"type":393,"tag":538,"props":4439,"children":4440},{"style":550},[4441],{"type":398,"value":622},{"type":393,"tag":538,"props":4443,"children":4444},{"style":604},[4445],{"type":398,"value":1889},{"type":393,"tag":538,"props":4447,"children":4448},{"style":550},[4449],{"type":398,"value":1229},{"type":393,"tag":538,"props":4451,"children":4452},{"class":540,"line":206},[4453,4457],{"type":393,"tag":538,"props":4454,"children":4455},{"style":674},[4456],{"type":398,"value":853},{"type":393,"tag":538,"props":4458,"children":4459},{"style":550},[4460],{"type":398,"value":892},{"type":393,"tag":538,"props":4462,"children":4463},{"class":540,"line":215},[4464],{"type":393,"tag":538,"props":4465,"children":4466},{"emptyLinePlaceholder":12},[4467],{"type":398,"value":571},{"type":393,"tag":538,"props":4469,"children":4470},{"class":540,"line":224},[4471,4475,4479,4484],{"type":393,"tag":538,"props":4472,"children":4473},{"style":674},[4474],{"type":398,"value":853},{"type":393,"tag":538,"props":4476,"children":4477},{"style":550},[4478],{"type":398,"value":858},{"type":393,"tag":538,"props":4480,"children":4481},{"style":604},[4482],{"type":398,"value":4483},"\"2️⃣ Computer products (Laptop, Monitor, Tablet):\"",{"type":393,"tag":538,"props":4485,"children":4486},{"style":550},[4487],{"type":398,"value":868},{"type":393,"tag":538,"props":4489,"children":4490},{"class":540,"line":233},[4491,4496,4500,4505,4509,4513,4517,4521,4525],{"type":393,"tag":538,"props":4492,"children":4493},{"style":550},[4494],{"type":398,"value":4495},"computers ",{"type":393,"tag":538,"props":4497,"children":4498},{"style":544},[4499],{"type":398,"value":593},{"type":393,"tag":538,"props":4501,"children":4502},{"style":550},[4503],{"type":398,"value":4504}," [",{"type":393,"tag":538,"props":4506,"children":4507},{"style":604},[4508],{"type":398,"value":1504},{"type":393,"tag":538,"props":4510,"children":4511},{"style":550},[4512],{"type":398,"value":622},{"type":393,"tag":538,"props":4514,"children":4515},{"style":604},[4516],{"type":398,"value":1531},{"type":393,"tag":538,"props":4518,"children":4519},{"style":550},[4520],{"type":398,"value":622},{"type":393,"tag":538,"props":4522,"children":4523},{"style":604},[4524],{"type":398,"value":1540},{"type":393,"tag":538,"props":4526,"children":4527},{"style":550},[4528],{"type":398,"value":830},{"type":393,"tag":538,"props":4530,"children":4531},{"class":540,"line":244},[4532,4537,4541,4545,4549],{"type":393,"tag":538,"props":4533,"children":4534},{"style":550},[4535],{"type":398,"value":4536},"computer_orders ",{"type":393,"tag":538,"props":4538,"children":4539},{"style":544},[4540],{"type":398,"value":593},{"type":393,"tag":538,"props":4542,"children":4543},{"style":550},[4544],{"type":398,"value":4385},{"type":393,"tag":538,"props":4546,"children":4547},{"style":604},[4548],{"type":398,"value":1889},{"type":393,"tag":538,"props":4550,"children":4551},{"style":550},[4552],{"type":398,"value":4553},"].isin(computers)]\n",{"type":393,"tag":538,"props":4555,"children":4556},{"class":540,"line":253},[4557,4561,4566,4570,4574,4578],{"type":393,"tag":538,"props":4558,"children":4559},{"style":674},[4560],{"type":398,"value":853},{"type":393,"tag":538,"props":4562,"children":4563},{"style":550},[4564],{"type":398,"value":4565},"(computer_orders[[",{"type":393,"tag":538,"props":4567,"children":4568},{"style":604},[4569],{"type":398,"value":1889},{"type":393,"tag":538,"props":4571,"children":4572},{"style":550},[4573],{"type":398,"value":622},{"type":393,"tag":538,"props":4575,"children":4576},{"style":604},[4577],{"type":398,"value":4390},{"type":393,"tag":538,"props":4579,"children":4580},{"style":550},[4581],{"type":398,"value":1229},{"type":393,"tag":538,"props":4583,"children":4584},{"class":540,"line":262},[4585,4589],{"type":393,"tag":538,"props":4586,"children":4587},{"style":674},[4588],{"type":398,"value":853},{"type":393,"tag":538,"props":4590,"children":4591},{"style":550},[4592],{"type":398,"value":892},{"type":393,"tag":538,"props":4594,"children":4595},{"class":540,"line":271},[4596],{"type":393,"tag":538,"props":4597,"children":4598},{"emptyLinePlaceholder":12},[4599],{"type":398,"value":571},{"type":393,"tag":538,"props":4601,"children":4602},{"class":540,"line":281},[4603,4607,4611,4616],{"type":393,"tag":538,"props":4604,"children":4605},{"style":674},[4606],{"type":398,"value":853},{"type":393,"tag":538,"props":4608,"children":4609},{"style":550},[4610],{"type":398,"value":858},{"type":393,"tag":538,"props":4612,"children":4613},{"style":604},[4614],{"type":398,"value":4615},"\"3️⃣ Active statuses (Shipped or Delivered):\"",{"type":393,"tag":538,"props":4617,"children":4618},{"style":550},[4619],{"type":398,"value":868},{"type":393,"tag":538,"props":4621,"children":4622},{"class":540,"line":290},[4623,4628,4632,4636,4640,4644,4648],{"type":393,"tag":538,"props":4624,"children":4625},{"style":550},[4626],{"type":398,"value":4627},"active_statuses ",{"type":393,"tag":538,"props":4629,"children":4630},{"style":544},[4631],{"type":398,"value":593},{"type":393,"tag":538,"props":4633,"children":4634},{"style":550},[4635],{"type":398,"value":4504},{"type":393,"tag":538,"props":4637,"children":4638},{"style":604},[4639],{"type":398,"value":4199},{"type":393,"tag":538,"props":4641,"children":4642},{"style":550},[4643],{"type":398,"value":622},{"type":393,"tag":538,"props":4645,"children":4646},{"style":604},[4647],{"type":398,"value":4217},{"type":393,"tag":538,"props":4649,"children":4650},{"style":550},[4651],{"type":398,"value":830},{"type":393,"tag":538,"props":4653,"children":4654},{"class":540,"line":299},[4655,4660,4664,4668,4672],{"type":393,"tag":538,"props":4656,"children":4657},{"style":550},[4658],{"type":398,"value":4659},"active_orders ",{"type":393,"tag":538,"props":4661,"children":4662},{"style":544},[4663],{"type":398,"value":593},{"type":393,"tag":538,"props":4665,"children":4666},{"style":550},[4667],{"type":398,"value":4385},{"type":393,"tag":538,"props":4669,"children":4670},{"style":604},[4671],{"type":398,"value":3757},{"type":393,"tag":538,"props":4673,"children":4674},{"style":550},[4675],{"type":398,"value":4676},"].isin(active_statuses)]\n",{"type":393,"tag":538,"props":4678,"children":4679},{"class":540,"line":308},[4680,4684,4689,4693,4697,4701],{"type":393,"tag":538,"props":4681,"children":4682},{"style":674},[4683],{"type":398,"value":853},{"type":393,"tag":538,"props":4685,"children":4686},{"style":550},[4687],{"type":398,"value":4688},"(active_orders[[",{"type":393,"tag":538,"props":4690,"children":4691},{"style":604},[4692],{"type":398,"value":4429},{"type":393,"tag":538,"props":4694,"children":4695},{"style":550},[4696],{"type":398,"value":622},{"type":393,"tag":538,"props":4698,"children":4699},{"style":604},[4700],{"type":398,"value":3757},{"type":393,"tag":538,"props":4702,"children":4703},{"style":550},[4704],{"type":398,"value":1229},{"type":393,"tag":512,"props":4706,"children":4708},{"id":4707},"practical-filtering-examples",[4709],{"type":398,"value":4710},"🎯 Practical Filtering Examples",{"type":393,"tag":401,"props":4712,"children":4713},{},[4714],{"type":398,"value":4715},"Real-world filtering scenarios:",{"type":393,"tag":524,"props":4717,"children":4718},{},[4719],{"type":393,"tag":528,"props":4720,"children":4722},{"className":530,"code":4721,"language":532,"meta":6,"style":6},"import pandas as pd\n\n# Sales data\nsales = pd.DataFrame({\n    'date': ['2023-01-15', '2023-02-10', '2023-01-25', '2023-03-05', '2023-02-20'],\n    'salesperson': ['Alice', 'Bob', 'Alice', 'Charlie', 'Bob'],\n    'amount': [1500, 800, 2200, 600, 1800],\n    'region': ['North', 'South', 'North', 'East', 'South'],\n    'product_type': ['Software', 'Hardware', 'Software', 'Hardware', 'Software']\n})\n\nprint(\"Sales Data:\")\nprint(sales)\nprint()\n\nprint(\"🎯 Business Filtering Examples:\")\nprint()\n\nprint(\"1️⃣ High-value sales (>$1500) in North region:\")\nhigh_value_north = sales[\n    (sales['amount'] > 1500) & (sales['region'] == 'North')\n]\nprint(high_value_north[['salesperson', 'amount', 'region']])\nprint()\n\nprint(\"2️⃣ Alice's software sales:\")\nalice_software = sales[\n    (sales['salesperson'] == 'Alice') & (sales['product_type'] == 'Software')\n]\nprint(alice_software[['date', 'amount']])\nprint()\n\nprint(\"3️⃣ Small sales (\u003C$1000) OR East region:\")\nsmall_or_east = sales[\n    (sales['amount'] \u003C 1000) | (sales['region'] == 'East')\n]\nprint(small_or_east[['salesperson', 'amount', 'region']])\nprint()\n\nprint(\"4️⃣ Top performers (Alice or Bob) with big sales (>$1200):\")\ntop_big_sales = sales[\n    (sales['salesperson'].isin(['Alice', 'Bob'])) & (sales['amount'] > 1200)\n]\nprint(top_big_sales[['salesperson', 'amount']])\n",[4723],{"type":393,"tag":441,"props":4724,"children":4725},{"__ignoreMap":6},[4726,4745,4752,4760,4776,4833,4885,4942,4997,5051,5058,5065,5085,5097,5108,5115,5135,5146,5153,5173,5190,5251,5258,5295,5306,5313,5333,5349,5407,5414,5443,5454,5461,5481,5497,5554,5561,5597,5608,5615,5635,5652,5714,5722],{"type":393,"tag":538,"props":4727,"children":4728},{"class":540,"line":11},[4729,4733,4737,4741],{"type":393,"tag":538,"props":4730,"children":4731},{"style":544},[4732],{"type":398,"value":547},{"type":393,"tag":538,"props":4734,"children":4735},{"style":550},[4736],{"type":398,"value":553},{"type":393,"tag":538,"props":4738,"children":4739},{"style":544},[4740],{"type":398,"value":558},{"type":393,"tag":538,"props":4742,"children":4743},{"style":550},[4744],{"type":398,"value":563},{"type":393,"tag":538,"props":4746,"children":4747},{"class":540,"line":27},[4748],{"type":393,"tag":538,"props":4749,"children":4750},{"emptyLinePlaceholder":12},[4751],{"type":398,"value":571},{"type":393,"tag":538,"props":4753,"children":4754},{"class":540,"line":36},[4755],{"type":393,"tag":538,"props":4756,"children":4757},{"style":577},[4758],{"type":398,"value":4759},"# Sales data\n",{"type":393,"tag":538,"props":4761,"children":4762},{"class":540,"line":45},[4763,4768,4772],{"type":393,"tag":538,"props":4764,"children":4765},{"style":550},[4766],{"type":398,"value":4767},"sales ",{"type":393,"tag":538,"props":4769,"children":4770},{"style":544},[4771],{"type":398,"value":593},{"type":393,"tag":538,"props":4773,"children":4774},{"style":550},[4775],{"type":398,"value":598},{"type":393,"tag":538,"props":4777,"children":4778},{"class":540,"line":54},[4779,4784,4788,4793,4797,4802,4806,4811,4815,4820,4824,4829],{"type":393,"tag":538,"props":4780,"children":4781},{"style":604},[4782],{"type":398,"value":4783},"    'date'",{"type":393,"tag":538,"props":4785,"children":4786},{"style":550},[4787],{"type":398,"value":612},{"type":393,"tag":538,"props":4789,"children":4790},{"style":604},[4791],{"type":398,"value":4792},"'2023-01-15'",{"type":393,"tag":538,"props":4794,"children":4795},{"style":550},[4796],{"type":398,"value":622},{"type":393,"tag":538,"props":4798,"children":4799},{"style":604},[4800],{"type":398,"value":4801},"'2023-02-10'",{"type":393,"tag":538,"props":4803,"children":4804},{"style":550},[4805],{"type":398,"value":622},{"type":393,"tag":538,"props":4807,"children":4808},{"style":604},[4809],{"type":398,"value":4810},"'2023-01-25'",{"type":393,"tag":538,"props":4812,"children":4813},{"style":550},[4814],{"type":398,"value":622},{"type":393,"tag":538,"props":4816,"children":4817},{"style":604},[4818],{"type":398,"value":4819},"'2023-03-05'",{"type":393,"tag":538,"props":4821,"children":4822},{"style":550},[4823],{"type":398,"value":622},{"type":393,"tag":538,"props":4825,"children":4826},{"style":604},[4827],{"type":398,"value":4828},"'2023-02-20'",{"type":393,"tag":538,"props":4830,"children":4831},{"style":550},[4832],{"type":398,"value":659},{"type":393,"tag":538,"props":4834,"children":4835},{"class":540,"line":63},[4836,4841,4845,4849,4853,4857,4861,4865,4869,4873,4877,4881],{"type":393,"tag":538,"props":4837,"children":4838},{"style":604},[4839],{"type":398,"value":4840},"    'salesperson'",{"type":393,"tag":538,"props":4842,"children":4843},{"style":550},[4844],{"type":398,"value":612},{"type":393,"tag":538,"props":4846,"children":4847},{"style":604},[4848],{"type":398,"value":617},{"type":393,"tag":538,"props":4850,"children":4851},{"style":550},[4852],{"type":398,"value":622},{"type":393,"tag":538,"props":4854,"children":4855},{"style":604},[4856],{"type":398,"value":627},{"type":393,"tag":538,"props":4858,"children":4859},{"style":550},[4860],{"type":398,"value":622},{"type":393,"tag":538,"props":4862,"children":4863},{"style":604},[4864],{"type":398,"value":617},{"type":393,"tag":538,"props":4866,"children":4867},{"style":550},[4868],{"type":398,"value":622},{"type":393,"tag":538,"props":4870,"children":4871},{"style":604},[4872],{"type":398,"value":636},{"type":393,"tag":538,"props":4874,"children":4875},{"style":550},[4876],{"type":398,"value":622},{"type":393,"tag":538,"props":4878,"children":4879},{"style":604},[4880],{"type":398,"value":627},{"type":393,"tag":538,"props":4882,"children":4883},{"style":550},[4884],{"type":398,"value":659},{"type":393,"tag":538,"props":4886,"children":4887},{"class":540,"line":72},[4888,4893,4897,4902,4906,4911,4915,4920,4924,4929,4933,4938],{"type":393,"tag":538,"props":4889,"children":4890},{"style":604},[4891],{"type":398,"value":4892},"    'amount'",{"type":393,"tag":538,"props":4894,"children":4895},{"style":550},[4896],{"type":398,"value":612},{"type":393,"tag":538,"props":4898,"children":4899},{"style":674},[4900],{"type":398,"value":4901},"1500",{"type":393,"tag":538,"props":4903,"children":4904},{"style":550},[4905],{"type":398,"value":622},{"type":393,"tag":538,"props":4907,"children":4908},{"style":674},[4909],{"type":398,"value":4910},"800",{"type":393,"tag":538,"props":4912,"children":4913},{"style":550},[4914],{"type":398,"value":622},{"type":393,"tag":538,"props":4916,"children":4917},{"style":674},[4918],{"type":398,"value":4919},"2200",{"type":393,"tag":538,"props":4921,"children":4922},{"style":550},[4923],{"type":398,"value":622},{"type":393,"tag":538,"props":4925,"children":4926},{"style":674},[4927],{"type":398,"value":4928},"600",{"type":393,"tag":538,"props":4930,"children":4931},{"style":550},[4932],{"type":398,"value":622},{"type":393,"tag":538,"props":4934,"children":4935},{"style":674},[4936],{"type":398,"value":4937},"1800",{"type":393,"tag":538,"props":4939,"children":4940},{"style":550},[4941],{"type":398,"value":659},{"type":393,"tag":538,"props":4943,"children":4944},{"class":540,"line":83},[4945,4950,4954,4959,4963,4968,4972,4976,4980,4985,4989,4993],{"type":393,"tag":538,"props":4946,"children":4947},{"style":604},[4948],{"type":398,"value":4949},"    'region'",{"type":393,"tag":538,"props":4951,"children":4952},{"style":550},[4953],{"type":398,"value":612},{"type":393,"tag":538,"props":4955,"children":4956},{"style":604},[4957],{"type":398,"value":4958},"'North'",{"type":393,"tag":538,"props":4960,"children":4961},{"style":550},[4962],{"type":398,"value":622},{"type":393,"tag":538,"props":4964,"children":4965},{"style":604},[4966],{"type":398,"value":4967},"'South'",{"type":393,"tag":538,"props":4969,"children":4970},{"style":550},[4971],{"type":398,"value":622},{"type":393,"tag":538,"props":4973,"children":4974},{"style":604},[4975],{"type":398,"value":4958},{"type":393,"tag":538,"props":4977,"children":4978},{"style":550},[4979],{"type":398,"value":622},{"type":393,"tag":538,"props":4981,"children":4982},{"style":604},[4983],{"type":398,"value":4984},"'East'",{"type":393,"tag":538,"props":4986,"children":4987},{"style":550},[4988],{"type":398,"value":622},{"type":393,"tag":538,"props":4990,"children":4991},{"style":604},[4992],{"type":398,"value":4967},{"type":393,"tag":538,"props":4994,"children":4995},{"style":550},[4996],{"type":398,"value":659},{"type":393,"tag":538,"props":4998,"children":4999},{"class":540,"line":92},[5000,5005,5009,5014,5018,5023,5027,5031,5035,5039,5043,5047],{"type":393,"tag":538,"props":5001,"children":5002},{"style":604},[5003],{"type":398,"value":5004},"    'product_type'",{"type":393,"tag":538,"props":5006,"children":5007},{"style":550},[5008],{"type":398,"value":612},{"type":393,"tag":538,"props":5010,"children":5011},{"style":604},[5012],{"type":398,"value":5013},"'Software'",{"type":393,"tag":538,"props":5015,"children":5016},{"style":550},[5017],{"type":398,"value":622},{"type":393,"tag":538,"props":5019,"children":5020},{"style":604},[5021],{"type":398,"value":5022},"'Hardware'",{"type":393,"tag":538,"props":5024,"children":5025},{"style":550},[5026],{"type":398,"value":622},{"type":393,"tag":538,"props":5028,"children":5029},{"style":604},[5030],{"type":398,"value":5013},{"type":393,"tag":538,"props":5032,"children":5033},{"style":550},[5034],{"type":398,"value":622},{"type":393,"tag":538,"props":5036,"children":5037},{"style":604},[5038],{"type":398,"value":5022},{"type":393,"tag":538,"props":5040,"children":5041},{"style":550},[5042],{"type":398,"value":622},{"type":393,"tag":538,"props":5044,"children":5045},{"style":604},[5046],{"type":398,"value":5013},{"type":393,"tag":538,"props":5048,"children":5049},{"style":550},[5050],{"type":398,"value":830},{"type":393,"tag":538,"props":5052,"children":5053},{"class":540,"line":101},[5054],{"type":393,"tag":538,"props":5055,"children":5056},{"style":550},[5057],{"type":398,"value":838},{"type":393,"tag":538,"props":5059,"children":5060},{"class":540,"line":110},[5061],{"type":393,"tag":538,"props":5062,"children":5063},{"emptyLinePlaceholder":12},[5064],{"type":398,"value":571},{"type":393,"tag":538,"props":5066,"children":5067},{"class":540,"line":121},[5068,5072,5076,5081],{"type":393,"tag":538,"props":5069,"children":5070},{"style":674},[5071],{"type":398,"value":853},{"type":393,"tag":538,"props":5073,"children":5074},{"style":550},[5075],{"type":398,"value":858},{"type":393,"tag":538,"props":5077,"children":5078},{"style":604},[5079],{"type":398,"value":5080},"\"Sales Data:\"",{"type":393,"tag":538,"props":5082,"children":5083},{"style":550},[5084],{"type":398,"value":868},{"type":393,"tag":538,"props":5086,"children":5087},{"class":540,"line":130},[5088,5092],{"type":393,"tag":538,"props":5089,"children":5090},{"style":674},[5091],{"type":398,"value":853},{"type":393,"tag":538,"props":5093,"children":5094},{"style":550},[5095],{"type":398,"value":5096},"(sales)\n",{"type":393,"tag":538,"props":5098,"children":5099},{"class":540,"line":139},[5100,5104],{"type":393,"tag":538,"props":5101,"children":5102},{"style":674},[5103],{"type":398,"value":853},{"type":393,"tag":538,"props":5105,"children":5106},{"style":550},[5107],{"type":398,"value":892},{"type":393,"tag":538,"props":5109,"children":5110},{"class":540,"line":148},[5111],{"type":393,"tag":538,"props":5112,"children":5113},{"emptyLinePlaceholder":12},[5114],{"type":398,"value":571},{"type":393,"tag":538,"props":5116,"children":5117},{"class":540,"line":159},[5118,5122,5126,5131],{"type":393,"tag":538,"props":5119,"children":5120},{"style":674},[5121],{"type":398,"value":853},{"type":393,"tag":538,"props":5123,"children":5124},{"style":550},[5125],{"type":398,"value":858},{"type":393,"tag":538,"props":5127,"children":5128},{"style":604},[5129],{"type":398,"value":5130},"\"🎯 Business Filtering Examples:\"",{"type":393,"tag":538,"props":5132,"children":5133},{"style":550},[5134],{"type":398,"value":868},{"type":393,"tag":538,"props":5136,"children":5137},{"class":540,"line":168},[5138,5142],{"type":393,"tag":538,"props":5139,"children":5140},{"style":674},[5141],{"type":398,"value":853},{"type":393,"tag":538,"props":5143,"children":5144},{"style":550},[5145],{"type":398,"value":892},{"type":393,"tag":538,"props":5147,"children":5148},{"class":540,"line":177},[5149],{"type":393,"tag":538,"props":5150,"children":5151},{"emptyLinePlaceholder":12},[5152],{"type":398,"value":571},{"type":393,"tag":538,"props":5154,"children":5155},{"class":540,"line":186},[5156,5160,5164,5169],{"type":393,"tag":538,"props":5157,"children":5158},{"style":674},[5159],{"type":398,"value":853},{"type":393,"tag":538,"props":5161,"children":5162},{"style":550},[5163],{"type":398,"value":858},{"type":393,"tag":538,"props":5165,"children":5166},{"style":604},[5167],{"type":398,"value":5168},"\"1️⃣ High-value sales (>$1500) in North region:\"",{"type":393,"tag":538,"props":5170,"children":5171},{"style":550},[5172],{"type":398,"value":868},{"type":393,"tag":538,"props":5174,"children":5175},{"class":540,"line":197},[5176,5181,5185],{"type":393,"tag":538,"props":5177,"children":5178},{"style":550},[5179],{"type":398,"value":5180},"high_value_north ",{"type":393,"tag":538,"props":5182,"children":5183},{"style":544},[5184],{"type":398,"value":593},{"type":393,"tag":538,"props":5186,"children":5187},{"style":550},[5188],{"type":398,"value":5189}," sales[\n",{"type":393,"tag":538,"props":5191,"children":5192},{"class":540,"line":206},[5193,5198,5203,5207,5211,5216,5220,5224,5229,5234,5238,5242,5247],{"type":393,"tag":538,"props":5194,"children":5195},{"style":550},[5196],{"type":398,"value":5197},"    (sales[",{"type":393,"tag":538,"props":5199,"children":5200},{"style":604},[5201],{"type":398,"value":5202},"'amount'",{"type":393,"tag":538,"props":5204,"children":5205},{"style":550},[5206],{"type":398,"value":992},{"type":393,"tag":538,"props":5208,"children":5209},{"style":544},[5210],{"type":398,"value":997},{"type":393,"tag":538,"props":5212,"children":5213},{"style":674},[5214],{"type":398,"value":5215}," 1500",{"type":393,"tag":538,"props":5217,"children":5218},{"style":550},[5219],{"type":398,"value":2745},{"type":393,"tag":538,"props":5221,"children":5222},{"style":544},[5223],{"type":398,"value":2126},{"type":393,"tag":538,"props":5225,"children":5226},{"style":550},[5227],{"type":398,"value":5228}," (sales[",{"type":393,"tag":538,"props":5230,"children":5231},{"style":604},[5232],{"type":398,"value":5233},"'region'",{"type":393,"tag":538,"props":5235,"children":5236},{"style":550},[5237],{"type":398,"value":992},{"type":393,"tag":538,"props":5239,"children":5240},{"style":544},[5241],{"type":398,"value":1094},{"type":393,"tag":538,"props":5243,"children":5244},{"style":604},[5245],{"type":398,"value":5246}," 'North'",{"type":393,"tag":538,"props":5248,"children":5249},{"style":550},[5250],{"type":398,"value":868},{"type":393,"tag":538,"props":5252,"children":5253},{"class":540,"line":215},[5254],{"type":393,"tag":538,"props":5255,"children":5256},{"style":550},[5257],{"type":398,"value":830},{"type":393,"tag":538,"props":5259,"children":5260},{"class":540,"line":224},[5261,5265,5270,5275,5279,5283,5287,5291],{"type":393,"tag":538,"props":5262,"children":5263},{"style":674},[5264],{"type":398,"value":853},{"type":393,"tag":538,"props":5266,"children":5267},{"style":550},[5268],{"type":398,"value":5269},"(high_value_north[[",{"type":393,"tag":538,"props":5271,"children":5272},{"style":604},[5273],{"type":398,"value":5274},"'salesperson'",{"type":393,"tag":538,"props":5276,"children":5277},{"style":550},[5278],{"type":398,"value":622},{"type":393,"tag":538,"props":5280,"children":5281},{"style":604},[5282],{"type":398,"value":5202},{"type":393,"tag":538,"props":5284,"children":5285},{"style":550},[5286],{"type":398,"value":622},{"type":393,"tag":538,"props":5288,"children":5289},{"style":604},[5290],{"type":398,"value":5233},{"type":393,"tag":538,"props":5292,"children":5293},{"style":550},[5294],{"type":398,"value":1229},{"type":393,"tag":538,"props":5296,"children":5297},{"class":540,"line":233},[5298,5302],{"type":393,"tag":538,"props":5299,"children":5300},{"style":674},[5301],{"type":398,"value":853},{"type":393,"tag":538,"props":5303,"children":5304},{"style":550},[5305],{"type":398,"value":892},{"type":393,"tag":538,"props":5307,"children":5308},{"class":540,"line":244},[5309],{"type":393,"tag":538,"props":5310,"children":5311},{"emptyLinePlaceholder":12},[5312],{"type":398,"value":571},{"type":393,"tag":538,"props":5314,"children":5315},{"class":540,"line":253},[5316,5320,5324,5329],{"type":393,"tag":538,"props":5317,"children":5318},{"style":674},[5319],{"type":398,"value":853},{"type":393,"tag":538,"props":5321,"children":5322},{"style":550},[5323],{"type":398,"value":858},{"type":393,"tag":538,"props":5325,"children":5326},{"style":604},[5327],{"type":398,"value":5328},"\"2️⃣ Alice's software sales:\"",{"type":393,"tag":538,"props":5330,"children":5331},{"style":550},[5332],{"type":398,"value":868},{"type":393,"tag":538,"props":5334,"children":5335},{"class":540,"line":262},[5336,5341,5345],{"type":393,"tag":538,"props":5337,"children":5338},{"style":550},[5339],{"type":398,"value":5340},"alice_software ",{"type":393,"tag":538,"props":5342,"children":5343},{"style":544},[5344],{"type":398,"value":593},{"type":393,"tag":538,"props":5346,"children":5347},{"style":550},[5348],{"type":398,"value":5189},{"type":393,"tag":538,"props":5350,"children":5351},{"class":540,"line":271},[5352,5356,5360,5364,5368,5373,5377,5381,5385,5390,5394,5398,5403],{"type":393,"tag":538,"props":5353,"children":5354},{"style":550},[5355],{"type":398,"value":5197},{"type":393,"tag":538,"props":5357,"children":5358},{"style":604},[5359],{"type":398,"value":5274},{"type":393,"tag":538,"props":5361,"children":5362},{"style":550},[5363],{"type":398,"value":992},{"type":393,"tag":538,"props":5365,"children":5366},{"style":544},[5367],{"type":398,"value":1094},{"type":393,"tag":538,"props":5369,"children":5370},{"style":604},[5371],{"type":398,"value":5372}," 'Alice'",{"type":393,"tag":538,"props":5374,"children":5375},{"style":550},[5376],{"type":398,"value":2745},{"type":393,"tag":538,"props":5378,"children":5379},{"style":544},[5380],{"type":398,"value":2126},{"type":393,"tag":538,"props":5382,"children":5383},{"style":550},[5384],{"type":398,"value":5228},{"type":393,"tag":538,"props":5386,"children":5387},{"style":604},[5388],{"type":398,"value":5389},"'product_type'",{"type":393,"tag":538,"props":5391,"children":5392},{"style":550},[5393],{"type":398,"value":992},{"type":393,"tag":538,"props":5395,"children":5396},{"style":544},[5397],{"type":398,"value":1094},{"type":393,"tag":538,"props":5399,"children":5400},{"style":604},[5401],{"type":398,"value":5402}," 'Software'",{"type":393,"tag":538,"props":5404,"children":5405},{"style":550},[5406],{"type":398,"value":868},{"type":393,"tag":538,"props":5408,"children":5409},{"class":540,"line":281},[5410],{"type":393,"tag":538,"props":5411,"children":5412},{"style":550},[5413],{"type":398,"value":830},{"type":393,"tag":538,"props":5415,"children":5416},{"class":540,"line":290},[5417,5421,5426,5431,5435,5439],{"type":393,"tag":538,"props":5418,"children":5419},{"style":674},[5420],{"type":398,"value":853},{"type":393,"tag":538,"props":5422,"children":5423},{"style":550},[5424],{"type":398,"value":5425},"(alice_software[[",{"type":393,"tag":538,"props":5427,"children":5428},{"style":604},[5429],{"type":398,"value":5430},"'date'",{"type":393,"tag":538,"props":5432,"children":5433},{"style":550},[5434],{"type":398,"value":622},{"type":393,"tag":538,"props":5436,"children":5437},{"style":604},[5438],{"type":398,"value":5202},{"type":393,"tag":538,"props":5440,"children":5441},{"style":550},[5442],{"type":398,"value":1229},{"type":393,"tag":538,"props":5444,"children":5445},{"class":540,"line":299},[5446,5450],{"type":393,"tag":538,"props":5447,"children":5448},{"style":674},[5449],{"type":398,"value":853},{"type":393,"tag":538,"props":5451,"children":5452},{"style":550},[5453],{"type":398,"value":892},{"type":393,"tag":538,"props":5455,"children":5456},{"class":540,"line":308},[5457],{"type":393,"tag":538,"props":5458,"children":5459},{"emptyLinePlaceholder":12},[5460],{"type":398,"value":571},{"type":393,"tag":538,"props":5462,"children":5463},{"class":540,"line":318},[5464,5468,5472,5477],{"type":393,"tag":538,"props":5465,"children":5466},{"style":674},[5467],{"type":398,"value":853},{"type":393,"tag":538,"props":5469,"children":5470},{"style":550},[5471],{"type":398,"value":858},{"type":393,"tag":538,"props":5473,"children":5474},{"style":604},[5475],{"type":398,"value":5476},"\"3️⃣ Small sales (\u003C$1000) OR East region:\"",{"type":393,"tag":538,"props":5478,"children":5479},{"style":550},[5480],{"type":398,"value":868},{"type":393,"tag":538,"props":5482,"children":5483},{"class":540,"line":327},[5484,5489,5493],{"type":393,"tag":538,"props":5485,"children":5486},{"style":550},[5487],{"type":398,"value":5488},"small_or_east ",{"type":393,"tag":538,"props":5490,"children":5491},{"style":544},[5492],{"type":398,"value":593},{"type":393,"tag":538,"props":5494,"children":5495},{"style":550},[5496],{"type":398,"value":5189},{"type":393,"tag":538,"props":5498,"children":5499},{"class":540,"line":336},[5500,5504,5508,5512,5516,5521,5525,5529,5533,5537,5541,5545,5550],{"type":393,"tag":538,"props":5501,"children":5502},{"style":550},[5503],{"type":398,"value":5197},{"type":393,"tag":538,"props":5505,"children":5506},{"style":604},[5507],{"type":398,"value":5202},{"type":393,"tag":538,"props":5509,"children":5510},{"style":550},[5511],{"type":398,"value":992},{"type":393,"tag":538,"props":5513,"children":5514},{"style":544},[5515],{"type":398,"value":1387},{"type":393,"tag":538,"props":5517,"children":5518},{"style":674},[5519],{"type":398,"value":5520}," 1000",{"type":393,"tag":538,"props":5522,"children":5523},{"style":550},[5524],{"type":398,"value":2745},{"type":393,"tag":538,"props":5526,"children":5527},{"style":544},[5528],{"type":398,"value":2134},{"type":393,"tag":538,"props":5530,"children":5531},{"style":550},[5532],{"type":398,"value":5228},{"type":393,"tag":538,"props":5534,"children":5535},{"style":604},[5536],{"type":398,"value":5233},{"type":393,"tag":538,"props":5538,"children":5539},{"style":550},[5540],{"type":398,"value":992},{"type":393,"tag":538,"props":5542,"children":5543},{"style":544},[5544],{"type":398,"value":1094},{"type":393,"tag":538,"props":5546,"children":5547},{"style":604},[5548],{"type":398,"value":5549}," 'East'",{"type":393,"tag":538,"props":5551,"children":5552},{"style":550},[5553],{"type":398,"value":868},{"type":393,"tag":538,"props":5555,"children":5556},{"class":540,"line":346},[5557],{"type":393,"tag":538,"props":5558,"children":5559},{"style":550},[5560],{"type":398,"value":830},{"type":393,"tag":538,"props":5562,"children":5563},{"class":540,"line":355},[5564,5568,5573,5577,5581,5585,5589,5593],{"type":393,"tag":538,"props":5565,"children":5566},{"style":674},[5567],{"type":398,"value":853},{"type":393,"tag":538,"props":5569,"children":5570},{"style":550},[5571],{"type":398,"value":5572},"(small_or_east[[",{"type":393,"tag":538,"props":5574,"children":5575},{"style":604},[5576],{"type":398,"value":5274},{"type":393,"tag":538,"props":5578,"children":5579},{"style":550},[5580],{"type":398,"value":622},{"type":393,"tag":538,"props":5582,"children":5583},{"style":604},[5584],{"type":398,"value":5202},{"type":393,"tag":538,"props":5586,"children":5587},{"style":550},[5588],{"type":398,"value":622},{"type":393,"tag":538,"props":5590,"children":5591},{"style":604},[5592],{"type":398,"value":5233},{"type":393,"tag":538,"props":5594,"children":5595},{"style":550},[5596],{"type":398,"value":1229},{"type":393,"tag":538,"props":5598,"children":5599},{"class":540,"line":364},[5600,5604],{"type":393,"tag":538,"props":5601,"children":5602},{"style":674},[5603],{"type":398,"value":853},{"type":393,"tag":538,"props":5605,"children":5606},{"style":550},[5607],{"type":398,"value":892},{"type":393,"tag":538,"props":5609,"children":5610},{"class":540,"line":374},[5611],{"type":393,"tag":538,"props":5612,"children":5613},{"emptyLinePlaceholder":12},[5614],{"type":398,"value":571},{"type":393,"tag":538,"props":5616,"children":5617},{"class":540,"line":383},[5618,5622,5626,5631],{"type":393,"tag":538,"props":5619,"children":5620},{"style":674},[5621],{"type":398,"value":853},{"type":393,"tag":538,"props":5623,"children":5624},{"style":550},[5625],{"type":398,"value":858},{"type":393,"tag":538,"props":5627,"children":5628},{"style":604},[5629],{"type":398,"value":5630},"\"4️⃣ Top performers (Alice or Bob) with big sales (>$1200):\"",{"type":393,"tag":538,"props":5632,"children":5633},{"style":550},[5634],{"type":398,"value":868},{"type":393,"tag":538,"props":5636,"children":5638},{"class":540,"line":5637},41,[5639,5644,5648],{"type":393,"tag":538,"props":5640,"children":5641},{"style":550},[5642],{"type":398,"value":5643},"top_big_sales ",{"type":393,"tag":538,"props":5645,"children":5646},{"style":544},[5647],{"type":398,"value":593},{"type":393,"tag":538,"props":5649,"children":5650},{"style":550},[5651],{"type":398,"value":5189},{"type":393,"tag":538,"props":5653,"children":5655},{"class":540,"line":5654},42,[5656,5660,5664,5668,5672,5676,5680,5685,5689,5693,5697,5701,5705,5710],{"type":393,"tag":538,"props":5657,"children":5658},{"style":550},[5659],{"type":398,"value":5197},{"type":393,"tag":538,"props":5661,"children":5662},{"style":604},[5663],{"type":398,"value":5274},{"type":393,"tag":538,"props":5665,"children":5666},{"style":550},[5667],{"type":398,"value":4395},{"type":393,"tag":538,"props":5669,"children":5670},{"style":604},[5671],{"type":398,"value":617},{"type":393,"tag":538,"props":5673,"children":5674},{"style":550},[5675],{"type":398,"value":622},{"type":393,"tag":538,"props":5677,"children":5678},{"style":604},[5679],{"type":398,"value":627},{"type":393,"tag":538,"props":5681,"children":5682},{"style":550},[5683],{"type":398,"value":5684},"])) ",{"type":393,"tag":538,"props":5686,"children":5687},{"style":544},[5688],{"type":398,"value":2126},{"type":393,"tag":538,"props":5690,"children":5691},{"style":550},[5692],{"type":398,"value":5228},{"type":393,"tag":538,"props":5694,"children":5695},{"style":604},[5696],{"type":398,"value":5202},{"type":393,"tag":538,"props":5698,"children":5699},{"style":550},[5700],{"type":398,"value":992},{"type":393,"tag":538,"props":5702,"children":5703},{"style":544},[5704],{"type":398,"value":997},{"type":393,"tag":538,"props":5706,"children":5707},{"style":674},[5708],{"type":398,"value":5709}," 1200",{"type":393,"tag":538,"props":5711,"children":5712},{"style":550},[5713],{"type":398,"value":868},{"type":393,"tag":538,"props":5715,"children":5717},{"class":540,"line":5716},43,[5718],{"type":393,"tag":538,"props":5719,"children":5720},{"style":550},[5721],{"type":398,"value":830},{"type":393,"tag":538,"props":5723,"children":5725},{"class":540,"line":5724},44,[5726,5730,5735,5739,5743,5747],{"type":393,"tag":538,"props":5727,"children":5728},{"style":674},[5729],{"type":398,"value":853},{"type":393,"tag":538,"props":5731,"children":5732},{"style":550},[5733],{"type":398,"value":5734},"(top_big_sales[[",{"type":393,"tag":538,"props":5736,"children":5737},{"style":604},[5738],{"type":398,"value":5274},{"type":393,"tag":538,"props":5740,"children":5741},{"style":550},[5742],{"type":398,"value":622},{"type":393,"tag":538,"props":5744,"children":5745},{"style":604},[5746],{"type":398,"value":5202},{"type":393,"tag":538,"props":5748,"children":5749},{"style":550},[5750],{"type":398,"value":1229},{"type":393,"tag":512,"props":5752,"children":5754},{"id":5753},"checking-your-filters",[5755],{"type":398,"value":5756},"🔍 Checking Your Filters",{"type":393,"tag":401,"props":5758,"children":5759},{},[5760],{"type":398,"value":5761},"Always verify your filtering results:",{"type":393,"tag":524,"props":5763,"children":5764},{},[5765],{"type":393,"tag":528,"props":5766,"children":5768},{"className":530,"code":5767,"language":532,"meta":6,"style":6},"import pandas as pd\n\n# Survey data\nsurvey = pd.DataFrame({\n    'respondent': ['P1', 'P2', 'P3', 'P4', 'P5', 'P6'],\n    'age': [25, 45, 32, 28, 38, 52],\n    'satisfaction': [4, 2, 5, 3, 4, 1],\n    'would_recommend': [True, False, True, True, True, False]\n})\n\nprint(\"Survey Data:\")\nprint(survey)\nprint()\n\nprint(\"🔍 Filtering with Verification:\")\nprint()\n\n# Filter and check\nsatisfied_customers = survey[survey['satisfaction'] >= 4]\nprint(\"Satisfied customers (satisfaction >= 4):\")\nprint(satisfied_customers)\nprint(f\"Count: {len(satisfied_customers)} out of {len(survey)}\")\nprint()\n\n# Multiple conditions with check\npromoters = survey[\n    (survey['satisfaction'] >= 4) & (survey['would_recommend'] == True)\n]\nprint(\"Promoters (satisfied AND would recommend):\")\nprint(promoters[['respondent', 'satisfaction', 'would_recommend']])\nprint(f\"Promoter rate: {len(promoters)/len(survey)*100:.1f}%\")\nprint()\n\n# Check what was filtered out\ndetractors = survey[survey['satisfaction'] \u003C= 2]\nprint(\"Detractors (satisfaction \u003C= 2):\")\nprint(detractors[['respondent', 'satisfaction']])\n",[5769],{"type":393,"tag":441,"props":5770,"children":5771},{"__ignoreMap":6},[5772,5791,5798,5806,5822,5888,5950,6012,6073,6080,6087,6107,6119,6130,6137,6157,6168,6175,6183,6222,6242,6254,6317,6328,6335,6343,6360,6419,6426,6446,6483,6554,6565,6572,6580,6617,6637],{"type":393,"tag":538,"props":5773,"children":5774},{"class":540,"line":11},[5775,5779,5783,5787],{"type":393,"tag":538,"props":5776,"children":5777},{"style":544},[5778],{"type":398,"value":547},{"type":393,"tag":538,"props":5780,"children":5781},{"style":550},[5782],{"type":398,"value":553},{"type":393,"tag":538,"props":5784,"children":5785},{"style":544},[5786],{"type":398,"value":558},{"type":393,"tag":538,"props":5788,"children":5789},{"style":550},[5790],{"type":398,"value":563},{"type":393,"tag":538,"props":5792,"children":5793},{"class":540,"line":27},[5794],{"type":393,"tag":538,"props":5795,"children":5796},{"emptyLinePlaceholder":12},[5797],{"type":398,"value":571},{"type":393,"tag":538,"props":5799,"children":5800},{"class":540,"line":36},[5801],{"type":393,"tag":538,"props":5802,"children":5803},{"style":577},[5804],{"type":398,"value":5805},"# Survey data\n",{"type":393,"tag":538,"props":5807,"children":5808},{"class":540,"line":45},[5809,5814,5818],{"type":393,"tag":538,"props":5810,"children":5811},{"style":550},[5812],{"type":398,"value":5813},"survey ",{"type":393,"tag":538,"props":5815,"children":5816},{"style":544},[5817],{"type":398,"value":593},{"type":393,"tag":538,"props":5819,"children":5820},{"style":550},[5821],{"type":398,"value":598},{"type":393,"tag":538,"props":5823,"children":5824},{"class":540,"line":54},[5825,5830,5834,5839,5843,5848,5852,5857,5861,5866,5870,5875,5879,5884],{"type":393,"tag":538,"props":5826,"children":5827},{"style":604},[5828],{"type":398,"value":5829},"    'respondent'",{"type":393,"tag":538,"props":5831,"children":5832},{"style":550},[5833],{"type":398,"value":612},{"type":393,"tag":538,"props":5835,"children":5836},{"style":604},[5837],{"type":398,"value":5838},"'P1'",{"type":393,"tag":538,"props":5840,"children":5841},{"style":550},[5842],{"type":398,"value":622},{"type":393,"tag":538,"props":5844,"children":5845},{"style":604},[5846],{"type":398,"value":5847},"'P2'",{"type":393,"tag":538,"props":5849,"children":5850},{"style":550},[5851],{"type":398,"value":622},{"type":393,"tag":538,"props":5853,"children":5854},{"style":604},[5855],{"type":398,"value":5856},"'P3'",{"type":393,"tag":538,"props":5858,"children":5859},{"style":550},[5860],{"type":398,"value":622},{"type":393,"tag":538,"props":5862,"children":5863},{"style":604},[5864],{"type":398,"value":5865},"'P4'",{"type":393,"tag":538,"props":5867,"children":5868},{"style":550},[5869],{"type":398,"value":622},{"type":393,"tag":538,"props":5871,"children":5872},{"style":604},[5873],{"type":398,"value":5874},"'P5'",{"type":393,"tag":538,"props":5876,"children":5877},{"style":550},[5878],{"type":398,"value":622},{"type":393,"tag":538,"props":5880,"children":5881},{"style":604},[5882],{"type":398,"value":5883},"'P6'",{"type":393,"tag":538,"props":5885,"children":5886},{"style":550},[5887],{"type":398,"value":659},{"type":393,"tag":538,"props":5889,"children":5890},{"class":540,"line":63},[5891,5895,5899,5903,5907,5911,5915,5920,5924,5928,5932,5937,5941,5946],{"type":393,"tag":538,"props":5892,"children":5893},{"style":604},[5894],{"type":398,"value":667},{"type":393,"tag":538,"props":5896,"children":5897},{"style":550},[5898],{"type":398,"value":612},{"type":393,"tag":538,"props":5900,"children":5901},{"style":674},[5902],{"type":398,"value":1570},{"type":393,"tag":538,"props":5904,"children":5905},{"style":550},[5906],{"type":398,"value":622},{"type":393,"tag":538,"props":5908,"children":5909},{"style":674},[5910],{"type":398,"value":2406},{"type":393,"tag":538,"props":5912,"children":5913},{"style":550},[5914],{"type":398,"value":622},{"type":393,"tag":538,"props":5916,"children":5917},{"style":674},[5918],{"type":398,"value":5919},"32",{"type":393,"tag":538,"props":5921,"children":5922},{"style":550},[5923],{"type":398,"value":622},{"type":393,"tag":538,"props":5925,"children":5926},{"style":674},[5927],{"type":398,"value":2397},{"type":393,"tag":538,"props":5929,"children":5930},{"style":550},[5931],{"type":398,"value":622},{"type":393,"tag":538,"props":5933,"children":5934},{"style":674},[5935],{"type":398,"value":5936},"38",{"type":393,"tag":538,"props":5938,"children":5939},{"style":550},[5940],{"type":398,"value":622},{"type":393,"tag":538,"props":5942,"children":5943},{"style":674},[5944],{"type":398,"value":5945},"52",{"type":393,"tag":538,"props":5947,"children":5948},{"style":550},[5949],{"type":398,"value":659},{"type":393,"tag":538,"props":5951,"children":5952},{"class":540,"line":72},[5953,5958,5962,5967,5971,5975,5979,5983,5987,5991,5995,5999,6003,6008],{"type":393,"tag":538,"props":5954,"children":5955},{"style":604},[5956],{"type":398,"value":5957},"    'satisfaction'",{"type":393,"tag":538,"props":5959,"children":5960},{"style":550},[5961],{"type":398,"value":612},{"type":393,"tag":538,"props":5963,"children":5964},{"style":674},[5965],{"type":398,"value":5966},"4",{"type":393,"tag":538,"props":5968,"children":5969},{"style":550},[5970],{"type":398,"value":622},{"type":393,"tag":538,"props":5972,"children":5973},{"style":674},[5974],{"type":398,"value":2539},{"type":393,"tag":538,"props":5976,"children":5977},{"style":550},[5978],{"type":398,"value":622},{"type":393,"tag":538,"props":5980,"children":5981},{"style":674},[5982],{"type":398,"value":1618},{"type":393,"tag":538,"props":5984,"children":5985},{"style":550},[5986],{"type":398,"value":622},{"type":393,"tag":538,"props":5988,"children":5989},{"style":674},[5990],{"type":398,"value":2564},{"type":393,"tag":538,"props":5992,"children":5993},{"style":550},[5994],{"type":398,"value":622},{"type":393,"tag":538,"props":5996,"children":5997},{"style":674},[5998],{"type":398,"value":5966},{"type":393,"tag":538,"props":6000,"children":6001},{"style":550},[6002],{"type":398,"value":622},{"type":393,"tag":538,"props":6004,"children":6005},{"style":674},[6006],{"type":398,"value":6007},"1",{"type":393,"tag":538,"props":6009,"children":6010},{"style":550},[6011],{"type":398,"value":659},{"type":393,"tag":538,"props":6013,"children":6014},{"class":540,"line":83},[6015,6020,6024,6029,6033,6037,6041,6045,6049,6053,6057,6061,6065,6069],{"type":393,"tag":538,"props":6016,"children":6017},{"style":604},[6018],{"type":398,"value":6019},"    'would_recommend'",{"type":393,"tag":538,"props":6021,"children":6022},{"style":550},[6023],{"type":398,"value":612},{"type":393,"tag":538,"props":6025,"children":6026},{"style":674},[6027],{"type":398,"value":6028},"True",{"type":393,"tag":538,"props":6030,"children":6031},{"style":550},[6032],{"type":398,"value":622},{"type":393,"tag":538,"props":6034,"children":6035},{"style":674},[6036],{"type":398,"value":3903},{"type":393,"tag":538,"props":6038,"children":6039},{"style":550},[6040],{"type":398,"value":622},{"type":393,"tag":538,"props":6042,"children":6043},{"style":674},[6044],{"type":398,"value":6028},{"type":393,"tag":538,"props":6046,"children":6047},{"style":550},[6048],{"type":398,"value":622},{"type":393,"tag":538,"props":6050,"children":6051},{"style":674},[6052],{"type":398,"value":6028},{"type":393,"tag":538,"props":6054,"children":6055},{"style":550},[6056],{"type":398,"value":622},{"type":393,"tag":538,"props":6058,"children":6059},{"style":674},[6060],{"type":398,"value":6028},{"type":393,"tag":538,"props":6062,"children":6063},{"style":550},[6064],{"type":398,"value":622},{"type":393,"tag":538,"props":6066,"children":6067},{"style":674},[6068],{"type":398,"value":3903},{"type":393,"tag":538,"props":6070,"children":6071},{"style":550},[6072],{"type":398,"value":830},{"type":393,"tag":538,"props":6074,"children":6075},{"class":540,"line":92},[6076],{"type":393,"tag":538,"props":6077,"children":6078},{"style":550},[6079],{"type":398,"value":838},{"type":393,"tag":538,"props":6081,"children":6082},{"class":540,"line":101},[6083],{"type":393,"tag":538,"props":6084,"children":6085},{"emptyLinePlaceholder":12},[6086],{"type":398,"value":571},{"type":393,"tag":538,"props":6088,"children":6089},{"class":540,"line":110},[6090,6094,6098,6103],{"type":393,"tag":538,"props":6091,"children":6092},{"style":674},[6093],{"type":398,"value":853},{"type":393,"tag":538,"props":6095,"children":6096},{"style":550},[6097],{"type":398,"value":858},{"type":393,"tag":538,"props":6099,"children":6100},{"style":604},[6101],{"type":398,"value":6102},"\"Survey Data:\"",{"type":393,"tag":538,"props":6104,"children":6105},{"style":550},[6106],{"type":398,"value":868},{"type":393,"tag":538,"props":6108,"children":6109},{"class":540,"line":121},[6110,6114],{"type":393,"tag":538,"props":6111,"children":6112},{"style":674},[6113],{"type":398,"value":853},{"type":393,"tag":538,"props":6115,"children":6116},{"style":550},[6117],{"type":398,"value":6118},"(survey)\n",{"type":393,"tag":538,"props":6120,"children":6121},{"class":540,"line":130},[6122,6126],{"type":393,"tag":538,"props":6123,"children":6124},{"style":674},[6125],{"type":398,"value":853},{"type":393,"tag":538,"props":6127,"children":6128},{"style":550},[6129],{"type":398,"value":892},{"type":393,"tag":538,"props":6131,"children":6132},{"class":540,"line":139},[6133],{"type":393,"tag":538,"props":6134,"children":6135},{"emptyLinePlaceholder":12},[6136],{"type":398,"value":571},{"type":393,"tag":538,"props":6138,"children":6139},{"class":540,"line":148},[6140,6144,6148,6153],{"type":393,"tag":538,"props":6141,"children":6142},{"style":674},[6143],{"type":398,"value":853},{"type":393,"tag":538,"props":6145,"children":6146},{"style":550},[6147],{"type":398,"value":858},{"type":393,"tag":538,"props":6149,"children":6150},{"style":604},[6151],{"type":398,"value":6152},"\"🔍 Filtering with Verification:\"",{"type":393,"tag":538,"props":6154,"children":6155},{"style":550},[6156],{"type":398,"value":868},{"type":393,"tag":538,"props":6158,"children":6159},{"class":540,"line":159},[6160,6164],{"type":393,"tag":538,"props":6161,"children":6162},{"style":674},[6163],{"type":398,"value":853},{"type":393,"tag":538,"props":6165,"children":6166},{"style":550},[6167],{"type":398,"value":892},{"type":393,"tag":538,"props":6169,"children":6170},{"class":540,"line":168},[6171],{"type":393,"tag":538,"props":6172,"children":6173},{"emptyLinePlaceholder":12},[6174],{"type":398,"value":571},{"type":393,"tag":538,"props":6176,"children":6177},{"class":540,"line":177},[6178],{"type":393,"tag":538,"props":6179,"children":6180},{"style":577},[6181],{"type":398,"value":6182},"# Filter and check\n",{"type":393,"tag":538,"props":6184,"children":6185},{"class":540,"line":186},[6186,6191,6195,6200,6205,6209,6213,6218],{"type":393,"tag":538,"props":6187,"children":6188},{"style":550},[6189],{"type":398,"value":6190},"satisfied_customers ",{"type":393,"tag":538,"props":6192,"children":6193},{"style":544},[6194],{"type":398,"value":593},{"type":393,"tag":538,"props":6196,"children":6197},{"style":550},[6198],{"type":398,"value":6199}," survey[survey[",{"type":393,"tag":538,"props":6201,"children":6202},{"style":604},[6203],{"type":398,"value":6204},"'satisfaction'",{"type":393,"tag":538,"props":6206,"children":6207},{"style":550},[6208],{"type":398,"value":992},{"type":393,"tag":538,"props":6210,"children":6211},{"style":544},[6212],{"type":398,"value":1361},{"type":393,"tag":538,"props":6214,"children":6215},{"style":674},[6216],{"type":398,"value":6217}," 4",{"type":393,"tag":538,"props":6219,"children":6220},{"style":550},[6221],{"type":398,"value":830},{"type":393,"tag":538,"props":6223,"children":6224},{"class":540,"line":197},[6225,6229,6233,6238],{"type":393,"tag":538,"props":6226,"children":6227},{"style":674},[6228],{"type":398,"value":853},{"type":393,"tag":538,"props":6230,"children":6231},{"style":550},[6232],{"type":398,"value":858},{"type":393,"tag":538,"props":6234,"children":6235},{"style":604},[6236],{"type":398,"value":6237},"\"Satisfied customers (satisfaction >= 4):\"",{"type":393,"tag":538,"props":6239,"children":6240},{"style":550},[6241],{"type":398,"value":868},{"type":393,"tag":538,"props":6243,"children":6244},{"class":540,"line":206},[6245,6249],{"type":393,"tag":538,"props":6246,"children":6247},{"style":674},[6248],{"type":398,"value":853},{"type":393,"tag":538,"props":6250,"children":6251},{"style":550},[6252],{"type":398,"value":6253},"(satisfied_customers)\n",{"type":393,"tag":538,"props":6255,"children":6256},{"class":540,"line":215},[6257,6261,6265,6270,6275,6280,6285,6290,6295,6299,6304,6308,6313],{"type":393,"tag":538,"props":6258,"children":6259},{"style":674},[6260],{"type":398,"value":853},{"type":393,"tag":538,"props":6262,"children":6263},{"style":550},[6264],{"type":398,"value":858},{"type":393,"tag":538,"props":6266,"children":6267},{"style":544},[6268],{"type":398,"value":6269},"f",{"type":393,"tag":538,"props":6271,"children":6272},{"style":604},[6273],{"type":398,"value":6274},"\"Count: ",{"type":393,"tag":538,"props":6276,"children":6277},{"style":674},[6278],{"type":398,"value":6279},"{len",{"type":393,"tag":538,"props":6281,"children":6282},{"style":550},[6283],{"type":398,"value":6284},"(satisfied_customers)",{"type":393,"tag":538,"props":6286,"children":6287},{"style":674},[6288],{"type":398,"value":6289},"}",{"type":393,"tag":538,"props":6291,"children":6292},{"style":604},[6293],{"type":398,"value":6294}," out of ",{"type":393,"tag":538,"props":6296,"children":6297},{"style":674},[6298],{"type":398,"value":6279},{"type":393,"tag":538,"props":6300,"children":6301},{"style":550},[6302],{"type":398,"value":6303},"(survey)",{"type":393,"tag":538,"props":6305,"children":6306},{"style":674},[6307],{"type":398,"value":6289},{"type":393,"tag":538,"props":6309,"children":6310},{"style":604},[6311],{"type":398,"value":6312},"\"",{"type":393,"tag":538,"props":6314,"children":6315},{"style":550},[6316],{"type":398,"value":868},{"type":393,"tag":538,"props":6318,"children":6319},{"class":540,"line":224},[6320,6324],{"type":393,"tag":538,"props":6321,"children":6322},{"style":674},[6323],{"type":398,"value":853},{"type":393,"tag":538,"props":6325,"children":6326},{"style":550},[6327],{"type":398,"value":892},{"type":393,"tag":538,"props":6329,"children":6330},{"class":540,"line":233},[6331],{"type":393,"tag":538,"props":6332,"children":6333},{"emptyLinePlaceholder":12},[6334],{"type":398,"value":571},{"type":393,"tag":538,"props":6336,"children":6337},{"class":540,"line":244},[6338],{"type":393,"tag":538,"props":6339,"children":6340},{"style":577},[6341],{"type":398,"value":6342},"# Multiple conditions with check\n",{"type":393,"tag":538,"props":6344,"children":6345},{"class":540,"line":253},[6346,6351,6355],{"type":393,"tag":538,"props":6347,"children":6348},{"style":550},[6349],{"type":398,"value":6350},"promoters ",{"type":393,"tag":538,"props":6352,"children":6353},{"style":544},[6354],{"type":398,"value":593},{"type":393,"tag":538,"props":6356,"children":6357},{"style":550},[6358],{"type":398,"value":6359}," survey[\n",{"type":393,"tag":538,"props":6361,"children":6362},{"class":540,"line":262},[6363,6368,6372,6376,6380,6384,6388,6392,6397,6402,6406,6410,6415],{"type":393,"tag":538,"props":6364,"children":6365},{"style":550},[6366],{"type":398,"value":6367},"    (survey[",{"type":393,"tag":538,"props":6369,"children":6370},{"style":604},[6371],{"type":398,"value":6204},{"type":393,"tag":538,"props":6373,"children":6374},{"style":550},[6375],{"type":398,"value":992},{"type":393,"tag":538,"props":6377,"children":6378},{"style":544},[6379],{"type":398,"value":1361},{"type":393,"tag":538,"props":6381,"children":6382},{"style":674},[6383],{"type":398,"value":6217},{"type":393,"tag":538,"props":6385,"children":6386},{"style":550},[6387],{"type":398,"value":2745},{"type":393,"tag":538,"props":6389,"children":6390},{"style":544},[6391],{"type":398,"value":2126},{"type":393,"tag":538,"props":6393,"children":6394},{"style":550},[6395],{"type":398,"value":6396}," (survey[",{"type":393,"tag":538,"props":6398,"children":6399},{"style":604},[6400],{"type":398,"value":6401},"'would_recommend'",{"type":393,"tag":538,"props":6403,"children":6404},{"style":550},[6405],{"type":398,"value":992},{"type":393,"tag":538,"props":6407,"children":6408},{"style":544},[6409],{"type":398,"value":1094},{"type":393,"tag":538,"props":6411,"children":6412},{"style":674},[6413],{"type":398,"value":6414}," True",{"type":393,"tag":538,"props":6416,"children":6417},{"style":550},[6418],{"type":398,"value":868},{"type":393,"tag":538,"props":6420,"children":6421},{"class":540,"line":271},[6422],{"type":393,"tag":538,"props":6423,"children":6424},{"style":550},[6425],{"type":398,"value":830},{"type":393,"tag":538,"props":6427,"children":6428},{"class":540,"line":281},[6429,6433,6437,6442],{"type":393,"tag":538,"props":6430,"children":6431},{"style":674},[6432],{"type":398,"value":853},{"type":393,"tag":538,"props":6434,"children":6435},{"style":550},[6436],{"type":398,"value":858},{"type":393,"tag":538,"props":6438,"children":6439},{"style":604},[6440],{"type":398,"value":6441},"\"Promoters (satisfied AND would recommend):\"",{"type":393,"tag":538,"props":6443,"children":6444},{"style":550},[6445],{"type":398,"value":868},{"type":393,"tag":538,"props":6447,"children":6448},{"class":540,"line":290},[6449,6453,6458,6463,6467,6471,6475,6479],{"type":393,"tag":538,"props":6450,"children":6451},{"style":674},[6452],{"type":398,"value":853},{"type":393,"tag":538,"props":6454,"children":6455},{"style":550},[6456],{"type":398,"value":6457},"(promoters[[",{"type":393,"tag":538,"props":6459,"children":6460},{"style":604},[6461],{"type":398,"value":6462},"'respondent'",{"type":393,"tag":538,"props":6464,"children":6465},{"style":550},[6466],{"type":398,"value":622},{"type":393,"tag":538,"props":6468,"children":6469},{"style":604},[6470],{"type":398,"value":6204},{"type":393,"tag":538,"props":6472,"children":6473},{"style":550},[6474],{"type":398,"value":622},{"type":393,"tag":538,"props":6476,"children":6477},{"style":604},[6478],{"type":398,"value":6401},{"type":393,"tag":538,"props":6480,"children":6481},{"style":550},[6482],{"type":398,"value":1229},{"type":393,"tag":538,"props":6484,"children":6485},{"class":540,"line":299},[6486,6490,6494,6498,6503,6507,6512,6517,6522,6526,6531,6536,6541,6545,6550],{"type":393,"tag":538,"props":6487,"children":6488},{"style":674},[6489],{"type":398,"value":853},{"type":393,"tag":538,"props":6491,"children":6492},{"style":550},[6493],{"type":398,"value":858},{"type":393,"tag":538,"props":6495,"children":6496},{"style":544},[6497],{"type":398,"value":6269},{"type":393,"tag":538,"props":6499,"children":6500},{"style":604},[6501],{"type":398,"value":6502},"\"Promoter rate: ",{"type":393,"tag":538,"props":6504,"children":6505},{"style":674},[6506],{"type":398,"value":6279},{"type":393,"tag":538,"props":6508,"children":6509},{"style":550},[6510],{"type":398,"value":6511},"(promoters)",{"type":393,"tag":538,"props":6513,"children":6514},{"style":544},[6515],{"type":398,"value":6516},"/",{"type":393,"tag":538,"props":6518,"children":6519},{"style":674},[6520],{"type":398,"value":6521},"len",{"type":393,"tag":538,"props":6523,"children":6524},{"style":550},[6525],{"type":398,"value":6303},{"type":393,"tag":538,"props":6527,"children":6528},{"style":544},[6529],{"type":398,"value":6530},"*",{"type":393,"tag":538,"props":6532,"children":6533},{"style":674},[6534],{"type":398,"value":6535},"100",{"type":393,"tag":538,"props":6537,"children":6538},{"style":544},[6539],{"type":398,"value":6540},":.1f",{"type":393,"tag":538,"props":6542,"children":6543},{"style":674},[6544],{"type":398,"value":6289},{"type":393,"tag":538,"props":6546,"children":6547},{"style":604},[6548],{"type":398,"value":6549},"%\"",{"type":393,"tag":538,"props":6551,"children":6552},{"style":550},[6553],{"type":398,"value":868},{"type":393,"tag":538,"props":6555,"children":6556},{"class":540,"line":308},[6557,6561],{"type":393,"tag":538,"props":6558,"children":6559},{"style":674},[6560],{"type":398,"value":853},{"type":393,"tag":538,"props":6562,"children":6563},{"style":550},[6564],{"type":398,"value":892},{"type":393,"tag":538,"props":6566,"children":6567},{"class":540,"line":318},[6568],{"type":393,"tag":538,"props":6569,"children":6570},{"emptyLinePlaceholder":12},[6571],{"type":398,"value":571},{"type":393,"tag":538,"props":6573,"children":6574},{"class":540,"line":327},[6575],{"type":393,"tag":538,"props":6576,"children":6577},{"style":577},[6578],{"type":398,"value":6579},"# Check what was filtered out\n",{"type":393,"tag":538,"props":6581,"children":6582},{"class":540,"line":336},[6583,6588,6592,6596,6600,6604,6608,6613],{"type":393,"tag":538,"props":6584,"children":6585},{"style":550},[6586],{"type":398,"value":6587},"detractors ",{"type":393,"tag":538,"props":6589,"children":6590},{"style":544},[6591],{"type":398,"value":593},{"type":393,"tag":538,"props":6593,"children":6594},{"style":550},[6595],{"type":398,"value":6199},{"type":393,"tag":538,"props":6597,"children":6598},{"style":604},[6599],{"type":398,"value":6204},{"type":393,"tag":538,"props":6601,"children":6602},{"style":550},[6603],{"type":398,"value":992},{"type":393,"tag":538,"props":6605,"children":6606},{"style":544},[6607],{"type":398,"value":1413},{"type":393,"tag":538,"props":6609,"children":6610},{"style":674},[6611],{"type":398,"value":6612}," 2",{"type":393,"tag":538,"props":6614,"children":6615},{"style":550},[6616],{"type":398,"value":830},{"type":393,"tag":538,"props":6618,"children":6619},{"class":540,"line":346},[6620,6624,6628,6633],{"type":393,"tag":538,"props":6621,"children":6622},{"style":674},[6623],{"type":398,"value":853},{"type":393,"tag":538,"props":6625,"children":6626},{"style":550},[6627],{"type":398,"value":858},{"type":393,"tag":538,"props":6629,"children":6630},{"style":604},[6631],{"type":398,"value":6632},"\"Detractors (satisfaction \u003C= 2):\"",{"type":393,"tag":538,"props":6634,"children":6635},{"style":550},[6636],{"type":398,"value":868},{"type":393,"tag":538,"props":6638,"children":6639},{"class":540,"line":355},[6640,6644,6649,6653,6657,6661],{"type":393,"tag":538,"props":6641,"children":6642},{"style":674},[6643],{"type":398,"value":853},{"type":393,"tag":538,"props":6645,"children":6646},{"style":550},[6647],{"type":398,"value":6648},"(detractors[[",{"type":393,"tag":538,"props":6650,"children":6651},{"style":604},[6652],{"type":398,"value":6462},{"type":393,"tag":538,"props":6654,"children":6655},{"style":550},[6656],{"type":398,"value":622},{"type":393,"tag":538,"props":6658,"children":6659},{"style":604},[6660],{"type":398,"value":6204},{"type":393,"tag":538,"props":6662,"children":6663},{"style":550},[6664],{"type":398,"value":1229},{"type":393,"tag":512,"props":6666,"children":6668},{"id":6667},"️-common-filtering-mistakes",[6669],{"type":398,"value":6670},"⚠️ Common Filtering Mistakes",{"type":393,"tag":401,"props":6672,"children":6673},{},[6674],{"type":398,"value":6675},"Avoid these boolean selection pitfalls that can cause errors or unexpected results:",{"type":393,"tag":407,"props":6677,"children":6680},{"emoji":6678,"title":6679,"type":2141},"⚠️","Boolean Selection Pitfalls",[6681,6689,6697,6730,6738,6769,6777,6809,6817,6840],{"type":393,"tag":401,"props":6682,"children":6683},{},[6684],{"type":393,"tag":417,"props":6685,"children":6686},{},[6687],{"type":398,"value":6688},"Most Common Mistakes:",{"type":393,"tag":401,"props":6690,"children":6691},{},[6692],{"type":393,"tag":417,"props":6693,"children":6694},{},[6695],{"type":398,"value":6696},"1. Missing Parentheses with Multiple Conditions",{"type":393,"tag":477,"props":6698,"children":6699},{},[6700,6710,6720],{"type":393,"tag":435,"props":6701,"children":6702},{},[6703,6704],{"type":398,"value":2213},{"type":393,"tag":441,"props":6705,"children":6707},{"className":6706},[],[6708],{"type":398,"value":6709},"data['age'] > 25 & data['score'] > 80",{"type":393,"tag":435,"props":6711,"children":6712},{},[6713,6714],{"type":398,"value":2202},{"type":393,"tag":441,"props":6715,"children":6717},{"className":6716},[],[6718],{"type":398,"value":6719},"(data['age'] > 25) & (data['score'] > 80)",{"type":393,"tag":435,"props":6721,"children":6722},{},[6723,6728],{"type":393,"tag":417,"props":6724,"children":6725},{},[6726],{"type":398,"value":6727},"Why:",{"type":398,"value":6729}," Operator precedence causes unexpected behavior",{"type":393,"tag":401,"props":6731,"children":6732},{},[6733],{"type":393,"tag":417,"props":6734,"children":6735},{},[6736],{"type":398,"value":6737},"2. Using Python's 'and'/'or' Instead of Pandas '&'/'|'",{"type":393,"tag":477,"props":6739,"children":6740},{},[6741,6751,6760],{"type":393,"tag":435,"props":6742,"children":6743},{},[6744,6745],{"type":398,"value":2213},{"type":393,"tag":441,"props":6746,"children":6748},{"className":6747},[],[6749],{"type":398,"value":6750},"(data['age'] > 25) and (data['score'] > 80)",{"type":393,"tag":435,"props":6752,"children":6753},{},[6754,6755],{"type":398,"value":2202},{"type":393,"tag":441,"props":6756,"children":6758},{"className":6757},[],[6759],{"type":398,"value":6719},{"type":393,"tag":435,"props":6761,"children":6762},{},[6763,6767],{"type":393,"tag":417,"props":6764,"children":6765},{},[6766],{"type":398,"value":6727},{"type":398,"value":6768}," Python's operators don't work with pandas Series",{"type":393,"tag":401,"props":6770,"children":6771},{},[6772],{"type":393,"tag":417,"props":6773,"children":6774},{},[6775],{"type":398,"value":6776},"3. Incorrect Multiple Value Testing",{"type":393,"tag":477,"props":6778,"children":6779},{},[6780,6790,6800],{"type":393,"tag":435,"props":6781,"children":6782},{},[6783,6784],{"type":398,"value":2213},{"type":393,"tag":441,"props":6785,"children":6787},{"className":6786},[],[6788],{"type":398,"value":6789},"data['name'] == 'Alice' or 'Bob'",{"type":393,"tag":435,"props":6791,"children":6792},{},[6793,6794],{"type":398,"value":2202},{"type":393,"tag":441,"props":6795,"children":6797},{"className":6796},[],[6798],{"type":398,"value":6799},"data['name'].isin(['Alice', 'Bob'])",{"type":393,"tag":435,"props":6801,"children":6802},{},[6803,6807],{"type":393,"tag":417,"props":6804,"children":6805},{},[6806],{"type":398,"value":6727},{"type":398,"value":6808}," The wrong version always evaluates to True",{"type":393,"tag":401,"props":6810,"children":6811},{},[6812],{"type":393,"tag":417,"props":6813,"children":6814},{},[6815],{"type":398,"value":6816},"4. Forgetting .str for String Operations",{"type":393,"tag":477,"props":6818,"children":6819},{},[6820,6830],{"type":393,"tag":435,"props":6821,"children":6822},{},[6823,6824],{"type":398,"value":2213},{"type":393,"tag":441,"props":6825,"children":6827},{"className":6826},[],[6828],{"type":398,"value":6829},"data['name'].contains('Ali')",{"type":393,"tag":435,"props":6831,"children":6832},{},[6833,6834],{"type":398,"value":2202},{"type":393,"tag":441,"props":6835,"children":6837},{"className":6836},[],[6838],{"type":398,"value":6839},"data['name'].str.contains('Ali')",{"type":393,"tag":401,"props":6841,"children":6842},{},[6843,6848],{"type":393,"tag":417,"props":6844,"children":6845},{},[6846],{"type":398,"value":6847},"Remember:",{"type":398,"value":6849}," Always use parentheses and pandas-specific operators for reliable filtering!",{"type":393,"tag":524,"props":6851,"children":6852},{},[6853],{"type":393,"tag":528,"props":6854,"children":6856},{"className":530,"code":6855,"language":532,"meta":6,"style":6},"import pandas as pd\n\n# Sample data for demonstrating correct usage\ndata = pd.DataFrame({\n    'name': ['Alice', 'Bob', 'Charlie'],\n    'age': [25, 30, 35],\n    'score': [85, 90, 75]\n})\n\nprint(\"✅ Correct Boolean Selection Examples:\")\nprint()\n\n# Correct filtering examples\nresult1 = data[(data['age'] > 25) & (data['score'] > 80)]\nprint(\"High age AND high score:\")\nprint(result1)\nprint()\n\nresult2 = data[data['name'].isin(['Alice', 'Bob'])]\nprint(\"Alice or Bob:\")\nprint(result2)\nprint()\n\nresult3 = data[(data['age'] > 25) | (data['score'] > 85)]\nprint(\"High age OR high score:\")\nprint(result3)\n",[6857],{"type":393,"tag":441,"props":6858,"children":6859},{"__ignoreMap":6},[6860,6879,6886,6894,6910,6945,6980,7016,7023,7030,7050,7061,7068,7076,7144,7164,7176,7187,7194,7235,7255,7267,7278,7285,7349,7369],{"type":393,"tag":538,"props":6861,"children":6862},{"class":540,"line":11},[6863,6867,6871,6875],{"type":393,"tag":538,"props":6864,"children":6865},{"style":544},[6866],{"type":398,"value":547},{"type":393,"tag":538,"props":6868,"children":6869},{"style":550},[6870],{"type":398,"value":553},{"type":393,"tag":538,"props":6872,"children":6873},{"style":544},[6874],{"type":398,"value":558},{"type":393,"tag":538,"props":6876,"children":6877},{"style":550},[6878],{"type":398,"value":563},{"type":393,"tag":538,"props":6880,"children":6881},{"class":540,"line":27},[6882],{"type":393,"tag":538,"props":6883,"children":6884},{"emptyLinePlaceholder":12},[6885],{"type":398,"value":571},{"type":393,"tag":538,"props":6887,"children":6888},{"class":540,"line":36},[6889],{"type":393,"tag":538,"props":6890,"children":6891},{"style":577},[6892],{"type":398,"value":6893},"# Sample data for demonstrating correct usage\n",{"type":393,"tag":538,"props":6895,"children":6896},{"class":540,"line":45},[6897,6902,6906],{"type":393,"tag":538,"props":6898,"children":6899},{"style":550},[6900],{"type":398,"value":6901},"data ",{"type":393,"tag":538,"props":6903,"children":6904},{"style":544},[6905],{"type":398,"value":593},{"type":393,"tag":538,"props":6907,"children":6908},{"style":550},[6909],{"type":398,"value":598},{"type":393,"tag":538,"props":6911,"children":6912},{"class":540,"line":54},[6913,6917,6921,6925,6929,6933,6937,6941],{"type":393,"tag":538,"props":6914,"children":6915},{"style":604},[6916],{"type":398,"value":607},{"type":393,"tag":538,"props":6918,"children":6919},{"style":550},[6920],{"type":398,"value":612},{"type":393,"tag":538,"props":6922,"children":6923},{"style":604},[6924],{"type":398,"value":617},{"type":393,"tag":538,"props":6926,"children":6927},{"style":550},[6928],{"type":398,"value":622},{"type":393,"tag":538,"props":6930,"children":6931},{"style":604},[6932],{"type":398,"value":627},{"type":393,"tag":538,"props":6934,"children":6935},{"style":550},[6936],{"type":398,"value":622},{"type":393,"tag":538,"props":6938,"children":6939},{"style":604},[6940],{"type":398,"value":636},{"type":393,"tag":538,"props":6942,"children":6943},{"style":550},[6944],{"type":398,"value":659},{"type":393,"tag":538,"props":6946,"children":6947},{"class":540,"line":63},[6948,6952,6956,6960,6964,6968,6972,6976],{"type":393,"tag":538,"props":6949,"children":6950},{"style":604},[6951],{"type":398,"value":667},{"type":393,"tag":538,"props":6953,"children":6954},{"style":550},[6955],{"type":398,"value":612},{"type":393,"tag":538,"props":6957,"children":6958},{"style":674},[6959],{"type":398,"value":1570},{"type":393,"tag":538,"props":6961,"children":6962},{"style":550},[6963],{"type":398,"value":622},{"type":393,"tag":538,"props":6965,"children":6966},{"style":674},[6967],{"type":398,"value":2388},{"type":393,"tag":538,"props":6969,"children":6970},{"style":550},[6971],{"type":398,"value":622},{"type":393,"tag":538,"props":6973,"children":6974},{"style":674},[6975],{"type":398,"value":2379},{"type":393,"tag":538,"props":6977,"children":6978},{"style":550},[6979],{"type":398,"value":659},{"type":393,"tag":538,"props":6981,"children":6982},{"class":540,"line":72},[6983,6987,6991,6995,6999,7004,7008,7012],{"type":393,"tag":538,"props":6984,"children":6985},{"style":604},[6986],{"type":398,"value":780},{"type":393,"tag":538,"props":6988,"children":6989},{"style":550},[6990],{"type":398,"value":612},{"type":393,"tag":538,"props":6992,"children":6993},{"style":674},[6994],{"type":398,"value":825},{"type":393,"tag":538,"props":6996,"children":6997},{"style":550},[6998],{"type":398,"value":622},{"type":393,"tag":538,"props":7000,"children":7001},{"style":674},[7002],{"type":398,"value":7003},"90",{"type":393,"tag":538,"props":7005,"children":7006},{"style":550},[7007],{"type":398,"value":622},{"type":393,"tag":538,"props":7009,"children":7010},{"style":674},[7011],{"type":398,"value":1579},{"type":393,"tag":538,"props":7013,"children":7014},{"style":550},[7015],{"type":398,"value":830},{"type":393,"tag":538,"props":7017,"children":7018},{"class":540,"line":83},[7019],{"type":393,"tag":538,"props":7020,"children":7021},{"style":550},[7022],{"type":398,"value":838},{"type":393,"tag":538,"props":7024,"children":7025},{"class":540,"line":92},[7026],{"type":393,"tag":538,"props":7027,"children":7028},{"emptyLinePlaceholder":12},[7029],{"type":398,"value":571},{"type":393,"tag":538,"props":7031,"children":7032},{"class":540,"line":101},[7033,7037,7041,7046],{"type":393,"tag":538,"props":7034,"children":7035},{"style":674},[7036],{"type":398,"value":853},{"type":393,"tag":538,"props":7038,"children":7039},{"style":550},[7040],{"type":398,"value":858},{"type":393,"tag":538,"props":7042,"children":7043},{"style":604},[7044],{"type":398,"value":7045},"\"✅ Correct Boolean Selection Examples:\"",{"type":393,"tag":538,"props":7047,"children":7048},{"style":550},[7049],{"type":398,"value":868},{"type":393,"tag":538,"props":7051,"children":7052},{"class":540,"line":110},[7053,7057],{"type":393,"tag":538,"props":7054,"children":7055},{"style":674},[7056],{"type":398,"value":853},{"type":393,"tag":538,"props":7058,"children":7059},{"style":550},[7060],{"type":398,"value":892},{"type":393,"tag":538,"props":7062,"children":7063},{"class":540,"line":121},[7064],{"type":393,"tag":538,"props":7065,"children":7066},{"emptyLinePlaceholder":12},[7067],{"type":398,"value":571},{"type":393,"tag":538,"props":7069,"children":7070},{"class":540,"line":130},[7071],{"type":393,"tag":538,"props":7072,"children":7073},{"style":577},[7074],{"type":398,"value":7075},"# Correct filtering examples\n",{"type":393,"tag":538,"props":7077,"children":7078},{"class":540,"line":139},[7079,7084,7088,7093,7097,7101,7105,7110,7114,7118,7123,7127,7131,7135,7140],{"type":393,"tag":538,"props":7080,"children":7081},{"style":550},[7082],{"type":398,"value":7083},"result1 ",{"type":393,"tag":538,"props":7085,"children":7086},{"style":544},[7087],{"type":398,"value":593},{"type":393,"tag":538,"props":7089,"children":7090},{"style":550},[7091],{"type":398,"value":7092}," data[(data[",{"type":393,"tag":538,"props":7094,"children":7095},{"style":604},[7096],{"type":398,"value":987},{"type":393,"tag":538,"props":7098,"children":7099},{"style":550},[7100],{"type":398,"value":992},{"type":393,"tag":538,"props":7102,"children":7103},{"style":544},[7104],{"type":398,"value":997},{"type":393,"tag":538,"props":7106,"children":7107},{"style":674},[7108],{"type":398,"value":7109}," 25",{"type":393,"tag":538,"props":7111,"children":7112},{"style":550},[7113],{"type":398,"value":2745},{"type":393,"tag":538,"props":7115,"children":7116},{"style":544},[7117],{"type":398,"value":2126},{"type":393,"tag":538,"props":7119,"children":7120},{"style":550},[7121],{"type":398,"value":7122}," (data[",{"type":393,"tag":538,"props":7124,"children":7125},{"style":604},[7126],{"type":398,"value":1182},{"type":393,"tag":538,"props":7128,"children":7129},{"style":550},[7130],{"type":398,"value":992},{"type":393,"tag":538,"props":7132,"children":7133},{"style":544},[7134],{"type":398,"value":997},{"type":393,"tag":538,"props":7136,"children":7137},{"style":674},[7138],{"type":398,"value":7139}," 80",{"type":393,"tag":538,"props":7141,"children":7142},{"style":550},[7143],{"type":398,"value":3537},{"type":393,"tag":538,"props":7145,"children":7146},{"class":540,"line":148},[7147,7151,7155,7160],{"type":393,"tag":538,"props":7148,"children":7149},{"style":674},[7150],{"type":398,"value":853},{"type":393,"tag":538,"props":7152,"children":7153},{"style":550},[7154],{"type":398,"value":858},{"type":393,"tag":538,"props":7156,"children":7157},{"style":604},[7158],{"type":398,"value":7159},"\"High age AND high score:\"",{"type":393,"tag":538,"props":7161,"children":7162},{"style":550},[7163],{"type":398,"value":868},{"type":393,"tag":538,"props":7165,"children":7166},{"class":540,"line":159},[7167,7171],{"type":393,"tag":538,"props":7168,"children":7169},{"style":674},[7170],{"type":398,"value":853},{"type":393,"tag":538,"props":7172,"children":7173},{"style":550},[7174],{"type":398,"value":7175},"(result1)\n",{"type":393,"tag":538,"props":7177,"children":7178},{"class":540,"line":168},[7179,7183],{"type":393,"tag":538,"props":7180,"children":7181},{"style":674},[7182],{"type":398,"value":853},{"type":393,"tag":538,"props":7184,"children":7185},{"style":550},[7186],{"type":398,"value":892},{"type":393,"tag":538,"props":7188,"children":7189},{"class":540,"line":177},[7190],{"type":393,"tag":538,"props":7191,"children":7192},{"emptyLinePlaceholder":12},[7193],{"type":398,"value":571},{"type":393,"tag":538,"props":7195,"children":7196},{"class":540,"line":186},[7197,7202,7206,7211,7215,7219,7223,7227,7231],{"type":393,"tag":538,"props":7198,"children":7199},{"style":550},[7200],{"type":398,"value":7201},"result2 ",{"type":393,"tag":538,"props":7203,"children":7204},{"style":544},[7205],{"type":398,"value":593},{"type":393,"tag":538,"props":7207,"children":7208},{"style":550},[7209],{"type":398,"value":7210}," data[data[",{"type":393,"tag":538,"props":7212,"children":7213},{"style":604},[7214],{"type":398,"value":1216},{"type":393,"tag":538,"props":7216,"children":7217},{"style":550},[7218],{"type":398,"value":4395},{"type":393,"tag":538,"props":7220,"children":7221},{"style":604},[7222],{"type":398,"value":617},{"type":393,"tag":538,"props":7224,"children":7225},{"style":550},[7226],{"type":398,"value":622},{"type":393,"tag":538,"props":7228,"children":7229},{"style":604},[7230],{"type":398,"value":627},{"type":393,"tag":538,"props":7232,"children":7233},{"style":550},[7234],{"type":398,"value":4412},{"type":393,"tag":538,"props":7236,"children":7237},{"class":540,"line":197},[7238,7242,7246,7251],{"type":393,"tag":538,"props":7239,"children":7240},{"style":674},[7241],{"type":398,"value":853},{"type":393,"tag":538,"props":7243,"children":7244},{"style":550},[7245],{"type":398,"value":858},{"type":393,"tag":538,"props":7247,"children":7248},{"style":604},[7249],{"type":398,"value":7250},"\"Alice or Bob:\"",{"type":393,"tag":538,"props":7252,"children":7253},{"style":550},[7254],{"type":398,"value":868},{"type":393,"tag":538,"props":7256,"children":7257},{"class":540,"line":206},[7258,7262],{"type":393,"tag":538,"props":7259,"children":7260},{"style":674},[7261],{"type":398,"value":853},{"type":393,"tag":538,"props":7263,"children":7264},{"style":550},[7265],{"type":398,"value":7266},"(result2)\n",{"type":393,"tag":538,"props":7268,"children":7269},{"class":540,"line":215},[7270,7274],{"type":393,"tag":538,"props":7271,"children":7272},{"style":674},[7273],{"type":398,"value":853},{"type":393,"tag":538,"props":7275,"children":7276},{"style":550},[7277],{"type":398,"value":892},{"type":393,"tag":538,"props":7279,"children":7280},{"class":540,"line":224},[7281],{"type":393,"tag":538,"props":7282,"children":7283},{"emptyLinePlaceholder":12},[7284],{"type":398,"value":571},{"type":393,"tag":538,"props":7286,"children":7287},{"class":540,"line":233},[7288,7293,7297,7301,7305,7309,7313,7317,7321,7325,7329,7333,7337,7341,7345],{"type":393,"tag":538,"props":7289,"children":7290},{"style":550},[7291],{"type":398,"value":7292},"result3 ",{"type":393,"tag":538,"props":7294,"children":7295},{"style":544},[7296],{"type":398,"value":593},{"type":393,"tag":538,"props":7298,"children":7299},{"style":550},[7300],{"type":398,"value":7092},{"type":393,"tag":538,"props":7302,"children":7303},{"style":604},[7304],{"type":398,"value":987},{"type":393,"tag":538,"props":7306,"children":7307},{"style":550},[7308],{"type":398,"value":992},{"type":393,"tag":538,"props":7310,"children":7311},{"style":544},[7312],{"type":398,"value":997},{"type":393,"tag":538,"props":7314,"children":7315},{"style":674},[7316],{"type":398,"value":7109},{"type":393,"tag":538,"props":7318,"children":7319},{"style":550},[7320],{"type":398,"value":2745},{"type":393,"tag":538,"props":7322,"children":7323},{"style":544},[7324],{"type":398,"value":2134},{"type":393,"tag":538,"props":7326,"children":7327},{"style":550},[7328],{"type":398,"value":7122},{"type":393,"tag":538,"props":7330,"children":7331},{"style":604},[7332],{"type":398,"value":1182},{"type":393,"tag":538,"props":7334,"children":7335},{"style":550},[7336],{"type":398,"value":992},{"type":393,"tag":538,"props":7338,"children":7339},{"style":544},[7340],{"type":398,"value":997},{"type":393,"tag":538,"props":7342,"children":7343},{"style":674},[7344],{"type":398,"value":1195},{"type":393,"tag":538,"props":7346,"children":7347},{"style":550},[7348],{"type":398,"value":3537},{"type":393,"tag":538,"props":7350,"children":7351},{"class":540,"line":244},[7352,7356,7360,7365],{"type":393,"tag":538,"props":7353,"children":7354},{"style":674},[7355],{"type":398,"value":853},{"type":393,"tag":538,"props":7357,"children":7358},{"style":550},[7359],{"type":398,"value":858},{"type":393,"tag":538,"props":7361,"children":7362},{"style":604},[7363],{"type":398,"value":7364},"\"High age OR high score:\"",{"type":393,"tag":538,"props":7366,"children":7367},{"style":550},[7368],{"type":398,"value":868},{"type":393,"tag":538,"props":7370,"children":7371},{"class":540,"line":253},[7372,7376],{"type":393,"tag":538,"props":7373,"children":7374},{"style":674},[7375],{"type":398,"value":853},{"type":393,"tag":538,"props":7377,"children":7378},{"style":550},[7379],{"type":398,"value":7380},"(result3)\n",{"type":393,"tag":512,"props":7382,"children":7384},{"id":7383},"key-takeaways",[7385],{"type":398,"value":7386},"🎯 Key Takeaways",{"type":393,"tag":407,"props":7388,"children":7391},{"emoji":409,"title":7389,"type":7390},"Boolean Selection Mastery","success",[7392,7400,7453,7460,7519,7527,7574,7582,7619,7627,7674],{"type":393,"tag":401,"props":7393,"children":7394},{},[7395],{"type":393,"tag":417,"props":7396,"children":7397},{},[7398],{"type":398,"value":7399},"Basic Pattern:",{"type":393,"tag":477,"props":7401,"children":7402},{},[7403,7413],{"type":393,"tag":435,"props":7404,"children":7405},{},[7406,7411],{"type":393,"tag":441,"props":7407,"children":7409},{"className":7408},[],[7410],{"type":398,"value":510},{"type":398,"value":7412}," filters rows where condition is True",{"type":393,"tag":435,"props":7414,"children":7415},{},[7416,7418,7423,7424,7429,7430,7435,7436,7441,7442,7447,7448],{"type":398,"value":7417},"Use comparison operators: ",{"type":393,"tag":441,"props":7419,"children":7421},{"className":7420},[],[7422],{"type":398,"value":1094},{"type":398,"value":622},{"type":393,"tag":441,"props":7425,"children":7427},{"className":7426},[],[7428],{"type":398,"value":1310},{"type":398,"value":622},{"type":393,"tag":441,"props":7431,"children":7433},{"className":7432},[],[7434],{"type":398,"value":997},{"type":398,"value":622},{"type":393,"tag":441,"props":7437,"children":7439},{"className":7438},[],[7440],{"type":398,"value":1361},{"type":398,"value":622},{"type":393,"tag":441,"props":7443,"children":7445},{"className":7444},[],[7446],{"type":398,"value":1387},{"type":398,"value":622},{"type":393,"tag":441,"props":7449,"children":7451},{"className":7450},[],[7452],{"type":398,"value":1413},{"type":393,"tag":401,"props":7454,"children":7455},{},[7456],{"type":393,"tag":417,"props":7457,"children":7458},{},[7459],{"type":398,"value":2150},{"type":393,"tag":477,"props":7461,"children":7462},{},[7463,7479,7495,7511],{"type":393,"tag":435,"props":7464,"children":7465},{},[7466,7471,7473],{"type":393,"tag":441,"props":7467,"children":7469},{"className":7468},[],[7470],{"type":398,"value":2126},{"type":398,"value":7472}," for AND: ",{"type":393,"tag":441,"props":7474,"children":7476},{"className":7475},[],[7477],{"type":398,"value":7478},"(condition1) & (condition2)",{"type":393,"tag":435,"props":7480,"children":7481},{},[7482,7487,7489],{"type":393,"tag":441,"props":7483,"children":7485},{"className":7484},[],[7486],{"type":398,"value":2134},{"type":398,"value":7488}," for OR: ",{"type":393,"tag":441,"props":7490,"children":7492},{"className":7491},[],[7493],{"type":398,"value":7494},"(condition1) | (condition2)",{"type":393,"tag":435,"props":7496,"children":7497},{},[7498,7503,7505],{"type":393,"tag":441,"props":7499,"children":7501},{"className":7500},[],[7502],{"type":398,"value":2182},{"type":398,"value":7504}," for NOT: ",{"type":393,"tag":441,"props":7506,"children":7508},{"className":7507},[],[7509],{"type":398,"value":7510},"~condition",{"type":393,"tag":435,"props":7512,"children":7513},{},[7514],{"type":393,"tag":417,"props":7515,"children":7516},{},[7517],{"type":398,"value":7518},"Always use parentheses!",{"type":393,"tag":401,"props":7520,"children":7521},{},[7522],{"type":393,"tag":417,"props":7523,"children":7524},{},[7525],{"type":398,"value":7526},"Text Filtering:",{"type":393,"tag":477,"props":7528,"children":7529},{},[7530,7541,7552,7563],{"type":393,"tag":435,"props":7531,"children":7532},{},[7533,7539],{"type":393,"tag":441,"props":7534,"children":7536},{"className":7535},[],[7537],{"type":398,"value":7538},".str.contains('text')",{"type":398,"value":7540}," for partial matches",{"type":393,"tag":435,"props":7542,"children":7543},{},[7544,7550],{"type":393,"tag":441,"props":7545,"children":7547},{"className":7546},[],[7548],{"type":398,"value":7549},".str.startswith('text')",{"type":398,"value":7551}," for prefix matches",{"type":393,"tag":435,"props":7553,"children":7554},{},[7555,7561],{"type":393,"tag":441,"props":7556,"children":7558},{"className":7557},[],[7559],{"type":398,"value":7560},".str.endswith('text')",{"type":398,"value":7562}," for suffix matches",{"type":393,"tag":435,"props":7564,"children":7565},{},[7566,7572],{"type":393,"tag":441,"props":7567,"children":7569},{"className":7568},[],[7570],{"type":398,"value":7571},".isin(['value1', 'value2'])",{"type":398,"value":7573}," for multiple values",{"type":393,"tag":401,"props":7575,"children":7576},{},[7577],{"type":393,"tag":417,"props":7578,"children":7579},{},[7580],{"type":398,"value":7581},"Best Practices:",{"type":393,"tag":477,"props":7583,"children":7584},{},[7585,7590,7609,7614],{"type":393,"tag":435,"props":7586,"children":7587},{},[7588],{"type":398,"value":7589},"Start with simple conditions, then combine",{"type":393,"tag":435,"props":7591,"children":7592},{},[7593,7595,7601,7603],{"type":398,"value":7594},"Check your results with ",{"type":393,"tag":441,"props":7596,"children":7598},{"className":7597},[],[7599],{"type":398,"value":7600},".shape",{"type":398,"value":7602}," or ",{"type":393,"tag":441,"props":7604,"children":7606},{"className":7605},[],[7607],{"type":398,"value":7608},"len()",{"type":393,"tag":435,"props":7610,"children":7611},{},[7612],{"type":398,"value":7613},"Use meaningful variable names for filtered data",{"type":393,"tag":435,"props":7615,"children":7616},{},[7617],{"type":398,"value":7618},"Test edge cases and verify filters work as expected",{"type":393,"tag":401,"props":7620,"children":7621},{},[7622],{"type":393,"tag":417,"props":7623,"children":7624},{},[7625],{"type":398,"value":7626},"Common Patterns:",{"type":393,"tag":477,"props":7628,"children":7629},{},[7630,7641,7652,7663],{"type":393,"tag":435,"props":7631,"children":7632},{},[7633,7635],{"type":398,"value":7634},"Range: ",{"type":393,"tag":441,"props":7636,"children":7638},{"className":7637},[],[7639],{"type":398,"value":7640},"(df['value'] >= min) & (df['value'] \u003C= max)",{"type":393,"tag":435,"props":7642,"children":7643},{},[7644,7646],{"type":398,"value":7645},"Category list: ",{"type":393,"tag":441,"props":7647,"children":7649},{"className":7648},[],[7650],{"type":398,"value":7651},"df['category'].isin(['A', 'B', 'C'])",{"type":393,"tag":435,"props":7653,"children":7654},{},[7655,7657],{"type":398,"value":7656},"Exclusion: ",{"type":393,"tag":441,"props":7658,"children":7660},{"className":7659},[],[7661],{"type":398,"value":7662},"~df['status'].isin(['Cancelled', 'Failed'])",{"type":393,"tag":435,"props":7664,"children":7665},{},[7666,7668],{"type":398,"value":7667},"Text search: ",{"type":393,"tag":441,"props":7669,"children":7671},{"className":7670},[],[7672],{"type":398,"value":7673},"df['name'].str.contains('pattern', case=False)",{"type":393,"tag":401,"props":7675,"children":7676},{},[7677,7681],{"type":393,"tag":417,"props":7678,"children":7679},{},[7680],{"type":398,"value":6847},{"type":398,"value":7682}," Boolean selection is like asking your data yes/no questions - only the \"yes\" answers get through!",{"type":393,"tag":512,"props":7684,"children":7686},{"id":7685},"filtering-challenge",[7687],{"type":398,"value":7688},"🎮 Filtering Challenge",{"type":393,"tag":401,"props":7690,"children":7691},{},[7692],{"type":398,"value":7693},"Practice your boolean selection skills:",{"type":393,"tag":524,"props":7695,"children":7696},{},[7697],{"type":393,"tag":528,"props":7698,"children":7700},{"className":530,"code":7699,"language":532,"meta":6,"style":6},"import pandas as pd\n\n# E-commerce data\nproducts = pd.DataFrame({\n    'product_id': [101, 102, 103, 104, 105, 106],\n    'name': ['Gaming Laptop', 'Wireless Mouse', 'Keyboard Pro', 'Monitor 4K', 'Tablet Air', 'Phone Case'],\n    'category': ['Computer', 'Accessory', 'Accessory', 'Computer', 'Computer', 'Accessory'],\n    'price': [1299, 49, 129, 599, 449, 19],\n    'rating': [4.5, 4.2, 4.8, 4.1, 4.6, 3.9],\n    'in_stock': [True, True, False, True, True, True]\n})\n\nprint(\"E-commerce Products:\")\nprint(products)\nprint()\n\nprint(\"🎮 Filtering Challenges:\")\nprint()\n\nprint(\"1️⃣ High-rated available products (rating >= 4.5 AND in stock):\")\nhigh_rated_available = products[\n    (products['rating'] >= 4.5) & (products['in_stock'] == True)\n]\nprint(high_rated_available[['name', 'rating', 'in_stock']])\nprint()\n\nprint(\"2️⃣ Affordable computers (\u003C$600):\")\naffordable_computers = products[\n    (products['category'] == 'Computer') & (products['price'] \u003C 600)\n]\nprint(affordable_computers[['name', 'price']])\nprint()\n\nprint(\"3️⃣ Premium products (>$400) OR top-rated (>4.7):\")\npremium_or_top = products[\n    (products['price'] > 400) | (products['rating'] > 4.7)\n]\nprint(premium_or_top[['name', 'price', 'rating']])\nprint()\n\nprint(f\"📊 Summary: Found {len(premium_or_top)} premium/top-rated products\")\n",[7701],{"type":393,"tag":441,"props":7702,"children":7703},{"__ignoreMap":6},[7704,7723,7730,7738,7753,7819,7884,7943,8007,8073,8133,8140,8147,8167,8178,8189,8196,8216,8227,8234,8254,8271,8331,8338,8374,8385,8392,8412,8428,8485,8492,8520,8531,8538,8558,8574,8631,8638,8674,8685,8692],{"type":393,"tag":538,"props":7705,"children":7706},{"class":540,"line":11},[7707,7711,7715,7719],{"type":393,"tag":538,"props":7708,"children":7709},{"style":544},[7710],{"type":398,"value":547},{"type":393,"tag":538,"props":7712,"children":7713},{"style":550},[7714],{"type":398,"value":553},{"type":393,"tag":538,"props":7716,"children":7717},{"style":544},[7718],{"type":398,"value":558},{"type":393,"tag":538,"props":7720,"children":7721},{"style":550},[7722],{"type":398,"value":563},{"type":393,"tag":538,"props":7724,"children":7725},{"class":540,"line":27},[7726],{"type":393,"tag":538,"props":7727,"children":7728},{"emptyLinePlaceholder":12},[7729],{"type":398,"value":571},{"type":393,"tag":538,"props":7731,"children":7732},{"class":540,"line":36},[7733],{"type":393,"tag":538,"props":7734,"children":7735},{"style":577},[7736],{"type":398,"value":7737},"# E-commerce data\n",{"type":393,"tag":538,"props":7739,"children":7740},{"class":540,"line":45},[7741,7745,7749],{"type":393,"tag":538,"props":7742,"children":7743},{"style":550},[7744],{"type":398,"value":1479},{"type":393,"tag":538,"props":7746,"children":7747},{"style":544},[7748],{"type":398,"value":593},{"type":393,"tag":538,"props":7750,"children":7751},{"style":550},[7752],{"type":398,"value":598},{"type":393,"tag":538,"props":7754,"children":7755},{"class":540,"line":54},[7756,7761,7765,7770,7774,7779,7783,7788,7792,7797,7801,7806,7810,7815],{"type":393,"tag":538,"props":7757,"children":7758},{"style":604},[7759],{"type":398,"value":7760},"    'product_id'",{"type":393,"tag":538,"props":7762,"children":7763},{"style":550},[7764],{"type":398,"value":612},{"type":393,"tag":538,"props":7766,"children":7767},{"style":674},[7768],{"type":398,"value":7769},"101",{"type":393,"tag":538,"props":7771,"children":7772},{"style":550},[7773],{"type":398,"value":622},{"type":393,"tag":538,"props":7775,"children":7776},{"style":674},[7777],{"type":398,"value":7778},"102",{"type":393,"tag":538,"props":7780,"children":7781},{"style":550},[7782],{"type":398,"value":622},{"type":393,"tag":538,"props":7784,"children":7785},{"style":674},[7786],{"type":398,"value":7787},"103",{"type":393,"tag":538,"props":7789,"children":7790},{"style":550},[7791],{"type":398,"value":622},{"type":393,"tag":538,"props":7793,"children":7794},{"style":674},[7795],{"type":398,"value":7796},"104",{"type":393,"tag":538,"props":7798,"children":7799},{"style":550},[7800],{"type":398,"value":622},{"type":393,"tag":538,"props":7802,"children":7803},{"style":674},[7804],{"type":398,"value":7805},"105",{"type":393,"tag":538,"props":7807,"children":7808},{"style":550},[7809],{"type":398,"value":622},{"type":393,"tag":538,"props":7811,"children":7812},{"style":674},[7813],{"type":398,"value":7814},"106",{"type":393,"tag":538,"props":7816,"children":7817},{"style":550},[7818],{"type":398,"value":659},{"type":393,"tag":538,"props":7820,"children":7821},{"class":540,"line":63},[7822,7826,7830,7835,7839,7844,7848,7853,7857,7862,7866,7871,7875,7880],{"type":393,"tag":538,"props":7823,"children":7824},{"style":604},[7825],{"type":398,"value":607},{"type":393,"tag":538,"props":7827,"children":7828},{"style":550},[7829],{"type":398,"value":612},{"type":393,"tag":538,"props":7831,"children":7832},{"style":604},[7833],{"type":398,"value":7834},"'Gaming Laptop'",{"type":393,"tag":538,"props":7836,"children":7837},{"style":550},[7838],{"type":398,"value":622},{"type":393,"tag":538,"props":7840,"children":7841},{"style":604},[7842],{"type":398,"value":7843},"'Wireless Mouse'",{"type":393,"tag":538,"props":7845,"children":7846},{"style":550},[7847],{"type":398,"value":622},{"type":393,"tag":538,"props":7849,"children":7850},{"style":604},[7851],{"type":398,"value":7852},"'Keyboard Pro'",{"type":393,"tag":538,"props":7854,"children":7855},{"style":550},[7856],{"type":398,"value":622},{"type":393,"tag":538,"props":7858,"children":7859},{"style":604},[7860],{"type":398,"value":7861},"'Monitor 4K'",{"type":393,"tag":538,"props":7863,"children":7864},{"style":550},[7865],{"type":398,"value":622},{"type":393,"tag":538,"props":7867,"children":7868},{"style":604},[7869],{"type":398,"value":7870},"'Tablet Air'",{"type":393,"tag":538,"props":7872,"children":7873},{"style":550},[7874],{"type":398,"value":622},{"type":393,"tag":538,"props":7876,"children":7877},{"style":604},[7878],{"type":398,"value":7879},"'Phone Case'",{"type":393,"tag":538,"props":7881,"children":7882},{"style":550},[7883],{"type":398,"value":659},{"type":393,"tag":538,"props":7885,"children":7886},{"class":540,"line":72},[7887,7891,7895,7899,7903,7907,7911,7915,7919,7923,7927,7931,7935,7939],{"type":393,"tag":538,"props":7888,"children":7889},{"style":604},[7890],{"type":398,"value":1665},{"type":393,"tag":538,"props":7892,"children":7893},{"style":550},[7894],{"type":398,"value":612},{"type":393,"tag":538,"props":7896,"children":7897},{"style":604},[7898],{"type":398,"value":1674},{"type":393,"tag":538,"props":7900,"children":7901},{"style":550},[7902],{"type":398,"value":622},{"type":393,"tag":538,"props":7904,"children":7905},{"style":604},[7906],{"type":398,"value":1683},{"type":393,"tag":538,"props":7908,"children":7909},{"style":550},[7910],{"type":398,"value":622},{"type":393,"tag":538,"props":7912,"children":7913},{"style":604},[7914],{"type":398,"value":1683},{"type":393,"tag":538,"props":7916,"children":7917},{"style":550},[7918],{"type":398,"value":622},{"type":393,"tag":538,"props":7920,"children":7921},{"style":604},[7922],{"type":398,"value":1674},{"type":393,"tag":538,"props":7924,"children":7925},{"style":550},[7926],{"type":398,"value":622},{"type":393,"tag":538,"props":7928,"children":7929},{"style":604},[7930],{"type":398,"value":1674},{"type":393,"tag":538,"props":7932,"children":7933},{"style":550},[7934],{"type":398,"value":622},{"type":393,"tag":538,"props":7936,"children":7937},{"style":604},[7938],{"type":398,"value":1683},{"type":393,"tag":538,"props":7940,"children":7941},{"style":550},[7942],{"type":398,"value":659},{"type":393,"tag":538,"props":7944,"children":7945},{"class":540,"line":83},[7946,7950,7954,7959,7963,7968,7972,7977,7981,7986,7990,7995,7999,8003],{"type":393,"tag":538,"props":7947,"children":7948},{"style":604},[7949],{"type":398,"value":1552},{"type":393,"tag":538,"props":7951,"children":7952},{"style":550},[7953],{"type":398,"value":612},{"type":393,"tag":538,"props":7955,"children":7956},{"style":674},[7957],{"type":398,"value":7958},"1299",{"type":393,"tag":538,"props":7960,"children":7961},{"style":550},[7962],{"type":398,"value":622},{"type":393,"tag":538,"props":7964,"children":7965},{"style":674},[7966],{"type":398,"value":7967},"49",{"type":393,"tag":538,"props":7969,"children":7970},{"style":550},[7971],{"type":398,"value":622},{"type":393,"tag":538,"props":7973,"children":7974},{"style":674},[7975],{"type":398,"value":7976},"129",{"type":393,"tag":538,"props":7978,"children":7979},{"style":550},[7980],{"type":398,"value":622},{"type":393,"tag":538,"props":7982,"children":7983},{"style":674},[7984],{"type":398,"value":7985},"599",{"type":393,"tag":538,"props":7987,"children":7988},{"style":550},[7989],{"type":398,"value":622},{"type":393,"tag":538,"props":7991,"children":7992},{"style":674},[7993],{"type":398,"value":7994},"449",{"type":393,"tag":538,"props":7996,"children":7997},{"style":550},[7998],{"type":398,"value":622},{"type":393,"tag":538,"props":8000,"children":8001},{"style":674},[8002],{"type":398,"value":695},{"type":393,"tag":538,"props":8004,"children":8005},{"style":550},[8006],{"type":398,"value":659},{"type":393,"tag":538,"props":8008,"children":8009},{"class":540,"line":92},[8010,8015,8019,8024,8028,8033,8037,8042,8046,8051,8055,8060,8064,8069],{"type":393,"tag":538,"props":8011,"children":8012},{"style":604},[8013],{"type":398,"value":8014},"    'rating'",{"type":393,"tag":538,"props":8016,"children":8017},{"style":550},[8018],{"type":398,"value":612},{"type":393,"tag":538,"props":8020,"children":8021},{"style":674},[8022],{"type":398,"value":8023},"4.5",{"type":393,"tag":538,"props":8025,"children":8026},{"style":550},[8027],{"type":398,"value":622},{"type":393,"tag":538,"props":8029,"children":8030},{"style":674},[8031],{"type":398,"value":8032},"4.2",{"type":393,"tag":538,"props":8034,"children":8035},{"style":550},[8036],{"type":398,"value":622},{"type":393,"tag":538,"props":8038,"children":8039},{"style":674},[8040],{"type":398,"value":8041},"4.8",{"type":393,"tag":538,"props":8043,"children":8044},{"style":550},[8045],{"type":398,"value":622},{"type":393,"tag":538,"props":8047,"children":8048},{"style":674},[8049],{"type":398,"value":8050},"4.1",{"type":393,"tag":538,"props":8052,"children":8053},{"style":550},[8054],{"type":398,"value":622},{"type":393,"tag":538,"props":8056,"children":8057},{"style":674},[8058],{"type":398,"value":8059},"4.6",{"type":393,"tag":538,"props":8061,"children":8062},{"style":550},[8063],{"type":398,"value":622},{"type":393,"tag":538,"props":8065,"children":8066},{"style":674},[8067],{"type":398,"value":8068},"3.9",{"type":393,"tag":538,"props":8070,"children":8071},{"style":550},[8072],{"type":398,"value":659},{"type":393,"tag":538,"props":8074,"children":8075},{"class":540,"line":101},[8076,8081,8085,8089,8093,8097,8101,8105,8109,8113,8117,8121,8125,8129],{"type":393,"tag":538,"props":8077,"children":8078},{"style":604},[8079],{"type":398,"value":8080},"    'in_stock'",{"type":393,"tag":538,"props":8082,"children":8083},{"style":550},[8084],{"type":398,"value":612},{"type":393,"tag":538,"props":8086,"children":8087},{"style":674},[8088],{"type":398,"value":6028},{"type":393,"tag":538,"props":8090,"children":8091},{"style":550},[8092],{"type":398,"value":622},{"type":393,"tag":538,"props":8094,"children":8095},{"style":674},[8096],{"type":398,"value":6028},{"type":393,"tag":538,"props":8098,"children":8099},{"style":550},[8100],{"type":398,"value":622},{"type":393,"tag":538,"props":8102,"children":8103},{"style":674},[8104],{"type":398,"value":3903},{"type":393,"tag":538,"props":8106,"children":8107},{"style":550},[8108],{"type":398,"value":622},{"type":393,"tag":538,"props":8110,"children":8111},{"style":674},[8112],{"type":398,"value":6028},{"type":393,"tag":538,"props":8114,"children":8115},{"style":550},[8116],{"type":398,"value":622},{"type":393,"tag":538,"props":8118,"children":8119},{"style":674},[8120],{"type":398,"value":6028},{"type":393,"tag":538,"props":8122,"children":8123},{"style":550},[8124],{"type":398,"value":622},{"type":393,"tag":538,"props":8126,"children":8127},{"style":674},[8128],{"type":398,"value":6028},{"type":393,"tag":538,"props":8130,"children":8131},{"style":550},[8132],{"type":398,"value":830},{"type":393,"tag":538,"props":8134,"children":8135},{"class":540,"line":110},[8136],{"type":393,"tag":538,"props":8137,"children":8138},{"style":550},[8139],{"type":398,"value":838},{"type":393,"tag":538,"props":8141,"children":8142},{"class":540,"line":121},[8143],{"type":393,"tag":538,"props":8144,"children":8145},{"emptyLinePlaceholder":12},[8146],{"type":398,"value":571},{"type":393,"tag":538,"props":8148,"children":8149},{"class":540,"line":130},[8150,8154,8158,8163],{"type":393,"tag":538,"props":8151,"children":8152},{"style":674},[8153],{"type":398,"value":853},{"type":393,"tag":538,"props":8155,"children":8156},{"style":550},[8157],{"type":398,"value":858},{"type":393,"tag":538,"props":8159,"children":8160},{"style":604},[8161],{"type":398,"value":8162},"\"E-commerce Products:\"",{"type":393,"tag":538,"props":8164,"children":8165},{"style":550},[8166],{"type":398,"value":868},{"type":393,"tag":538,"props":8168,"children":8169},{"class":540,"line":139},[8170,8174],{"type":393,"tag":538,"props":8171,"children":8172},{"style":674},[8173],{"type":398,"value":853},{"type":393,"tag":538,"props":8175,"children":8176},{"style":550},[8177],{"type":398,"value":1757},{"type":393,"tag":538,"props":8179,"children":8180},{"class":540,"line":148},[8181,8185],{"type":393,"tag":538,"props":8182,"children":8183},{"style":674},[8184],{"type":398,"value":853},{"type":393,"tag":538,"props":8186,"children":8187},{"style":550},[8188],{"type":398,"value":892},{"type":393,"tag":538,"props":8190,"children":8191},{"class":540,"line":159},[8192],{"type":393,"tag":538,"props":8193,"children":8194},{"emptyLinePlaceholder":12},[8195],{"type":398,"value":571},{"type":393,"tag":538,"props":8197,"children":8198},{"class":540,"line":168},[8199,8203,8207,8212],{"type":393,"tag":538,"props":8200,"children":8201},{"style":674},[8202],{"type":398,"value":853},{"type":393,"tag":538,"props":8204,"children":8205},{"style":550},[8206],{"type":398,"value":858},{"type":393,"tag":538,"props":8208,"children":8209},{"style":604},[8210],{"type":398,"value":8211},"\"🎮 Filtering Challenges:\"",{"type":393,"tag":538,"props":8213,"children":8214},{"style":550},[8215],{"type":398,"value":868},{"type":393,"tag":538,"props":8217,"children":8218},{"class":540,"line":177},[8219,8223],{"type":393,"tag":538,"props":8220,"children":8221},{"style":674},[8222],{"type":398,"value":853},{"type":393,"tag":538,"props":8224,"children":8225},{"style":550},[8226],{"type":398,"value":892},{"type":393,"tag":538,"props":8228,"children":8229},{"class":540,"line":186},[8230],{"type":393,"tag":538,"props":8231,"children":8232},{"emptyLinePlaceholder":12},[8233],{"type":398,"value":571},{"type":393,"tag":538,"props":8235,"children":8236},{"class":540,"line":197},[8237,8241,8245,8250],{"type":393,"tag":538,"props":8238,"children":8239},{"style":674},[8240],{"type":398,"value":853},{"type":393,"tag":538,"props":8242,"children":8243},{"style":550},[8244],{"type":398,"value":858},{"type":393,"tag":538,"props":8246,"children":8247},{"style":604},[8248],{"type":398,"value":8249},"\"1️⃣ High-rated available products (rating >= 4.5 AND in stock):\"",{"type":393,"tag":538,"props":8251,"children":8252},{"style":550},[8253],{"type":398,"value":868},{"type":393,"tag":538,"props":8255,"children":8256},{"class":540,"line":206},[8257,8262,8266],{"type":393,"tag":538,"props":8258,"children":8259},{"style":550},[8260],{"type":398,"value":8261},"high_rated_available ",{"type":393,"tag":538,"props":8263,"children":8264},{"style":544},[8265],{"type":398,"value":593},{"type":393,"tag":538,"props":8267,"children":8268},{"style":550},[8269],{"type":398,"value":8270}," products[\n",{"type":393,"tag":538,"props":8272,"children":8273},{"class":540,"line":215},[8274,8279,8284,8288,8292,8297,8301,8305,8310,8315,8319,8323,8327],{"type":393,"tag":538,"props":8275,"children":8276},{"style":550},[8277],{"type":398,"value":8278},"    (products[",{"type":393,"tag":538,"props":8280,"children":8281},{"style":604},[8282],{"type":398,"value":8283},"'rating'",{"type":393,"tag":538,"props":8285,"children":8286},{"style":550},[8287],{"type":398,"value":992},{"type":393,"tag":538,"props":8289,"children":8290},{"style":544},[8291],{"type":398,"value":1361},{"type":393,"tag":538,"props":8293,"children":8294},{"style":674},[8295],{"type":398,"value":8296}," 4.5",{"type":393,"tag":538,"props":8298,"children":8299},{"style":550},[8300],{"type":398,"value":2745},{"type":393,"tag":538,"props":8302,"children":8303},{"style":544},[8304],{"type":398,"value":2126},{"type":393,"tag":538,"props":8306,"children":8307},{"style":550},[8308],{"type":398,"value":8309}," (products[",{"type":393,"tag":538,"props":8311,"children":8312},{"style":604},[8313],{"type":398,"value":8314},"'in_stock'",{"type":393,"tag":538,"props":8316,"children":8317},{"style":550},[8318],{"type":398,"value":992},{"type":393,"tag":538,"props":8320,"children":8321},{"style":544},[8322],{"type":398,"value":1094},{"type":393,"tag":538,"props":8324,"children":8325},{"style":674},[8326],{"type":398,"value":6414},{"type":393,"tag":538,"props":8328,"children":8329},{"style":550},[8330],{"type":398,"value":868},{"type":393,"tag":538,"props":8332,"children":8333},{"class":540,"line":224},[8334],{"type":393,"tag":538,"props":8335,"children":8336},{"style":550},[8337],{"type":398,"value":830},{"type":393,"tag":538,"props":8339,"children":8340},{"class":540,"line":233},[8341,8345,8350,8354,8358,8362,8366,8370],{"type":393,"tag":538,"props":8342,"children":8343},{"style":674},[8344],{"type":398,"value":853},{"type":393,"tag":538,"props":8346,"children":8347},{"style":550},[8348],{"type":398,"value":8349},"(high_rated_available[[",{"type":393,"tag":538,"props":8351,"children":8352},{"style":604},[8353],{"type":398,"value":1216},{"type":393,"tag":538,"props":8355,"children":8356},{"style":550},[8357],{"type":398,"value":622},{"type":393,"tag":538,"props":8359,"children":8360},{"style":604},[8361],{"type":398,"value":8283},{"type":393,"tag":538,"props":8363,"children":8364},{"style":550},[8365],{"type":398,"value":622},{"type":393,"tag":538,"props":8367,"children":8368},{"style":604},[8369],{"type":398,"value":8314},{"type":393,"tag":538,"props":8371,"children":8372},{"style":550},[8373],{"type":398,"value":1229},{"type":393,"tag":538,"props":8375,"children":8376},{"class":540,"line":244},[8377,8381],{"type":393,"tag":538,"props":8378,"children":8379},{"style":674},[8380],{"type":398,"value":853},{"type":393,"tag":538,"props":8382,"children":8383},{"style":550},[8384],{"type":398,"value":892},{"type":393,"tag":538,"props":8386,"children":8387},{"class":540,"line":253},[8388],{"type":393,"tag":538,"props":8389,"children":8390},{"emptyLinePlaceholder":12},[8391],{"type":398,"value":571},{"type":393,"tag":538,"props":8393,"children":8394},{"class":540,"line":262},[8395,8399,8403,8408],{"type":393,"tag":538,"props":8396,"children":8397},{"style":674},[8398],{"type":398,"value":853},{"type":393,"tag":538,"props":8400,"children":8401},{"style":550},[8402],{"type":398,"value":858},{"type":393,"tag":538,"props":8404,"children":8405},{"style":604},[8406],{"type":398,"value":8407},"\"2️⃣ Affordable computers (\u003C$600):\"",{"type":393,"tag":538,"props":8409,"children":8410},{"style":550},[8411],{"type":398,"value":868},{"type":393,"tag":538,"props":8413,"children":8414},{"class":540,"line":271},[8415,8420,8424],{"type":393,"tag":538,"props":8416,"children":8417},{"style":550},[8418],{"type":398,"value":8419},"affordable_computers ",{"type":393,"tag":538,"props":8421,"children":8422},{"style":544},[8423],{"type":398,"value":593},{"type":393,"tag":538,"props":8425,"children":8426},{"style":550},[8427],{"type":398,"value":8270},{"type":393,"tag":538,"props":8429,"children":8430},{"class":540,"line":281},[8431,8435,8439,8443,8447,8452,8456,8460,8464,8468,8472,8476,8481],{"type":393,"tag":538,"props":8432,"children":8433},{"style":550},[8434],{"type":398,"value":8278},{"type":393,"tag":538,"props":8436,"children":8437},{"style":604},[8438],{"type":398,"value":2064},{"type":393,"tag":538,"props":8440,"children":8441},{"style":550},[8442],{"type":398,"value":992},{"type":393,"tag":538,"props":8444,"children":8445},{"style":544},[8446],{"type":398,"value":1094},{"type":393,"tag":538,"props":8448,"children":8449},{"style":604},[8450],{"type":398,"value":8451}," 'Computer'",{"type":393,"tag":538,"props":8453,"children":8454},{"style":550},[8455],{"type":398,"value":2745},{"type":393,"tag":538,"props":8457,"children":8458},{"style":544},[8459],{"type":398,"value":2126},{"type":393,"tag":538,"props":8461,"children":8462},{"style":550},[8463],{"type":398,"value":8309},{"type":393,"tag":538,"props":8465,"children":8466},{"style":604},[8467],{"type":398,"value":1855},{"type":393,"tag":538,"props":8469,"children":8470},{"style":550},[8471],{"type":398,"value":992},{"type":393,"tag":538,"props":8473,"children":8474},{"style":544},[8475],{"type":398,"value":1387},{"type":393,"tag":538,"props":8477,"children":8478},{"style":674},[8479],{"type":398,"value":8480}," 600",{"type":393,"tag":538,"props":8482,"children":8483},{"style":550},[8484],{"type":398,"value":868},{"type":393,"tag":538,"props":8486,"children":8487},{"class":540,"line":290},[8488],{"type":393,"tag":538,"props":8489,"children":8490},{"style":550},[8491],{"type":398,"value":830},{"type":393,"tag":538,"props":8493,"children":8494},{"class":540,"line":299},[8495,8499,8504,8508,8512,8516],{"type":393,"tag":538,"props":8496,"children":8497},{"style":674},[8498],{"type":398,"value":853},{"type":393,"tag":538,"props":8500,"children":8501},{"style":550},[8502],{"type":398,"value":8503},"(affordable_computers[[",{"type":393,"tag":538,"props":8505,"children":8506},{"style":604},[8507],{"type":398,"value":1216},{"type":393,"tag":538,"props":8509,"children":8510},{"style":550},[8511],{"type":398,"value":622},{"type":393,"tag":538,"props":8513,"children":8514},{"style":604},[8515],{"type":398,"value":1855},{"type":393,"tag":538,"props":8517,"children":8518},{"style":550},[8519],{"type":398,"value":1229},{"type":393,"tag":538,"props":8521,"children":8522},{"class":540,"line":308},[8523,8527],{"type":393,"tag":538,"props":8524,"children":8525},{"style":674},[8526],{"type":398,"value":853},{"type":393,"tag":538,"props":8528,"children":8529},{"style":550},[8530],{"type":398,"value":892},{"type":393,"tag":538,"props":8532,"children":8533},{"class":540,"line":318},[8534],{"type":393,"tag":538,"props":8535,"children":8536},{"emptyLinePlaceholder":12},[8537],{"type":398,"value":571},{"type":393,"tag":538,"props":8539,"children":8540},{"class":540,"line":327},[8541,8545,8549,8554],{"type":393,"tag":538,"props":8542,"children":8543},{"style":674},[8544],{"type":398,"value":853},{"type":393,"tag":538,"props":8546,"children":8547},{"style":550},[8548],{"type":398,"value":858},{"type":393,"tag":538,"props":8550,"children":8551},{"style":604},[8552],{"type":398,"value":8553},"\"3️⃣ Premium products (>$400) OR top-rated (>4.7):\"",{"type":393,"tag":538,"props":8555,"children":8556},{"style":550},[8557],{"type":398,"value":868},{"type":393,"tag":538,"props":8559,"children":8560},{"class":540,"line":336},[8561,8566,8570],{"type":393,"tag":538,"props":8562,"children":8563},{"style":550},[8564],{"type":398,"value":8565},"premium_or_top ",{"type":393,"tag":538,"props":8567,"children":8568},{"style":544},[8569],{"type":398,"value":593},{"type":393,"tag":538,"props":8571,"children":8572},{"style":550},[8573],{"type":398,"value":8270},{"type":393,"tag":538,"props":8575,"children":8576},{"class":540,"line":346},[8577,8581,8585,8589,8593,8598,8602,8606,8610,8614,8618,8622,8627],{"type":393,"tag":538,"props":8578,"children":8579},{"style":550},[8580],{"type":398,"value":8278},{"type":393,"tag":538,"props":8582,"children":8583},{"style":604},[8584],{"type":398,"value":1855},{"type":393,"tag":538,"props":8586,"children":8587},{"style":550},[8588],{"type":398,"value":992},{"type":393,"tag":538,"props":8590,"children":8591},{"style":544},[8592],{"type":398,"value":997},{"type":393,"tag":538,"props":8594,"children":8595},{"style":674},[8596],{"type":398,"value":8597}," 400",{"type":393,"tag":538,"props":8599,"children":8600},{"style":550},[8601],{"type":398,"value":2745},{"type":393,"tag":538,"props":8603,"children":8604},{"style":544},[8605],{"type":398,"value":2134},{"type":393,"tag":538,"props":8607,"children":8608},{"style":550},[8609],{"type":398,"value":8309},{"type":393,"tag":538,"props":8611,"children":8612},{"style":604},[8613],{"type":398,"value":8283},{"type":393,"tag":538,"props":8615,"children":8616},{"style":550},[8617],{"type":398,"value":992},{"type":393,"tag":538,"props":8619,"children":8620},{"style":544},[8621],{"type":398,"value":997},{"type":393,"tag":538,"props":8623,"children":8624},{"style":674},[8625],{"type":398,"value":8626}," 4.7",{"type":393,"tag":538,"props":8628,"children":8629},{"style":550},[8630],{"type":398,"value":868},{"type":393,"tag":538,"props":8632,"children":8633},{"class":540,"line":355},[8634],{"type":393,"tag":538,"props":8635,"children":8636},{"style":550},[8637],{"type":398,"value":830},{"type":393,"tag":538,"props":8639,"children":8640},{"class":540,"line":364},[8641,8645,8650,8654,8658,8662,8666,8670],{"type":393,"tag":538,"props":8642,"children":8643},{"style":674},[8644],{"type":398,"value":853},{"type":393,"tag":538,"props":8646,"children":8647},{"style":550},[8648],{"type":398,"value":8649},"(premium_or_top[[",{"type":393,"tag":538,"props":8651,"children":8652},{"style":604},[8653],{"type":398,"value":1216},{"type":393,"tag":538,"props":8655,"children":8656},{"style":550},[8657],{"type":398,"value":622},{"type":393,"tag":538,"props":8659,"children":8660},{"style":604},[8661],{"type":398,"value":1855},{"type":393,"tag":538,"props":8663,"children":8664},{"style":550},[8665],{"type":398,"value":622},{"type":393,"tag":538,"props":8667,"children":8668},{"style":604},[8669],{"type":398,"value":8283},{"type":393,"tag":538,"props":8671,"children":8672},{"style":550},[8673],{"type":398,"value":1229},{"type":393,"tag":538,"props":8675,"children":8676},{"class":540,"line":374},[8677,8681],{"type":393,"tag":538,"props":8678,"children":8679},{"style":674},[8680],{"type":398,"value":853},{"type":393,"tag":538,"props":8682,"children":8683},{"style":550},[8684],{"type":398,"value":892},{"type":393,"tag":538,"props":8686,"children":8687},{"class":540,"line":383},[8688],{"type":393,"tag":538,"props":8689,"children":8690},{"emptyLinePlaceholder":12},[8691],{"type":398,"value":571},{"type":393,"tag":538,"props":8693,"children":8694},{"class":540,"line":5637},[8695,8699,8703,8707,8712,8716,8721,8725,8730],{"type":393,"tag":538,"props":8696,"children":8697},{"style":674},[8698],{"type":398,"value":853},{"type":393,"tag":538,"props":8700,"children":8701},{"style":550},[8702],{"type":398,"value":858},{"type":393,"tag":538,"props":8704,"children":8705},{"style":544},[8706],{"type":398,"value":6269},{"type":393,"tag":538,"props":8708,"children":8709},{"style":604},[8710],{"type":398,"value":8711},"\"📊 Summary: Found ",{"type":393,"tag":538,"props":8713,"children":8714},{"style":674},[8715],{"type":398,"value":6279},{"type":393,"tag":538,"props":8717,"children":8718},{"style":550},[8719],{"type":398,"value":8720},"(premium_or_top)",{"type":393,"tag":538,"props":8722,"children":8723},{"style":674},[8724],{"type":398,"value":6289},{"type":393,"tag":538,"props":8726,"children":8727},{"style":604},[8728],{"type":398,"value":8729}," premium/top-rated products\"",{"type":393,"tag":538,"props":8731,"children":8732},{"style":550},[8733],{"type":398,"value":868},{"type":393,"tag":512,"props":8735,"children":8737},{"id":8736},"whats-next",[8738],{"type":398,"value":8739},"🚀 What's Next?",{"type":393,"tag":401,"props":8741,"children":8742},{},[8743],{"type":398,"value":8744},"Fantastic! You now know how to filter data with precise conditions. Next, let's learn about cleaning your data to make it analysis-ready.",{"type":393,"tag":401,"props":8746,"children":8747},{},[8748,8753,8755],{"type":393,"tag":417,"props":8749,"children":8750},{},[8751],{"type":398,"value":8752},"Continue to",{"type":398,"value":8754},": ",{"type":393,"tag":8756,"props":8757,"children":8758},"a",{"href":182},[8759],{"type":398,"value":183},{"type":393,"tag":401,"props":8761,"children":8762},{},[8763],{"type":398,"value":8764},"You're mastering data selection like a pro! ✅🎯",{"type":393,"tag":8766,"props":8767,"children":8768},"style",{},[8769],{"type":398,"value":8770},"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":6,"searchDepth":36,"depth":36,"links":8772},[8773,8774,8775,8776,8777,8778,8779,8780,8781,8782,8783],{"id":514,"depth":27,"text":517},{"id":1232,"depth":27,"text":1235},{"id":2112,"depth":27,"text":2115},{"id":3124,"depth":27,"text":3127},{"id":3930,"depth":27,"text":3933},{"id":4707,"depth":27,"text":4710},{"id":5753,"depth":27,"text":5756},{"id":6667,"depth":27,"text":6670},{"id":7383,"depth":27,"text":7386},{"id":7685,"depth":27,"text":7688},{"id":8736,"depth":27,"text":8739},1782373722657]