[{"data":1,"prerenderedAt":6063},["ShallowReactive",2],{"tutorials-pandas":3,"category-items-pandas":387,"content-/pandas/column-information-and-data-types":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},"/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",[134],{"_path":135,"_dir":23,"_draft":7,"_partial":7,"_locale":6,"title":136,"description":137,"slug":138,"parentId":106,"order":139,"body":389,"_type":14,"_id":140,"_source":16,"_file":141,"_stem":142,"_extension":19},{"type":390,"children":391,"toc":6050},"root",[392,400,406,518,525,530,958,964,969,1575,1581,1586,2134,2140,2145,2712,2718,2723,3475,3481,3486,4137,4143,4367,4373,4378,5023,5029,5282,5288,5293,6014,6020,6025,6039,6044],{"type":393,"tag":394,"props":395,"children":396},"element","h1",{"id":138},[397],{"type":398,"value":399},"text","🔍 Column Information and Data Types",{"type":393,"tag":401,"props":402,"children":403},"p",{},[404],{"type":398,"value":405},"Understanding your DataFrame's columns and data types is essential for effective data analysis. Each column has a specific data type that determines what operations you can perform. Let's explore how to examine columns and work with different data types.",{"type":393,"tag":407,"props":408,"children":412},"info-box",{"emoji":409,"title":410,"type":411},"🏷️","Why Data Types Matter","info",[413,422,447,455,508],{"type":393,"tag":401,"props":414,"children":415},{},[416],{"type":393,"tag":417,"props":418,"children":419},"strong",{},[420],{"type":398,"value":421},"Data types determine:",{"type":393,"tag":423,"props":424,"children":425},"ul",{},[426,432,437,442],{"type":393,"tag":427,"props":428,"children":429},"li",{},[430],{"type":398,"value":431},"What operations you can perform (math on numbers, not text)",{"type":393,"tag":427,"props":433,"children":434},{},[435],{"type":398,"value":436},"How much memory your data uses",{"type":393,"tag":427,"props":438,"children":439},{},[440],{"type":398,"value":441},"How Pandas interprets and displays your data",{"type":393,"tag":427,"props":443,"children":444},{},[445],{"type":398,"value":446},"What analysis methods are available",{"type":393,"tag":401,"props":448,"children":449},{},[450],{"type":393,"tag":417,"props":451,"children":452},{},[453],{"type":398,"value":454},"Common types:",{"type":393,"tag":423,"props":456,"children":457},{},[458,468,478,488,498],{"type":393,"tag":427,"props":459,"children":460},{},[461,466],{"type":393,"tag":417,"props":462,"children":463},{},[464],{"type":398,"value":465},"int64",{"type":398,"value":467},": Whole numbers (1, 2, 100)",{"type":393,"tag":427,"props":469,"children":470},{},[471,476],{"type":393,"tag":417,"props":472,"children":473},{},[474],{"type":398,"value":475},"float64",{"type":398,"value":477},": Decimal numbers (1.5, 3.14, 99.9)",{"type":393,"tag":427,"props":479,"children":480},{},[481,486],{"type":393,"tag":417,"props":482,"children":483},{},[484],{"type":398,"value":485},"object",{"type":398,"value":487},": Text/strings (\"Alice\", \"New York\")",{"type":393,"tag":427,"props":489,"children":490},{},[491,496],{"type":393,"tag":417,"props":492,"children":493},{},[494],{"type":398,"value":495},"bool",{"type":398,"value":497},": True/False values",{"type":393,"tag":427,"props":499,"children":500},{},[501,506],{"type":393,"tag":417,"props":502,"children":503},{},[504],{"type":398,"value":505},"datetime64",{"type":398,"value":507},": Dates and times",{"type":393,"tag":401,"props":509,"children":510},{},[511,516],{"type":393,"tag":417,"props":512,"children":513},{},[514],{"type":398,"value":515},"Think of it like:",{"type":398,"value":517}," File types on your computer - .txt for text, .jpg for images, each serves a purpose!",{"type":393,"tag":519,"props":520,"children":522},"h2",{"id":521},"exploring-column-information",[523],{"type":398,"value":524},"📊 Exploring Column Information",{"type":393,"tag":401,"props":526,"children":527},{},[528],{"type":398,"value":529},"Start by understanding what columns you have and their types:",{"type":393,"tag":531,"props":532,"children":533},"code-try",{},[534],{"type":393,"tag":535,"props":536,"children":540},"pre",{"className":537,"code":538,"language":539,"meta":6,"style":6},"language-python shiki shiki-themes github-light github-dark","import pandas as pd\n\n# Sample dataset with mixed types\nemployees = pd.DataFrame({\n    'name': ['Alice', 'Bob', 'Charlie'],\n    'age': [25, 30, 35],\n    'salary': [50000.0, 60000.5, 55000.0],\n    'active': [True, False, True],\n    'department': ['Sales', 'IT', 'Marketing']\n})\n\nprint(\"📊 Employee Data:\")\nprint(employees)\nprint()\n\nprint(\"🔍 Column Information:\")\nprint(employees.info())\nprint()\n\nprint(\"🏷️ Data Types:\")\nprint(employees.dtypes)\n","python",[541],{"type":393,"tag":542,"props":543,"children":544},"code",{"__ignoreMap":6},[545,572,580,589,607,650,690,729,767,807,815,822,845,857,869,876,896,908,919,926,946],{"type":393,"tag":546,"props":547,"children":549},"span",{"class":548,"line":11},"line",[550,556,562,567],{"type":393,"tag":546,"props":551,"children":553},{"style":552},"--shiki-default:#D73A49;--shiki-app-dark-mode:#F97583",[554],{"type":398,"value":555},"import",{"type":393,"tag":546,"props":557,"children":559},{"style":558},"--shiki-default:#24292E;--shiki-app-dark-mode:#E1E4E8",[560],{"type":398,"value":561}," pandas ",{"type":393,"tag":546,"props":563,"children":564},{"style":552},[565],{"type":398,"value":566},"as",{"type":393,"tag":546,"props":568,"children":569},{"style":558},[570],{"type":398,"value":571}," pd\n",{"type":393,"tag":546,"props":573,"children":574},{"class":548,"line":27},[575],{"type":393,"tag":546,"props":576,"children":577},{"emptyLinePlaceholder":12},[578],{"type":398,"value":579},"\n",{"type":393,"tag":546,"props":581,"children":582},{"class":548,"line":36},[583],{"type":393,"tag":546,"props":584,"children":586},{"style":585},"--shiki-default:#6A737D;--shiki-app-dark-mode:#6A737D",[587],{"type":398,"value":588},"# Sample dataset with mixed types\n",{"type":393,"tag":546,"props":590,"children":591},{"class":548,"line":45},[592,597,602],{"type":393,"tag":546,"props":593,"children":594},{"style":558},[595],{"type":398,"value":596},"employees ",{"type":393,"tag":546,"props":598,"children":599},{"style":552},[600],{"type":398,"value":601},"=",{"type":393,"tag":546,"props":603,"children":604},{"style":558},[605],{"type":398,"value":606}," pd.DataFrame({\n",{"type":393,"tag":546,"props":608,"children":609},{"class":548,"line":54},[610,616,621,626,631,636,640,645],{"type":393,"tag":546,"props":611,"children":613},{"style":612},"--shiki-default:#032F62;--shiki-app-dark-mode:#9ECBFF",[614],{"type":398,"value":615},"    'name'",{"type":393,"tag":546,"props":617,"children":618},{"style":558},[619],{"type":398,"value":620},": [",{"type":393,"tag":546,"props":622,"children":623},{"style":612},[624],{"type":398,"value":625},"'Alice'",{"type":393,"tag":546,"props":627,"children":628},{"style":558},[629],{"type":398,"value":630},", ",{"type":393,"tag":546,"props":632,"children":633},{"style":612},[634],{"type":398,"value":635},"'Bob'",{"type":393,"tag":546,"props":637,"children":638},{"style":558},[639],{"type":398,"value":630},{"type":393,"tag":546,"props":641,"children":642},{"style":612},[643],{"type":398,"value":644},"'Charlie'",{"type":393,"tag":546,"props":646,"children":647},{"style":558},[648],{"type":398,"value":649},"],\n",{"type":393,"tag":546,"props":651,"children":652},{"class":548,"line":63},[653,658,662,668,672,677,681,686],{"type":393,"tag":546,"props":654,"children":655},{"style":612},[656],{"type":398,"value":657},"    'age'",{"type":393,"tag":546,"props":659,"children":660},{"style":558},[661],{"type":398,"value":620},{"type":393,"tag":546,"props":663,"children":665},{"style":664},"--shiki-default:#005CC5;--shiki-app-dark-mode:#79B8FF",[666],{"type":398,"value":667},"25",{"type":393,"tag":546,"props":669,"children":670},{"style":558},[671],{"type":398,"value":630},{"type":393,"tag":546,"props":673,"children":674},{"style":664},[675],{"type":398,"value":676},"30",{"type":393,"tag":546,"props":678,"children":679},{"style":558},[680],{"type":398,"value":630},{"type":393,"tag":546,"props":682,"children":683},{"style":664},[684],{"type":398,"value":685},"35",{"type":393,"tag":546,"props":687,"children":688},{"style":558},[689],{"type":398,"value":649},{"type":393,"tag":546,"props":691,"children":692},{"class":548,"line":72},[693,698,702,707,711,716,720,725],{"type":393,"tag":546,"props":694,"children":695},{"style":612},[696],{"type":398,"value":697},"    'salary'",{"type":393,"tag":546,"props":699,"children":700},{"style":558},[701],{"type":398,"value":620},{"type":393,"tag":546,"props":703,"children":704},{"style":664},[705],{"type":398,"value":706},"50000.0",{"type":393,"tag":546,"props":708,"children":709},{"style":558},[710],{"type":398,"value":630},{"type":393,"tag":546,"props":712,"children":713},{"style":664},[714],{"type":398,"value":715},"60000.5",{"type":393,"tag":546,"props":717,"children":718},{"style":558},[719],{"type":398,"value":630},{"type":393,"tag":546,"props":721,"children":722},{"style":664},[723],{"type":398,"value":724},"55000.0",{"type":393,"tag":546,"props":726,"children":727},{"style":558},[728],{"type":398,"value":649},{"type":393,"tag":546,"props":730,"children":731},{"class":548,"line":83},[732,737,741,746,750,755,759,763],{"type":393,"tag":546,"props":733,"children":734},{"style":612},[735],{"type":398,"value":736},"    'active'",{"type":393,"tag":546,"props":738,"children":739},{"style":558},[740],{"type":398,"value":620},{"type":393,"tag":546,"props":742,"children":743},{"style":664},[744],{"type":398,"value":745},"True",{"type":393,"tag":546,"props":747,"children":748},{"style":558},[749],{"type":398,"value":630},{"type":393,"tag":546,"props":751,"children":752},{"style":664},[753],{"type":398,"value":754},"False",{"type":393,"tag":546,"props":756,"children":757},{"style":558},[758],{"type":398,"value":630},{"type":393,"tag":546,"props":760,"children":761},{"style":664},[762],{"type":398,"value":745},{"type":393,"tag":546,"props":764,"children":765},{"style":558},[766],{"type":398,"value":649},{"type":393,"tag":546,"props":768,"children":769},{"class":548,"line":92},[770,775,779,784,788,793,797,802],{"type":393,"tag":546,"props":771,"children":772},{"style":612},[773],{"type":398,"value":774},"    'department'",{"type":393,"tag":546,"props":776,"children":777},{"style":558},[778],{"type":398,"value":620},{"type":393,"tag":546,"props":780,"children":781},{"style":612},[782],{"type":398,"value":783},"'Sales'",{"type":393,"tag":546,"props":785,"children":786},{"style":558},[787],{"type":398,"value":630},{"type":393,"tag":546,"props":789,"children":790},{"style":612},[791],{"type":398,"value":792},"'IT'",{"type":393,"tag":546,"props":794,"children":795},{"style":558},[796],{"type":398,"value":630},{"type":393,"tag":546,"props":798,"children":799},{"style":612},[800],{"type":398,"value":801},"'Marketing'",{"type":393,"tag":546,"props":803,"children":804},{"style":558},[805],{"type":398,"value":806},"]\n",{"type":393,"tag":546,"props":808,"children":809},{"class":548,"line":101},[810],{"type":393,"tag":546,"props":811,"children":812},{"style":558},[813],{"type":398,"value":814},"})\n",{"type":393,"tag":546,"props":816,"children":817},{"class":548,"line":110},[818],{"type":393,"tag":546,"props":819,"children":820},{"emptyLinePlaceholder":12},[821],{"type":398,"value":579},{"type":393,"tag":546,"props":823,"children":824},{"class":548,"line":121},[825,830,835,840],{"type":393,"tag":546,"props":826,"children":827},{"style":664},[828],{"type":398,"value":829},"print",{"type":393,"tag":546,"props":831,"children":832},{"style":558},[833],{"type":398,"value":834},"(",{"type":393,"tag":546,"props":836,"children":837},{"style":612},[838],{"type":398,"value":839},"\"📊 Employee Data:\"",{"type":393,"tag":546,"props":841,"children":842},{"style":558},[843],{"type":398,"value":844},")\n",{"type":393,"tag":546,"props":846,"children":847},{"class":548,"line":130},[848,852],{"type":393,"tag":546,"props":849,"children":850},{"style":664},[851],{"type":398,"value":829},{"type":393,"tag":546,"props":853,"children":854},{"style":558},[855],{"type":398,"value":856},"(employees)\n",{"type":393,"tag":546,"props":858,"children":859},{"class":548,"line":139},[860,864],{"type":393,"tag":546,"props":861,"children":862},{"style":664},[863],{"type":398,"value":829},{"type":393,"tag":546,"props":865,"children":866},{"style":558},[867],{"type":398,"value":868},"()\n",{"type":393,"tag":546,"props":870,"children":871},{"class":548,"line":148},[872],{"type":393,"tag":546,"props":873,"children":874},{"emptyLinePlaceholder":12},[875],{"type":398,"value":579},{"type":393,"tag":546,"props":877,"children":878},{"class":548,"line":159},[879,883,887,892],{"type":393,"tag":546,"props":880,"children":881},{"style":664},[882],{"type":398,"value":829},{"type":393,"tag":546,"props":884,"children":885},{"style":558},[886],{"type":398,"value":834},{"type":393,"tag":546,"props":888,"children":889},{"style":612},[890],{"type":398,"value":891},"\"🔍 Column Information:\"",{"type":393,"tag":546,"props":893,"children":894},{"style":558},[895],{"type":398,"value":844},{"type":393,"tag":546,"props":897,"children":898},{"class":548,"line":168},[899,903],{"type":393,"tag":546,"props":900,"children":901},{"style":664},[902],{"type":398,"value":829},{"type":393,"tag":546,"props":904,"children":905},{"style":558},[906],{"type":398,"value":907},"(employees.info())\n",{"type":393,"tag":546,"props":909,"children":910},{"class":548,"line":177},[911,915],{"type":393,"tag":546,"props":912,"children":913},{"style":664},[914],{"type":398,"value":829},{"type":393,"tag":546,"props":916,"children":917},{"style":558},[918],{"type":398,"value":868},{"type":393,"tag":546,"props":920,"children":921},{"class":548,"line":186},[922],{"type":393,"tag":546,"props":923,"children":924},{"emptyLinePlaceholder":12},[925],{"type":398,"value":579},{"type":393,"tag":546,"props":927,"children":928},{"class":548,"line":197},[929,933,937,942],{"type":393,"tag":546,"props":930,"children":931},{"style":664},[932],{"type":398,"value":829},{"type":393,"tag":546,"props":934,"children":935},{"style":558},[936],{"type":398,"value":834},{"type":393,"tag":546,"props":938,"children":939},{"style":612},[940],{"type":398,"value":941},"\"🏷️ Data Types:\"",{"type":393,"tag":546,"props":943,"children":944},{"style":558},[945],{"type":398,"value":844},{"type":393,"tag":546,"props":947,"children":948},{"class":548,"line":206},[949,953],{"type":393,"tag":546,"props":950,"children":951},{"style":664},[952],{"type":398,"value":829},{"type":393,"tag":546,"props":954,"children":955},{"style":558},[956],{"type":398,"value":957},"(employees.dtypes)\n",{"type":393,"tag":519,"props":959,"children":961},{"id":960},"working-with-numerical-columns",[962],{"type":398,"value":963},"🔢 Working with Numerical Columns",{"type":393,"tag":401,"props":965,"children":966},{},[967],{"type":398,"value":968},"Numerical columns (int, float) support mathematical operations:",{"type":393,"tag":531,"props":970,"children":971},{},[972],{"type":393,"tag":535,"props":973,"children":975},{"className":537,"code":974,"language":539,"meta":6,"style":6},"import pandas as pd\n\n# Numerical data\nsales = pd.DataFrame({\n    'product': ['A', 'B', 'C'],\n    'price': [10.99, 25.50, 15.75],\n    'quantity': [5, 3, 8]\n})\n\nprint(\"Sales Data:\")\nprint(sales)\nprint()\n\nprint(\"💰 Price Column Analysis:\")\nprint(f\"Type: {sales['price'].dtype}\")\nprint(f\"Average: ${sales['price'].mean():.2f}\")\nprint(f\"Total: ${sales['price'].sum():.2f}\")\nprint()\n\nprint(\"📦 Quantity Column Analysis:\")\nprint(f\"Type: {sales['quantity'].dtype}\")\nprint(f\"Total quantity: {sales['quantity'].sum()}\")\nprint(f\"Max quantity: {sales['quantity'].max()}\")\n",[976],{"type":393,"tag":542,"props":977,"children":978},{"__ignoreMap":6},[979,998,1005,1013,1029,1068,1107,1146,1153,1160,1180,1192,1203,1210,1230,1285,1339,1392,1403,1410,1430,1478,1526],{"type":393,"tag":546,"props":980,"children":981},{"class":548,"line":11},[982,986,990,994],{"type":393,"tag":546,"props":983,"children":984},{"style":552},[985],{"type":398,"value":555},{"type":393,"tag":546,"props":987,"children":988},{"style":558},[989],{"type":398,"value":561},{"type":393,"tag":546,"props":991,"children":992},{"style":552},[993],{"type":398,"value":566},{"type":393,"tag":546,"props":995,"children":996},{"style":558},[997],{"type":398,"value":571},{"type":393,"tag":546,"props":999,"children":1000},{"class":548,"line":27},[1001],{"type":393,"tag":546,"props":1002,"children":1003},{"emptyLinePlaceholder":12},[1004],{"type":398,"value":579},{"type":393,"tag":546,"props":1006,"children":1007},{"class":548,"line":36},[1008],{"type":393,"tag":546,"props":1009,"children":1010},{"style":585},[1011],{"type":398,"value":1012},"# Numerical data\n",{"type":393,"tag":546,"props":1014,"children":1015},{"class":548,"line":45},[1016,1021,1025],{"type":393,"tag":546,"props":1017,"children":1018},{"style":558},[1019],{"type":398,"value":1020},"sales ",{"type":393,"tag":546,"props":1022,"children":1023},{"style":552},[1024],{"type":398,"value":601},{"type":393,"tag":546,"props":1026,"children":1027},{"style":558},[1028],{"type":398,"value":606},{"type":393,"tag":546,"props":1030,"children":1031},{"class":548,"line":54},[1032,1037,1041,1046,1050,1055,1059,1064],{"type":393,"tag":546,"props":1033,"children":1034},{"style":612},[1035],{"type":398,"value":1036},"    'product'",{"type":393,"tag":546,"props":1038,"children":1039},{"style":558},[1040],{"type":398,"value":620},{"type":393,"tag":546,"props":1042,"children":1043},{"style":612},[1044],{"type":398,"value":1045},"'A'",{"type":393,"tag":546,"props":1047,"children":1048},{"style":558},[1049],{"type":398,"value":630},{"type":393,"tag":546,"props":1051,"children":1052},{"style":612},[1053],{"type":398,"value":1054},"'B'",{"type":393,"tag":546,"props":1056,"children":1057},{"style":558},[1058],{"type":398,"value":630},{"type":393,"tag":546,"props":1060,"children":1061},{"style":612},[1062],{"type":398,"value":1063},"'C'",{"type":393,"tag":546,"props":1065,"children":1066},{"style":558},[1067],{"type":398,"value":649},{"type":393,"tag":546,"props":1069,"children":1070},{"class":548,"line":63},[1071,1076,1080,1085,1089,1094,1098,1103],{"type":393,"tag":546,"props":1072,"children":1073},{"style":612},[1074],{"type":398,"value":1075},"    'price'",{"type":393,"tag":546,"props":1077,"children":1078},{"style":558},[1079],{"type":398,"value":620},{"type":393,"tag":546,"props":1081,"children":1082},{"style":664},[1083],{"type":398,"value":1084},"10.99",{"type":393,"tag":546,"props":1086,"children":1087},{"style":558},[1088],{"type":398,"value":630},{"type":393,"tag":546,"props":1090,"children":1091},{"style":664},[1092],{"type":398,"value":1093},"25.50",{"type":393,"tag":546,"props":1095,"children":1096},{"style":558},[1097],{"type":398,"value":630},{"type":393,"tag":546,"props":1099,"children":1100},{"style":664},[1101],{"type":398,"value":1102},"15.75",{"type":393,"tag":546,"props":1104,"children":1105},{"style":558},[1106],{"type":398,"value":649},{"type":393,"tag":546,"props":1108,"children":1109},{"class":548,"line":72},[1110,1115,1119,1124,1128,1133,1137,1142],{"type":393,"tag":546,"props":1111,"children":1112},{"style":612},[1113],{"type":398,"value":1114},"    'quantity'",{"type":393,"tag":546,"props":1116,"children":1117},{"style":558},[1118],{"type":398,"value":620},{"type":393,"tag":546,"props":1120,"children":1121},{"style":664},[1122],{"type":398,"value":1123},"5",{"type":393,"tag":546,"props":1125,"children":1126},{"style":558},[1127],{"type":398,"value":630},{"type":393,"tag":546,"props":1129,"children":1130},{"style":664},[1131],{"type":398,"value":1132},"3",{"type":393,"tag":546,"props":1134,"children":1135},{"style":558},[1136],{"type":398,"value":630},{"type":393,"tag":546,"props":1138,"children":1139},{"style":664},[1140],{"type":398,"value":1141},"8",{"type":393,"tag":546,"props":1143,"children":1144},{"style":558},[1145],{"type":398,"value":806},{"type":393,"tag":546,"props":1147,"children":1148},{"class":548,"line":83},[1149],{"type":393,"tag":546,"props":1150,"children":1151},{"style":558},[1152],{"type":398,"value":814},{"type":393,"tag":546,"props":1154,"children":1155},{"class":548,"line":92},[1156],{"type":393,"tag":546,"props":1157,"children":1158},{"emptyLinePlaceholder":12},[1159],{"type":398,"value":579},{"type":393,"tag":546,"props":1161,"children":1162},{"class":548,"line":101},[1163,1167,1171,1176],{"type":393,"tag":546,"props":1164,"children":1165},{"style":664},[1166],{"type":398,"value":829},{"type":393,"tag":546,"props":1168,"children":1169},{"style":558},[1170],{"type":398,"value":834},{"type":393,"tag":546,"props":1172,"children":1173},{"style":612},[1174],{"type":398,"value":1175},"\"Sales Data:\"",{"type":393,"tag":546,"props":1177,"children":1178},{"style":558},[1179],{"type":398,"value":844},{"type":393,"tag":546,"props":1181,"children":1182},{"class":548,"line":110},[1183,1187],{"type":393,"tag":546,"props":1184,"children":1185},{"style":664},[1186],{"type":398,"value":829},{"type":393,"tag":546,"props":1188,"children":1189},{"style":558},[1190],{"type":398,"value":1191},"(sales)\n",{"type":393,"tag":546,"props":1193,"children":1194},{"class":548,"line":121},[1195,1199],{"type":393,"tag":546,"props":1196,"children":1197},{"style":664},[1198],{"type":398,"value":829},{"type":393,"tag":546,"props":1200,"children":1201},{"style":558},[1202],{"type":398,"value":868},{"type":393,"tag":546,"props":1204,"children":1205},{"class":548,"line":130},[1206],{"type":393,"tag":546,"props":1207,"children":1208},{"emptyLinePlaceholder":12},[1209],{"type":398,"value":579},{"type":393,"tag":546,"props":1211,"children":1212},{"class":548,"line":139},[1213,1217,1221,1226],{"type":393,"tag":546,"props":1214,"children":1215},{"style":664},[1216],{"type":398,"value":829},{"type":393,"tag":546,"props":1218,"children":1219},{"style":558},[1220],{"type":398,"value":834},{"type":393,"tag":546,"props":1222,"children":1223},{"style":612},[1224],{"type":398,"value":1225},"\"💰 Price Column Analysis:\"",{"type":393,"tag":546,"props":1227,"children":1228},{"style":558},[1229],{"type":398,"value":844},{"type":393,"tag":546,"props":1231,"children":1232},{"class":548,"line":148},[1233,1237,1241,1246,1251,1256,1261,1266,1271,1276,1281],{"type":393,"tag":546,"props":1234,"children":1235},{"style":664},[1236],{"type":398,"value":829},{"type":393,"tag":546,"props":1238,"children":1239},{"style":558},[1240],{"type":398,"value":834},{"type":393,"tag":546,"props":1242,"children":1243},{"style":552},[1244],{"type":398,"value":1245},"f",{"type":393,"tag":546,"props":1247,"children":1248},{"style":612},[1249],{"type":398,"value":1250},"\"Type: ",{"type":393,"tag":546,"props":1252,"children":1253},{"style":664},[1254],{"type":398,"value":1255},"{",{"type":393,"tag":546,"props":1257,"children":1258},{"style":558},[1259],{"type":398,"value":1260},"sales[",{"type":393,"tag":546,"props":1262,"children":1263},{"style":612},[1264],{"type":398,"value":1265},"'price'",{"type":393,"tag":546,"props":1267,"children":1268},{"style":558},[1269],{"type":398,"value":1270},"].dtype",{"type":393,"tag":546,"props":1272,"children":1273},{"style":664},[1274],{"type":398,"value":1275},"}",{"type":393,"tag":546,"props":1277,"children":1278},{"style":612},[1279],{"type":398,"value":1280},"\"",{"type":393,"tag":546,"props":1282,"children":1283},{"style":558},[1284],{"type":398,"value":844},{"type":393,"tag":546,"props":1286,"children":1287},{"class":548,"line":159},[1288,1292,1296,1300,1305,1309,1313,1317,1322,1327,1331,1335],{"type":393,"tag":546,"props":1289,"children":1290},{"style":664},[1291],{"type":398,"value":829},{"type":393,"tag":546,"props":1293,"children":1294},{"style":558},[1295],{"type":398,"value":834},{"type":393,"tag":546,"props":1297,"children":1298},{"style":552},[1299],{"type":398,"value":1245},{"type":393,"tag":546,"props":1301,"children":1302},{"style":612},[1303],{"type":398,"value":1304},"\"Average: $",{"type":393,"tag":546,"props":1306,"children":1307},{"style":664},[1308],{"type":398,"value":1255},{"type":393,"tag":546,"props":1310,"children":1311},{"style":558},[1312],{"type":398,"value":1260},{"type":393,"tag":546,"props":1314,"children":1315},{"style":612},[1316],{"type":398,"value":1265},{"type":393,"tag":546,"props":1318,"children":1319},{"style":558},[1320],{"type":398,"value":1321},"].mean()",{"type":393,"tag":546,"props":1323,"children":1324},{"style":552},[1325],{"type":398,"value":1326},":.2f",{"type":393,"tag":546,"props":1328,"children":1329},{"style":664},[1330],{"type":398,"value":1275},{"type":393,"tag":546,"props":1332,"children":1333},{"style":612},[1334],{"type":398,"value":1280},{"type":393,"tag":546,"props":1336,"children":1337},{"style":558},[1338],{"type":398,"value":844},{"type":393,"tag":546,"props":1340,"children":1341},{"class":548,"line":168},[1342,1346,1350,1354,1359,1363,1367,1371,1376,1380,1384,1388],{"type":393,"tag":546,"props":1343,"children":1344},{"style":664},[1345],{"type":398,"value":829},{"type":393,"tag":546,"props":1347,"children":1348},{"style":558},[1349],{"type":398,"value":834},{"type":393,"tag":546,"props":1351,"children":1352},{"style":552},[1353],{"type":398,"value":1245},{"type":393,"tag":546,"props":1355,"children":1356},{"style":612},[1357],{"type":398,"value":1358},"\"Total: $",{"type":393,"tag":546,"props":1360,"children":1361},{"style":664},[1362],{"type":398,"value":1255},{"type":393,"tag":546,"props":1364,"children":1365},{"style":558},[1366],{"type":398,"value":1260},{"type":393,"tag":546,"props":1368,"children":1369},{"style":612},[1370],{"type":398,"value":1265},{"type":393,"tag":546,"props":1372,"children":1373},{"style":558},[1374],{"type":398,"value":1375},"].sum()",{"type":393,"tag":546,"props":1377,"children":1378},{"style":552},[1379],{"type":398,"value":1326},{"type":393,"tag":546,"props":1381,"children":1382},{"style":664},[1383],{"type":398,"value":1275},{"type":393,"tag":546,"props":1385,"children":1386},{"style":612},[1387],{"type":398,"value":1280},{"type":393,"tag":546,"props":1389,"children":1390},{"style":558},[1391],{"type":398,"value":844},{"type":393,"tag":546,"props":1393,"children":1394},{"class":548,"line":177},[1395,1399],{"type":393,"tag":546,"props":1396,"children":1397},{"style":664},[1398],{"type":398,"value":829},{"type":393,"tag":546,"props":1400,"children":1401},{"style":558},[1402],{"type":398,"value":868},{"type":393,"tag":546,"props":1404,"children":1405},{"class":548,"line":186},[1406],{"type":393,"tag":546,"props":1407,"children":1408},{"emptyLinePlaceholder":12},[1409],{"type":398,"value":579},{"type":393,"tag":546,"props":1411,"children":1412},{"class":548,"line":197},[1413,1417,1421,1426],{"type":393,"tag":546,"props":1414,"children":1415},{"style":664},[1416],{"type":398,"value":829},{"type":393,"tag":546,"props":1418,"children":1419},{"style":558},[1420],{"type":398,"value":834},{"type":393,"tag":546,"props":1422,"children":1423},{"style":612},[1424],{"type":398,"value":1425},"\"📦 Quantity Column Analysis:\"",{"type":393,"tag":546,"props":1427,"children":1428},{"style":558},[1429],{"type":398,"value":844},{"type":393,"tag":546,"props":1431,"children":1432},{"class":548,"line":206},[1433,1437,1441,1445,1449,1453,1457,1462,1466,1470,1474],{"type":393,"tag":546,"props":1434,"children":1435},{"style":664},[1436],{"type":398,"value":829},{"type":393,"tag":546,"props":1438,"children":1439},{"style":558},[1440],{"type":398,"value":834},{"type":393,"tag":546,"props":1442,"children":1443},{"style":552},[1444],{"type":398,"value":1245},{"type":393,"tag":546,"props":1446,"children":1447},{"style":612},[1448],{"type":398,"value":1250},{"type":393,"tag":546,"props":1450,"children":1451},{"style":664},[1452],{"type":398,"value":1255},{"type":393,"tag":546,"props":1454,"children":1455},{"style":558},[1456],{"type":398,"value":1260},{"type":393,"tag":546,"props":1458,"children":1459},{"style":612},[1460],{"type":398,"value":1461},"'quantity'",{"type":393,"tag":546,"props":1463,"children":1464},{"style":558},[1465],{"type":398,"value":1270},{"type":393,"tag":546,"props":1467,"children":1468},{"style":664},[1469],{"type":398,"value":1275},{"type":393,"tag":546,"props":1471,"children":1472},{"style":612},[1473],{"type":398,"value":1280},{"type":393,"tag":546,"props":1475,"children":1476},{"style":558},[1477],{"type":398,"value":844},{"type":393,"tag":546,"props":1479,"children":1480},{"class":548,"line":215},[1481,1485,1489,1493,1498,1502,1506,1510,1514,1518,1522],{"type":393,"tag":546,"props":1482,"children":1483},{"style":664},[1484],{"type":398,"value":829},{"type":393,"tag":546,"props":1486,"children":1487},{"style":558},[1488],{"type":398,"value":834},{"type":393,"tag":546,"props":1490,"children":1491},{"style":552},[1492],{"type":398,"value":1245},{"type":393,"tag":546,"props":1494,"children":1495},{"style":612},[1496],{"type":398,"value":1497},"\"Total quantity: ",{"type":393,"tag":546,"props":1499,"children":1500},{"style":664},[1501],{"type":398,"value":1255},{"type":393,"tag":546,"props":1503,"children":1504},{"style":558},[1505],{"type":398,"value":1260},{"type":393,"tag":546,"props":1507,"children":1508},{"style":612},[1509],{"type":398,"value":1461},{"type":393,"tag":546,"props":1511,"children":1512},{"style":558},[1513],{"type":398,"value":1375},{"type":393,"tag":546,"props":1515,"children":1516},{"style":664},[1517],{"type":398,"value":1275},{"type":393,"tag":546,"props":1519,"children":1520},{"style":612},[1521],{"type":398,"value":1280},{"type":393,"tag":546,"props":1523,"children":1524},{"style":558},[1525],{"type":398,"value":844},{"type":393,"tag":546,"props":1527,"children":1528},{"class":548,"line":224},[1529,1533,1537,1541,1546,1550,1554,1558,1563,1567,1571],{"type":393,"tag":546,"props":1530,"children":1531},{"style":664},[1532],{"type":398,"value":829},{"type":393,"tag":546,"props":1534,"children":1535},{"style":558},[1536],{"type":398,"value":834},{"type":393,"tag":546,"props":1538,"children":1539},{"style":552},[1540],{"type":398,"value":1245},{"type":393,"tag":546,"props":1542,"children":1543},{"style":612},[1544],{"type":398,"value":1545},"\"Max quantity: ",{"type":393,"tag":546,"props":1547,"children":1548},{"style":664},[1549],{"type":398,"value":1255},{"type":393,"tag":546,"props":1551,"children":1552},{"style":558},[1553],{"type":398,"value":1260},{"type":393,"tag":546,"props":1555,"children":1556},{"style":612},[1557],{"type":398,"value":1461},{"type":393,"tag":546,"props":1559,"children":1560},{"style":558},[1561],{"type":398,"value":1562},"].max()",{"type":393,"tag":546,"props":1564,"children":1565},{"style":664},[1566],{"type":398,"value":1275},{"type":393,"tag":546,"props":1568,"children":1569},{"style":612},[1570],{"type":398,"value":1280},{"type":393,"tag":546,"props":1572,"children":1573},{"style":558},[1574],{"type":398,"value":844},{"type":393,"tag":519,"props":1576,"children":1578},{"id":1577},"working-with-text-columns",[1579],{"type":398,"value":1580},"📝 Working with Text Columns",{"type":393,"tag":401,"props":1582,"children":1583},{},[1584],{"type":398,"value":1585},"Text columns (object type) have different methods:",{"type":393,"tag":531,"props":1587,"children":1588},{},[1589],{"type":393,"tag":535,"props":1590,"children":1592},{"className":537,"code":1591,"language":539,"meta":6,"style":6},"import pandas as pd\n\n# Text data\ncustomers = pd.DataFrame({\n    'name': ['Alice Johnson', 'Bob Smith', 'Charlie Brown'],\n    'city': ['New York', 'Los Angeles', 'Chicago'],\n    'email': ['alice@email.com', 'bob@email.com', 'charlie@email.com']\n})\n\nprint(\"Customer Data:\")\nprint(customers)\nprint()\n\nprint(\"📧 Email Column Analysis:\")\nprint(f\"Type: {customers['email'].dtype}\")\nprint(f\"Unique emails: {customers['email'].nunique()}\")\nprint(\"Email domains:\")\nfor email in customers['email']:\n    domain = email.split('@')[1]\n    print(f\"  {domain}\")\nprint()\n\nprint(\"🏙️ City Column Analysis:\")\nprint(customers['city'].value_counts())\n",[1593],{"type":393,"tag":542,"props":1594,"children":1595},{"__ignoreMap":6},[1596,1615,1622,1630,1646,1684,1723,1762,1769,1776,1796,1808,1819,1826,1846,1895,1944,1964,1996,2032,2074,2085,2092,2112],{"type":393,"tag":546,"props":1597,"children":1598},{"class":548,"line":11},[1599,1603,1607,1611],{"type":393,"tag":546,"props":1600,"children":1601},{"style":552},[1602],{"type":398,"value":555},{"type":393,"tag":546,"props":1604,"children":1605},{"style":558},[1606],{"type":398,"value":561},{"type":393,"tag":546,"props":1608,"children":1609},{"style":552},[1610],{"type":398,"value":566},{"type":393,"tag":546,"props":1612,"children":1613},{"style":558},[1614],{"type":398,"value":571},{"type":393,"tag":546,"props":1616,"children":1617},{"class":548,"line":27},[1618],{"type":393,"tag":546,"props":1619,"children":1620},{"emptyLinePlaceholder":12},[1621],{"type":398,"value":579},{"type":393,"tag":546,"props":1623,"children":1624},{"class":548,"line":36},[1625],{"type":393,"tag":546,"props":1626,"children":1627},{"style":585},[1628],{"type":398,"value":1629},"# Text data\n",{"type":393,"tag":546,"props":1631,"children":1632},{"class":548,"line":45},[1633,1638,1642],{"type":393,"tag":546,"props":1634,"children":1635},{"style":558},[1636],{"type":398,"value":1637},"customers ",{"type":393,"tag":546,"props":1639,"children":1640},{"style":552},[1641],{"type":398,"value":601},{"type":393,"tag":546,"props":1643,"children":1644},{"style":558},[1645],{"type":398,"value":606},{"type":393,"tag":546,"props":1647,"children":1648},{"class":548,"line":54},[1649,1653,1657,1662,1666,1671,1675,1680],{"type":393,"tag":546,"props":1650,"children":1651},{"style":612},[1652],{"type":398,"value":615},{"type":393,"tag":546,"props":1654,"children":1655},{"style":558},[1656],{"type":398,"value":620},{"type":393,"tag":546,"props":1658,"children":1659},{"style":612},[1660],{"type":398,"value":1661},"'Alice Johnson'",{"type":393,"tag":546,"props":1663,"children":1664},{"style":558},[1665],{"type":398,"value":630},{"type":393,"tag":546,"props":1667,"children":1668},{"style":612},[1669],{"type":398,"value":1670},"'Bob Smith'",{"type":393,"tag":546,"props":1672,"children":1673},{"style":558},[1674],{"type":398,"value":630},{"type":393,"tag":546,"props":1676,"children":1677},{"style":612},[1678],{"type":398,"value":1679},"'Charlie Brown'",{"type":393,"tag":546,"props":1681,"children":1682},{"style":558},[1683],{"type":398,"value":649},{"type":393,"tag":546,"props":1685,"children":1686},{"class":548,"line":63},[1687,1692,1696,1701,1705,1710,1714,1719],{"type":393,"tag":546,"props":1688,"children":1689},{"style":612},[1690],{"type":398,"value":1691},"    'city'",{"type":393,"tag":546,"props":1693,"children":1694},{"style":558},[1695],{"type":398,"value":620},{"type":393,"tag":546,"props":1697,"children":1698},{"style":612},[1699],{"type":398,"value":1700},"'New York'",{"type":393,"tag":546,"props":1702,"children":1703},{"style":558},[1704],{"type":398,"value":630},{"type":393,"tag":546,"props":1706,"children":1707},{"style":612},[1708],{"type":398,"value":1709},"'Los Angeles'",{"type":393,"tag":546,"props":1711,"children":1712},{"style":558},[1713],{"type":398,"value":630},{"type":393,"tag":546,"props":1715,"children":1716},{"style":612},[1717],{"type":398,"value":1718},"'Chicago'",{"type":393,"tag":546,"props":1720,"children":1721},{"style":558},[1722],{"type":398,"value":649},{"type":393,"tag":546,"props":1724,"children":1725},{"class":548,"line":72},[1726,1731,1735,1740,1744,1749,1753,1758],{"type":393,"tag":546,"props":1727,"children":1728},{"style":612},[1729],{"type":398,"value":1730},"    'email'",{"type":393,"tag":546,"props":1732,"children":1733},{"style":558},[1734],{"type":398,"value":620},{"type":393,"tag":546,"props":1736,"children":1737},{"style":612},[1738],{"type":398,"value":1739},"'alice@email.com'",{"type":393,"tag":546,"props":1741,"children":1742},{"style":558},[1743],{"type":398,"value":630},{"type":393,"tag":546,"props":1745,"children":1746},{"style":612},[1747],{"type":398,"value":1748},"'bob@email.com'",{"type":393,"tag":546,"props":1750,"children":1751},{"style":558},[1752],{"type":398,"value":630},{"type":393,"tag":546,"props":1754,"children":1755},{"style":612},[1756],{"type":398,"value":1757},"'charlie@email.com'",{"type":393,"tag":546,"props":1759,"children":1760},{"style":558},[1761],{"type":398,"value":806},{"type":393,"tag":546,"props":1763,"children":1764},{"class":548,"line":83},[1765],{"type":393,"tag":546,"props":1766,"children":1767},{"style":558},[1768],{"type":398,"value":814},{"type":393,"tag":546,"props":1770,"children":1771},{"class":548,"line":92},[1772],{"type":393,"tag":546,"props":1773,"children":1774},{"emptyLinePlaceholder":12},[1775],{"type":398,"value":579},{"type":393,"tag":546,"props":1777,"children":1778},{"class":548,"line":101},[1779,1783,1787,1792],{"type":393,"tag":546,"props":1780,"children":1781},{"style":664},[1782],{"type":398,"value":829},{"type":393,"tag":546,"props":1784,"children":1785},{"style":558},[1786],{"type":398,"value":834},{"type":393,"tag":546,"props":1788,"children":1789},{"style":612},[1790],{"type":398,"value":1791},"\"Customer Data:\"",{"type":393,"tag":546,"props":1793,"children":1794},{"style":558},[1795],{"type":398,"value":844},{"type":393,"tag":546,"props":1797,"children":1798},{"class":548,"line":110},[1799,1803],{"type":393,"tag":546,"props":1800,"children":1801},{"style":664},[1802],{"type":398,"value":829},{"type":393,"tag":546,"props":1804,"children":1805},{"style":558},[1806],{"type":398,"value":1807},"(customers)\n",{"type":393,"tag":546,"props":1809,"children":1810},{"class":548,"line":121},[1811,1815],{"type":393,"tag":546,"props":1812,"children":1813},{"style":664},[1814],{"type":398,"value":829},{"type":393,"tag":546,"props":1816,"children":1817},{"style":558},[1818],{"type":398,"value":868},{"type":393,"tag":546,"props":1820,"children":1821},{"class":548,"line":130},[1822],{"type":393,"tag":546,"props":1823,"children":1824},{"emptyLinePlaceholder":12},[1825],{"type":398,"value":579},{"type":393,"tag":546,"props":1827,"children":1828},{"class":548,"line":139},[1829,1833,1837,1842],{"type":393,"tag":546,"props":1830,"children":1831},{"style":664},[1832],{"type":398,"value":829},{"type":393,"tag":546,"props":1834,"children":1835},{"style":558},[1836],{"type":398,"value":834},{"type":393,"tag":546,"props":1838,"children":1839},{"style":612},[1840],{"type":398,"value":1841},"\"📧 Email Column Analysis:\"",{"type":393,"tag":546,"props":1843,"children":1844},{"style":558},[1845],{"type":398,"value":844},{"type":393,"tag":546,"props":1847,"children":1848},{"class":548,"line":148},[1849,1853,1857,1861,1865,1869,1874,1879,1883,1887,1891],{"type":393,"tag":546,"props":1850,"children":1851},{"style":664},[1852],{"type":398,"value":829},{"type":393,"tag":546,"props":1854,"children":1855},{"style":558},[1856],{"type":398,"value":834},{"type":393,"tag":546,"props":1858,"children":1859},{"style":552},[1860],{"type":398,"value":1245},{"type":393,"tag":546,"props":1862,"children":1863},{"style":612},[1864],{"type":398,"value":1250},{"type":393,"tag":546,"props":1866,"children":1867},{"style":664},[1868],{"type":398,"value":1255},{"type":393,"tag":546,"props":1870,"children":1871},{"style":558},[1872],{"type":398,"value":1873},"customers[",{"type":393,"tag":546,"props":1875,"children":1876},{"style":612},[1877],{"type":398,"value":1878},"'email'",{"type":393,"tag":546,"props":1880,"children":1881},{"style":558},[1882],{"type":398,"value":1270},{"type":393,"tag":546,"props":1884,"children":1885},{"style":664},[1886],{"type":398,"value":1275},{"type":393,"tag":546,"props":1888,"children":1889},{"style":612},[1890],{"type":398,"value":1280},{"type":393,"tag":546,"props":1892,"children":1893},{"style":558},[1894],{"type":398,"value":844},{"type":393,"tag":546,"props":1896,"children":1897},{"class":548,"line":159},[1898,1902,1906,1910,1915,1919,1923,1927,1932,1936,1940],{"type":393,"tag":546,"props":1899,"children":1900},{"style":664},[1901],{"type":398,"value":829},{"type":393,"tag":546,"props":1903,"children":1904},{"style":558},[1905],{"type":398,"value":834},{"type":393,"tag":546,"props":1907,"children":1908},{"style":552},[1909],{"type":398,"value":1245},{"type":393,"tag":546,"props":1911,"children":1912},{"style":612},[1913],{"type":398,"value":1914},"\"Unique emails: ",{"type":393,"tag":546,"props":1916,"children":1917},{"style":664},[1918],{"type":398,"value":1255},{"type":393,"tag":546,"props":1920,"children":1921},{"style":558},[1922],{"type":398,"value":1873},{"type":393,"tag":546,"props":1924,"children":1925},{"style":612},[1926],{"type":398,"value":1878},{"type":393,"tag":546,"props":1928,"children":1929},{"style":558},[1930],{"type":398,"value":1931},"].nunique()",{"type":393,"tag":546,"props":1933,"children":1934},{"style":664},[1935],{"type":398,"value":1275},{"type":393,"tag":546,"props":1937,"children":1938},{"style":612},[1939],{"type":398,"value":1280},{"type":393,"tag":546,"props":1941,"children":1942},{"style":558},[1943],{"type":398,"value":844},{"type":393,"tag":546,"props":1945,"children":1946},{"class":548,"line":168},[1947,1951,1955,1960],{"type":393,"tag":546,"props":1948,"children":1949},{"style":664},[1950],{"type":398,"value":829},{"type":393,"tag":546,"props":1952,"children":1953},{"style":558},[1954],{"type":398,"value":834},{"type":393,"tag":546,"props":1956,"children":1957},{"style":612},[1958],{"type":398,"value":1959},"\"Email domains:\"",{"type":393,"tag":546,"props":1961,"children":1962},{"style":558},[1963],{"type":398,"value":844},{"type":393,"tag":546,"props":1965,"children":1966},{"class":548,"line":177},[1967,1972,1977,1982,1987,1991],{"type":393,"tag":546,"props":1968,"children":1969},{"style":552},[1970],{"type":398,"value":1971},"for",{"type":393,"tag":546,"props":1973,"children":1974},{"style":558},[1975],{"type":398,"value":1976}," email ",{"type":393,"tag":546,"props":1978,"children":1979},{"style":552},[1980],{"type":398,"value":1981},"in",{"type":393,"tag":546,"props":1983,"children":1984},{"style":558},[1985],{"type":398,"value":1986}," customers[",{"type":393,"tag":546,"props":1988,"children":1989},{"style":612},[1990],{"type":398,"value":1878},{"type":393,"tag":546,"props":1992,"children":1993},{"style":558},[1994],{"type":398,"value":1995},"]:\n",{"type":393,"tag":546,"props":1997,"children":1998},{"class":548,"line":186},[1999,2004,2008,2013,2018,2023,2028],{"type":393,"tag":546,"props":2000,"children":2001},{"style":558},[2002],{"type":398,"value":2003},"    domain ",{"type":393,"tag":546,"props":2005,"children":2006},{"style":552},[2007],{"type":398,"value":601},{"type":393,"tag":546,"props":2009,"children":2010},{"style":558},[2011],{"type":398,"value":2012}," email.split(",{"type":393,"tag":546,"props":2014,"children":2015},{"style":612},[2016],{"type":398,"value":2017},"'@'",{"type":393,"tag":546,"props":2019,"children":2020},{"style":558},[2021],{"type":398,"value":2022},")[",{"type":393,"tag":546,"props":2024,"children":2025},{"style":664},[2026],{"type":398,"value":2027},"1",{"type":393,"tag":546,"props":2029,"children":2030},{"style":558},[2031],{"type":398,"value":806},{"type":393,"tag":546,"props":2033,"children":2034},{"class":548,"line":197},[2035,2040,2044,2048,2053,2057,2062,2066,2070],{"type":393,"tag":546,"props":2036,"children":2037},{"style":664},[2038],{"type":398,"value":2039},"    print",{"type":393,"tag":546,"props":2041,"children":2042},{"style":558},[2043],{"type":398,"value":834},{"type":393,"tag":546,"props":2045,"children":2046},{"style":552},[2047],{"type":398,"value":1245},{"type":393,"tag":546,"props":2049,"children":2050},{"style":612},[2051],{"type":398,"value":2052},"\"  ",{"type":393,"tag":546,"props":2054,"children":2055},{"style":664},[2056],{"type":398,"value":1255},{"type":393,"tag":546,"props":2058,"children":2059},{"style":558},[2060],{"type":398,"value":2061},"domain",{"type":393,"tag":546,"props":2063,"children":2064},{"style":664},[2065],{"type":398,"value":1275},{"type":393,"tag":546,"props":2067,"children":2068},{"style":612},[2069],{"type":398,"value":1280},{"type":393,"tag":546,"props":2071,"children":2072},{"style":558},[2073],{"type":398,"value":844},{"type":393,"tag":546,"props":2075,"children":2076},{"class":548,"line":206},[2077,2081],{"type":393,"tag":546,"props":2078,"children":2079},{"style":664},[2080],{"type":398,"value":829},{"type":393,"tag":546,"props":2082,"children":2083},{"style":558},[2084],{"type":398,"value":868},{"type":393,"tag":546,"props":2086,"children":2087},{"class":548,"line":215},[2088],{"type":393,"tag":546,"props":2089,"children":2090},{"emptyLinePlaceholder":12},[2091],{"type":398,"value":579},{"type":393,"tag":546,"props":2093,"children":2094},{"class":548,"line":224},[2095,2099,2103,2108],{"type":393,"tag":546,"props":2096,"children":2097},{"style":664},[2098],{"type":398,"value":829},{"type":393,"tag":546,"props":2100,"children":2101},{"style":558},[2102],{"type":398,"value":834},{"type":393,"tag":546,"props":2104,"children":2105},{"style":612},[2106],{"type":398,"value":2107},"\"🏙️ City Column Analysis:\"",{"type":393,"tag":546,"props":2109,"children":2110},{"style":558},[2111],{"type":398,"value":844},{"type":393,"tag":546,"props":2113,"children":2114},{"class":548,"line":233},[2115,2119,2124,2129],{"type":393,"tag":546,"props":2116,"children":2117},{"style":664},[2118],{"type":398,"value":829},{"type":393,"tag":546,"props":2120,"children":2121},{"style":558},[2122],{"type":398,"value":2123},"(customers[",{"type":393,"tag":546,"props":2125,"children":2126},{"style":612},[2127],{"type":398,"value":2128},"'city'",{"type":393,"tag":546,"props":2130,"children":2131},{"style":558},[2132],{"type":398,"value":2133},"].value_counts())\n",{"type":393,"tag":519,"props":2135,"children":2137},{"id":2136},"working-with-boolean-columns",[2138],{"type":398,"value":2139},"✅ Working with Boolean Columns",{"type":393,"tag":401,"props":2141,"children":2142},{},[2143],{"type":398,"value":2144},"Boolean columns store True/False values:",{"type":393,"tag":531,"props":2146,"children":2147},{},[2148],{"type":393,"tag":535,"props":2149,"children":2151},{"className":537,"code":2150,"language":539,"meta":6,"style":6},"import pandas as pd\n\n# Boolean data\nsurvey = pd.DataFrame({\n    'respondent': [1, 2, 3, 4],\n    'satisfied': [True, False, True, True],\n    'will_recommend': [True, False, False, True]\n})\n\nprint(\"Survey Data:\")\nprint(survey)\nprint()\n\nprint(\"😊 Satisfaction Analysis:\")\nprint(f\"Type: {survey['satisfied'].dtype}\")\nprint(f\"Satisfied customers: {survey['satisfied'].sum()}\")\nprint(f\"Satisfaction rate: {survey['satisfied'].mean():.2%}\")\nprint()\n\nprint(\"👍 Recommendation Analysis:\")\nprint(f\"Will recommend: {survey['will_recommend'].sum()}\")\nprint(f\"Recommendation rate: {survey['will_recommend'].mean():.2%}\")\n",[2152],{"type":393,"tag":542,"props":2153,"children":2154},{"__ignoreMap":6},[2155,2174,2181,2189,2205,2251,2295,2339,2346,2353,2373,2385,2396,2403,2423,2472,2520,2573,2584,2591,2611,2660],{"type":393,"tag":546,"props":2156,"children":2157},{"class":548,"line":11},[2158,2162,2166,2170],{"type":393,"tag":546,"props":2159,"children":2160},{"style":552},[2161],{"type":398,"value":555},{"type":393,"tag":546,"props":2163,"children":2164},{"style":558},[2165],{"type":398,"value":561},{"type":393,"tag":546,"props":2167,"children":2168},{"style":552},[2169],{"type":398,"value":566},{"type":393,"tag":546,"props":2171,"children":2172},{"style":558},[2173],{"type":398,"value":571},{"type":393,"tag":546,"props":2175,"children":2176},{"class":548,"line":27},[2177],{"type":393,"tag":546,"props":2178,"children":2179},{"emptyLinePlaceholder":12},[2180],{"type":398,"value":579},{"type":393,"tag":546,"props":2182,"children":2183},{"class":548,"line":36},[2184],{"type":393,"tag":546,"props":2185,"children":2186},{"style":585},[2187],{"type":398,"value":2188},"# Boolean data\n",{"type":393,"tag":546,"props":2190,"children":2191},{"class":548,"line":45},[2192,2197,2201],{"type":393,"tag":546,"props":2193,"children":2194},{"style":558},[2195],{"type":398,"value":2196},"survey ",{"type":393,"tag":546,"props":2198,"children":2199},{"style":552},[2200],{"type":398,"value":601},{"type":393,"tag":546,"props":2202,"children":2203},{"style":558},[2204],{"type":398,"value":606},{"type":393,"tag":546,"props":2206,"children":2207},{"class":548,"line":54},[2208,2213,2217,2221,2225,2230,2234,2238,2242,2247],{"type":393,"tag":546,"props":2209,"children":2210},{"style":612},[2211],{"type":398,"value":2212},"    'respondent'",{"type":393,"tag":546,"props":2214,"children":2215},{"style":558},[2216],{"type":398,"value":620},{"type":393,"tag":546,"props":2218,"children":2219},{"style":664},[2220],{"type":398,"value":2027},{"type":393,"tag":546,"props":2222,"children":2223},{"style":558},[2224],{"type":398,"value":630},{"type":393,"tag":546,"props":2226,"children":2227},{"style":664},[2228],{"type":398,"value":2229},"2",{"type":393,"tag":546,"props":2231,"children":2232},{"style":558},[2233],{"type":398,"value":630},{"type":393,"tag":546,"props":2235,"children":2236},{"style":664},[2237],{"type":398,"value":1132},{"type":393,"tag":546,"props":2239,"children":2240},{"style":558},[2241],{"type":398,"value":630},{"type":393,"tag":546,"props":2243,"children":2244},{"style":664},[2245],{"type":398,"value":2246},"4",{"type":393,"tag":546,"props":2248,"children":2249},{"style":558},[2250],{"type":398,"value":649},{"type":393,"tag":546,"props":2252,"children":2253},{"class":548,"line":63},[2254,2259,2263,2267,2271,2275,2279,2283,2287,2291],{"type":393,"tag":546,"props":2255,"children":2256},{"style":612},[2257],{"type":398,"value":2258},"    'satisfied'",{"type":393,"tag":546,"props":2260,"children":2261},{"style":558},[2262],{"type":398,"value":620},{"type":393,"tag":546,"props":2264,"children":2265},{"style":664},[2266],{"type":398,"value":745},{"type":393,"tag":546,"props":2268,"children":2269},{"style":558},[2270],{"type":398,"value":630},{"type":393,"tag":546,"props":2272,"children":2273},{"style":664},[2274],{"type":398,"value":754},{"type":393,"tag":546,"props":2276,"children":2277},{"style":558},[2278],{"type":398,"value":630},{"type":393,"tag":546,"props":2280,"children":2281},{"style":664},[2282],{"type":398,"value":745},{"type":393,"tag":546,"props":2284,"children":2285},{"style":558},[2286],{"type":398,"value":630},{"type":393,"tag":546,"props":2288,"children":2289},{"style":664},[2290],{"type":398,"value":745},{"type":393,"tag":546,"props":2292,"children":2293},{"style":558},[2294],{"type":398,"value":649},{"type":393,"tag":546,"props":2296,"children":2297},{"class":548,"line":72},[2298,2303,2307,2311,2315,2319,2323,2327,2331,2335],{"type":393,"tag":546,"props":2299,"children":2300},{"style":612},[2301],{"type":398,"value":2302},"    'will_recommend'",{"type":393,"tag":546,"props":2304,"children":2305},{"style":558},[2306],{"type":398,"value":620},{"type":393,"tag":546,"props":2308,"children":2309},{"style":664},[2310],{"type":398,"value":745},{"type":393,"tag":546,"props":2312,"children":2313},{"style":558},[2314],{"type":398,"value":630},{"type":393,"tag":546,"props":2316,"children":2317},{"style":664},[2318],{"type":398,"value":754},{"type":393,"tag":546,"props":2320,"children":2321},{"style":558},[2322],{"type":398,"value":630},{"type":393,"tag":546,"props":2324,"children":2325},{"style":664},[2326],{"type":398,"value":754},{"type":393,"tag":546,"props":2328,"children":2329},{"style":558},[2330],{"type":398,"value":630},{"type":393,"tag":546,"props":2332,"children":2333},{"style":664},[2334],{"type":398,"value":745},{"type":393,"tag":546,"props":2336,"children":2337},{"style":558},[2338],{"type":398,"value":806},{"type":393,"tag":546,"props":2340,"children":2341},{"class":548,"line":83},[2342],{"type":393,"tag":546,"props":2343,"children":2344},{"style":558},[2345],{"type":398,"value":814},{"type":393,"tag":546,"props":2347,"children":2348},{"class":548,"line":92},[2349],{"type":393,"tag":546,"props":2350,"children":2351},{"emptyLinePlaceholder":12},[2352],{"type":398,"value":579},{"type":393,"tag":546,"props":2354,"children":2355},{"class":548,"line":101},[2356,2360,2364,2369],{"type":393,"tag":546,"props":2357,"children":2358},{"style":664},[2359],{"type":398,"value":829},{"type":393,"tag":546,"props":2361,"children":2362},{"style":558},[2363],{"type":398,"value":834},{"type":393,"tag":546,"props":2365,"children":2366},{"style":612},[2367],{"type":398,"value":2368},"\"Survey Data:\"",{"type":393,"tag":546,"props":2370,"children":2371},{"style":558},[2372],{"type":398,"value":844},{"type":393,"tag":546,"props":2374,"children":2375},{"class":548,"line":110},[2376,2380],{"type":393,"tag":546,"props":2377,"children":2378},{"style":664},[2379],{"type":398,"value":829},{"type":393,"tag":546,"props":2381,"children":2382},{"style":558},[2383],{"type":398,"value":2384},"(survey)\n",{"type":393,"tag":546,"props":2386,"children":2387},{"class":548,"line":121},[2388,2392],{"type":393,"tag":546,"props":2389,"children":2390},{"style":664},[2391],{"type":398,"value":829},{"type":393,"tag":546,"props":2393,"children":2394},{"style":558},[2395],{"type":398,"value":868},{"type":393,"tag":546,"props":2397,"children":2398},{"class":548,"line":130},[2399],{"type":393,"tag":546,"props":2400,"children":2401},{"emptyLinePlaceholder":12},[2402],{"type":398,"value":579},{"type":393,"tag":546,"props":2404,"children":2405},{"class":548,"line":139},[2406,2410,2414,2419],{"type":393,"tag":546,"props":2407,"children":2408},{"style":664},[2409],{"type":398,"value":829},{"type":393,"tag":546,"props":2411,"children":2412},{"style":558},[2413],{"type":398,"value":834},{"type":393,"tag":546,"props":2415,"children":2416},{"style":612},[2417],{"type":398,"value":2418},"\"😊 Satisfaction Analysis:\"",{"type":393,"tag":546,"props":2420,"children":2421},{"style":558},[2422],{"type":398,"value":844},{"type":393,"tag":546,"props":2424,"children":2425},{"class":548,"line":148},[2426,2430,2434,2438,2442,2446,2451,2456,2460,2464,2468],{"type":393,"tag":546,"props":2427,"children":2428},{"style":664},[2429],{"type":398,"value":829},{"type":393,"tag":546,"props":2431,"children":2432},{"style":558},[2433],{"type":398,"value":834},{"type":393,"tag":546,"props":2435,"children":2436},{"style":552},[2437],{"type":398,"value":1245},{"type":393,"tag":546,"props":2439,"children":2440},{"style":612},[2441],{"type":398,"value":1250},{"type":393,"tag":546,"props":2443,"children":2444},{"style":664},[2445],{"type":398,"value":1255},{"type":393,"tag":546,"props":2447,"children":2448},{"style":558},[2449],{"type":398,"value":2450},"survey[",{"type":393,"tag":546,"props":2452,"children":2453},{"style":612},[2454],{"type":398,"value":2455},"'satisfied'",{"type":393,"tag":546,"props":2457,"children":2458},{"style":558},[2459],{"type":398,"value":1270},{"type":393,"tag":546,"props":2461,"children":2462},{"style":664},[2463],{"type":398,"value":1275},{"type":393,"tag":546,"props":2465,"children":2466},{"style":612},[2467],{"type":398,"value":1280},{"type":393,"tag":546,"props":2469,"children":2470},{"style":558},[2471],{"type":398,"value":844},{"type":393,"tag":546,"props":2473,"children":2474},{"class":548,"line":159},[2475,2479,2483,2487,2492,2496,2500,2504,2508,2512,2516],{"type":393,"tag":546,"props":2476,"children":2477},{"style":664},[2478],{"type":398,"value":829},{"type":393,"tag":546,"props":2480,"children":2481},{"style":558},[2482],{"type":398,"value":834},{"type":393,"tag":546,"props":2484,"children":2485},{"style":552},[2486],{"type":398,"value":1245},{"type":393,"tag":546,"props":2488,"children":2489},{"style":612},[2490],{"type":398,"value":2491},"\"Satisfied customers: ",{"type":393,"tag":546,"props":2493,"children":2494},{"style":664},[2495],{"type":398,"value":1255},{"type":393,"tag":546,"props":2497,"children":2498},{"style":558},[2499],{"type":398,"value":2450},{"type":393,"tag":546,"props":2501,"children":2502},{"style":612},[2503],{"type":398,"value":2455},{"type":393,"tag":546,"props":2505,"children":2506},{"style":558},[2507],{"type":398,"value":1375},{"type":393,"tag":546,"props":2509,"children":2510},{"style":664},[2511],{"type":398,"value":1275},{"type":393,"tag":546,"props":2513,"children":2514},{"style":612},[2515],{"type":398,"value":1280},{"type":393,"tag":546,"props":2517,"children":2518},{"style":558},[2519],{"type":398,"value":844},{"type":393,"tag":546,"props":2521,"children":2522},{"class":548,"line":168},[2523,2527,2531,2535,2540,2544,2548,2552,2556,2561,2565,2569],{"type":393,"tag":546,"props":2524,"children":2525},{"style":664},[2526],{"type":398,"value":829},{"type":393,"tag":546,"props":2528,"children":2529},{"style":558},[2530],{"type":398,"value":834},{"type":393,"tag":546,"props":2532,"children":2533},{"style":552},[2534],{"type":398,"value":1245},{"type":393,"tag":546,"props":2536,"children":2537},{"style":612},[2538],{"type":398,"value":2539},"\"Satisfaction rate: ",{"type":393,"tag":546,"props":2541,"children":2542},{"style":664},[2543],{"type":398,"value":1255},{"type":393,"tag":546,"props":2545,"children":2546},{"style":558},[2547],{"type":398,"value":2450},{"type":393,"tag":546,"props":2549,"children":2550},{"style":612},[2551],{"type":398,"value":2455},{"type":393,"tag":546,"props":2553,"children":2554},{"style":558},[2555],{"type":398,"value":1321},{"type":393,"tag":546,"props":2557,"children":2558},{"style":552},[2559],{"type":398,"value":2560},":.2%",{"type":393,"tag":546,"props":2562,"children":2563},{"style":664},[2564],{"type":398,"value":1275},{"type":393,"tag":546,"props":2566,"children":2567},{"style":612},[2568],{"type":398,"value":1280},{"type":393,"tag":546,"props":2570,"children":2571},{"style":558},[2572],{"type":398,"value":844},{"type":393,"tag":546,"props":2574,"children":2575},{"class":548,"line":177},[2576,2580],{"type":393,"tag":546,"props":2577,"children":2578},{"style":664},[2579],{"type":398,"value":829},{"type":393,"tag":546,"props":2581,"children":2582},{"style":558},[2583],{"type":398,"value":868},{"type":393,"tag":546,"props":2585,"children":2586},{"class":548,"line":186},[2587],{"type":393,"tag":546,"props":2588,"children":2589},{"emptyLinePlaceholder":12},[2590],{"type":398,"value":579},{"type":393,"tag":546,"props":2592,"children":2593},{"class":548,"line":197},[2594,2598,2602,2607],{"type":393,"tag":546,"props":2595,"children":2596},{"style":664},[2597],{"type":398,"value":829},{"type":393,"tag":546,"props":2599,"children":2600},{"style":558},[2601],{"type":398,"value":834},{"type":393,"tag":546,"props":2603,"children":2604},{"style":612},[2605],{"type":398,"value":2606},"\"👍 Recommendation Analysis:\"",{"type":393,"tag":546,"props":2608,"children":2609},{"style":558},[2610],{"type":398,"value":844},{"type":393,"tag":546,"props":2612,"children":2613},{"class":548,"line":206},[2614,2618,2622,2626,2631,2635,2639,2644,2648,2652,2656],{"type":393,"tag":546,"props":2615,"children":2616},{"style":664},[2617],{"type":398,"value":829},{"type":393,"tag":546,"props":2619,"children":2620},{"style":558},[2621],{"type":398,"value":834},{"type":393,"tag":546,"props":2623,"children":2624},{"style":552},[2625],{"type":398,"value":1245},{"type":393,"tag":546,"props":2627,"children":2628},{"style":612},[2629],{"type":398,"value":2630},"\"Will recommend: ",{"type":393,"tag":546,"props":2632,"children":2633},{"style":664},[2634],{"type":398,"value":1255},{"type":393,"tag":546,"props":2636,"children":2637},{"style":558},[2638],{"type":398,"value":2450},{"type":393,"tag":546,"props":2640,"children":2641},{"style":612},[2642],{"type":398,"value":2643},"'will_recommend'",{"type":393,"tag":546,"props":2645,"children":2646},{"style":558},[2647],{"type":398,"value":1375},{"type":393,"tag":546,"props":2649,"children":2650},{"style":664},[2651],{"type":398,"value":1275},{"type":393,"tag":546,"props":2653,"children":2654},{"style":612},[2655],{"type":398,"value":1280},{"type":393,"tag":546,"props":2657,"children":2658},{"style":558},[2659],{"type":398,"value":844},{"type":393,"tag":546,"props":2661,"children":2662},{"class":548,"line":215},[2663,2667,2671,2675,2680,2684,2688,2692,2696,2700,2704,2708],{"type":393,"tag":546,"props":2664,"children":2665},{"style":664},[2666],{"type":398,"value":829},{"type":393,"tag":546,"props":2668,"children":2669},{"style":558},[2670],{"type":398,"value":834},{"type":393,"tag":546,"props":2672,"children":2673},{"style":552},[2674],{"type":398,"value":1245},{"type":393,"tag":546,"props":2676,"children":2677},{"style":612},[2678],{"type":398,"value":2679},"\"Recommendation rate: ",{"type":393,"tag":546,"props":2681,"children":2682},{"style":664},[2683],{"type":398,"value":1255},{"type":393,"tag":546,"props":2685,"children":2686},{"style":558},[2687],{"type":398,"value":2450},{"type":393,"tag":546,"props":2689,"children":2690},{"style":612},[2691],{"type":398,"value":2643},{"type":393,"tag":546,"props":2693,"children":2694},{"style":558},[2695],{"type":398,"value":1321},{"type":393,"tag":546,"props":2697,"children":2698},{"style":552},[2699],{"type":398,"value":2560},{"type":393,"tag":546,"props":2701,"children":2702},{"style":664},[2703],{"type":398,"value":1275},{"type":393,"tag":546,"props":2705,"children":2706},{"style":612},[2707],{"type":398,"value":1280},{"type":393,"tag":546,"props":2709,"children":2710},{"style":558},[2711],{"type":398,"value":844},{"type":393,"tag":519,"props":2713,"children":2715},{"id":2714},"detailed-column-exploration",[2716],{"type":398,"value":2717},"🔍 Detailed Column Exploration",{"type":393,"tag":401,"props":2719,"children":2720},{},[2721],{"type":398,"value":2722},"Examine individual columns thoroughly:",{"type":393,"tag":531,"props":2724,"children":2725},{},[2726],{"type":393,"tag":535,"props":2727,"children":2729},{"className":537,"code":2728,"language":539,"meta":6,"style":6},"import pandas as pd\n\n# Mixed dataset\nproducts = pd.DataFrame({\n    'product_name': ['Laptop', 'Mouse', 'Keyboard', 'Monitor'],\n    'price': [999.99, 24.99, 74.99, 299.99],\n    'in_stock': [True, True, False, True],\n    'category': ['Computer', 'Accessory', 'Accessory', 'Computer']\n})\n\nprint(\"Product Data:\")\nprint(products)\nprint()\n\n# Analyze each column\nfor column in products.columns:\n    print(f\"📊 {column.upper()} Column:\")\n    print(f\"   Type: {products[column].dtype}\")\n    print(f\"   Unique values: {products[column].nunique()}\")\n    print(f\"   Non-null count: {products[column].count()}\")\n    \n    if products[column].dtype in ['int64', 'float64']:\n        print(f\"   Range: {products[column].min()} to {products[column].max()}\")\n    elif products[column].dtype == 'bool':\n        print(f\"   True count: {products[column].sum()}\")\n    else:\n        print(f\"   Sample values: {products[column].unique()[:3]}\")\n    print()\n",[2730],{"type":393,"tag":542,"props":2731,"children":2732},{"__ignoreMap":6},[2733,2752,2759,2767,2783,2831,2878,2922,2968,2975,2982,3002,3014,3025,3032,3040,3061,3103,3144,3185,3226,3234,3274,3334,3361,3402,3414,3464],{"type":393,"tag":546,"props":2734,"children":2735},{"class":548,"line":11},[2736,2740,2744,2748],{"type":393,"tag":546,"props":2737,"children":2738},{"style":552},[2739],{"type":398,"value":555},{"type":393,"tag":546,"props":2741,"children":2742},{"style":558},[2743],{"type":398,"value":561},{"type":393,"tag":546,"props":2745,"children":2746},{"style":552},[2747],{"type":398,"value":566},{"type":393,"tag":546,"props":2749,"children":2750},{"style":558},[2751],{"type":398,"value":571},{"type":393,"tag":546,"props":2753,"children":2754},{"class":548,"line":27},[2755],{"type":393,"tag":546,"props":2756,"children":2757},{"emptyLinePlaceholder":12},[2758],{"type":398,"value":579},{"type":393,"tag":546,"props":2760,"children":2761},{"class":548,"line":36},[2762],{"type":393,"tag":546,"props":2763,"children":2764},{"style":585},[2765],{"type":398,"value":2766},"# Mixed dataset\n",{"type":393,"tag":546,"props":2768,"children":2769},{"class":548,"line":45},[2770,2775,2779],{"type":393,"tag":546,"props":2771,"children":2772},{"style":558},[2773],{"type":398,"value":2774},"products ",{"type":393,"tag":546,"props":2776,"children":2777},{"style":552},[2778],{"type":398,"value":601},{"type":393,"tag":546,"props":2780,"children":2781},{"style":558},[2782],{"type":398,"value":606},{"type":393,"tag":546,"props":2784,"children":2785},{"class":548,"line":54},[2786,2791,2795,2800,2804,2809,2813,2818,2822,2827],{"type":393,"tag":546,"props":2787,"children":2788},{"style":612},[2789],{"type":398,"value":2790},"    'product_name'",{"type":393,"tag":546,"props":2792,"children":2793},{"style":558},[2794],{"type":398,"value":620},{"type":393,"tag":546,"props":2796,"children":2797},{"style":612},[2798],{"type":398,"value":2799},"'Laptop'",{"type":393,"tag":546,"props":2801,"children":2802},{"style":558},[2803],{"type":398,"value":630},{"type":393,"tag":546,"props":2805,"children":2806},{"style":612},[2807],{"type":398,"value":2808},"'Mouse'",{"type":393,"tag":546,"props":2810,"children":2811},{"style":558},[2812],{"type":398,"value":630},{"type":393,"tag":546,"props":2814,"children":2815},{"style":612},[2816],{"type":398,"value":2817},"'Keyboard'",{"type":393,"tag":546,"props":2819,"children":2820},{"style":558},[2821],{"type":398,"value":630},{"type":393,"tag":546,"props":2823,"children":2824},{"style":612},[2825],{"type":398,"value":2826},"'Monitor'",{"type":393,"tag":546,"props":2828,"children":2829},{"style":558},[2830],{"type":398,"value":649},{"type":393,"tag":546,"props":2832,"children":2833},{"class":548,"line":63},[2834,2838,2842,2847,2851,2856,2860,2865,2869,2874],{"type":393,"tag":546,"props":2835,"children":2836},{"style":612},[2837],{"type":398,"value":1075},{"type":393,"tag":546,"props":2839,"children":2840},{"style":558},[2841],{"type":398,"value":620},{"type":393,"tag":546,"props":2843,"children":2844},{"style":664},[2845],{"type":398,"value":2846},"999.99",{"type":393,"tag":546,"props":2848,"children":2849},{"style":558},[2850],{"type":398,"value":630},{"type":393,"tag":546,"props":2852,"children":2853},{"style":664},[2854],{"type":398,"value":2855},"24.99",{"type":393,"tag":546,"props":2857,"children":2858},{"style":558},[2859],{"type":398,"value":630},{"type":393,"tag":546,"props":2861,"children":2862},{"style":664},[2863],{"type":398,"value":2864},"74.99",{"type":393,"tag":546,"props":2866,"children":2867},{"style":558},[2868],{"type":398,"value":630},{"type":393,"tag":546,"props":2870,"children":2871},{"style":664},[2872],{"type":398,"value":2873},"299.99",{"type":393,"tag":546,"props":2875,"children":2876},{"style":558},[2877],{"type":398,"value":649},{"type":393,"tag":546,"props":2879,"children":2880},{"class":548,"line":72},[2881,2886,2890,2894,2898,2902,2906,2910,2914,2918],{"type":393,"tag":546,"props":2882,"children":2883},{"style":612},[2884],{"type":398,"value":2885},"    'in_stock'",{"type":393,"tag":546,"props":2887,"children":2888},{"style":558},[2889],{"type":398,"value":620},{"type":393,"tag":546,"props":2891,"children":2892},{"style":664},[2893],{"type":398,"value":745},{"type":393,"tag":546,"props":2895,"children":2896},{"style":558},[2897],{"type":398,"value":630},{"type":393,"tag":546,"props":2899,"children":2900},{"style":664},[2901],{"type":398,"value":745},{"type":393,"tag":546,"props":2903,"children":2904},{"style":558},[2905],{"type":398,"value":630},{"type":393,"tag":546,"props":2907,"children":2908},{"style":664},[2909],{"type":398,"value":754},{"type":393,"tag":546,"props":2911,"children":2912},{"style":558},[2913],{"type":398,"value":630},{"type":393,"tag":546,"props":2915,"children":2916},{"style":664},[2917],{"type":398,"value":745},{"type":393,"tag":546,"props":2919,"children":2920},{"style":558},[2921],{"type":398,"value":649},{"type":393,"tag":546,"props":2923,"children":2924},{"class":548,"line":83},[2925,2930,2934,2939,2943,2948,2952,2956,2960,2964],{"type":393,"tag":546,"props":2926,"children":2927},{"style":612},[2928],{"type":398,"value":2929},"    'category'",{"type":393,"tag":546,"props":2931,"children":2932},{"style":558},[2933],{"type":398,"value":620},{"type":393,"tag":546,"props":2935,"children":2936},{"style":612},[2937],{"type":398,"value":2938},"'Computer'",{"type":393,"tag":546,"props":2940,"children":2941},{"style":558},[2942],{"type":398,"value":630},{"type":393,"tag":546,"props":2944,"children":2945},{"style":612},[2946],{"type":398,"value":2947},"'Accessory'",{"type":393,"tag":546,"props":2949,"children":2950},{"style":558},[2951],{"type":398,"value":630},{"type":393,"tag":546,"props":2953,"children":2954},{"style":612},[2955],{"type":398,"value":2947},{"type":393,"tag":546,"props":2957,"children":2958},{"style":558},[2959],{"type":398,"value":630},{"type":393,"tag":546,"props":2961,"children":2962},{"style":612},[2963],{"type":398,"value":2938},{"type":393,"tag":546,"props":2965,"children":2966},{"style":558},[2967],{"type":398,"value":806},{"type":393,"tag":546,"props":2969,"children":2970},{"class":548,"line":92},[2971],{"type":393,"tag":546,"props":2972,"children":2973},{"style":558},[2974],{"type":398,"value":814},{"type":393,"tag":546,"props":2976,"children":2977},{"class":548,"line":101},[2978],{"type":393,"tag":546,"props":2979,"children":2980},{"emptyLinePlaceholder":12},[2981],{"type":398,"value":579},{"type":393,"tag":546,"props":2983,"children":2984},{"class":548,"line":110},[2985,2989,2993,2998],{"type":393,"tag":546,"props":2986,"children":2987},{"style":664},[2988],{"type":398,"value":829},{"type":393,"tag":546,"props":2990,"children":2991},{"style":558},[2992],{"type":398,"value":834},{"type":393,"tag":546,"props":2994,"children":2995},{"style":612},[2996],{"type":398,"value":2997},"\"Product Data:\"",{"type":393,"tag":546,"props":2999,"children":3000},{"style":558},[3001],{"type":398,"value":844},{"type":393,"tag":546,"props":3003,"children":3004},{"class":548,"line":121},[3005,3009],{"type":393,"tag":546,"props":3006,"children":3007},{"style":664},[3008],{"type":398,"value":829},{"type":393,"tag":546,"props":3010,"children":3011},{"style":558},[3012],{"type":398,"value":3013},"(products)\n",{"type":393,"tag":546,"props":3015,"children":3016},{"class":548,"line":130},[3017,3021],{"type":393,"tag":546,"props":3018,"children":3019},{"style":664},[3020],{"type":398,"value":829},{"type":393,"tag":546,"props":3022,"children":3023},{"style":558},[3024],{"type":398,"value":868},{"type":393,"tag":546,"props":3026,"children":3027},{"class":548,"line":139},[3028],{"type":393,"tag":546,"props":3029,"children":3030},{"emptyLinePlaceholder":12},[3031],{"type":398,"value":579},{"type":393,"tag":546,"props":3033,"children":3034},{"class":548,"line":148},[3035],{"type":393,"tag":546,"props":3036,"children":3037},{"style":585},[3038],{"type":398,"value":3039},"# Analyze each column\n",{"type":393,"tag":546,"props":3041,"children":3042},{"class":548,"line":159},[3043,3047,3052,3056],{"type":393,"tag":546,"props":3044,"children":3045},{"style":552},[3046],{"type":398,"value":1971},{"type":393,"tag":546,"props":3048,"children":3049},{"style":558},[3050],{"type":398,"value":3051}," column ",{"type":393,"tag":546,"props":3053,"children":3054},{"style":552},[3055],{"type":398,"value":1981},{"type":393,"tag":546,"props":3057,"children":3058},{"style":558},[3059],{"type":398,"value":3060}," products.columns:\n",{"type":393,"tag":546,"props":3062,"children":3063},{"class":548,"line":168},[3064,3068,3072,3076,3081,3085,3090,3094,3099],{"type":393,"tag":546,"props":3065,"children":3066},{"style":664},[3067],{"type":398,"value":2039},{"type":393,"tag":546,"props":3069,"children":3070},{"style":558},[3071],{"type":398,"value":834},{"type":393,"tag":546,"props":3073,"children":3074},{"style":552},[3075],{"type":398,"value":1245},{"type":393,"tag":546,"props":3077,"children":3078},{"style":612},[3079],{"type":398,"value":3080},"\"📊 ",{"type":393,"tag":546,"props":3082,"children":3083},{"style":664},[3084],{"type":398,"value":1255},{"type":393,"tag":546,"props":3086,"children":3087},{"style":558},[3088],{"type":398,"value":3089},"column.upper()",{"type":393,"tag":546,"props":3091,"children":3092},{"style":664},[3093],{"type":398,"value":1275},{"type":393,"tag":546,"props":3095,"children":3096},{"style":612},[3097],{"type":398,"value":3098}," Column:\"",{"type":393,"tag":546,"props":3100,"children":3101},{"style":558},[3102],{"type":398,"value":844},{"type":393,"tag":546,"props":3104,"children":3105},{"class":548,"line":177},[3106,3110,3114,3118,3123,3127,3132,3136,3140],{"type":393,"tag":546,"props":3107,"children":3108},{"style":664},[3109],{"type":398,"value":2039},{"type":393,"tag":546,"props":3111,"children":3112},{"style":558},[3113],{"type":398,"value":834},{"type":393,"tag":546,"props":3115,"children":3116},{"style":552},[3117],{"type":398,"value":1245},{"type":393,"tag":546,"props":3119,"children":3120},{"style":612},[3121],{"type":398,"value":3122},"\"   Type: ",{"type":393,"tag":546,"props":3124,"children":3125},{"style":664},[3126],{"type":398,"value":1255},{"type":393,"tag":546,"props":3128,"children":3129},{"style":558},[3130],{"type":398,"value":3131},"products[column].dtype",{"type":393,"tag":546,"props":3133,"children":3134},{"style":664},[3135],{"type":398,"value":1275},{"type":393,"tag":546,"props":3137,"children":3138},{"style":612},[3139],{"type":398,"value":1280},{"type":393,"tag":546,"props":3141,"children":3142},{"style":558},[3143],{"type":398,"value":844},{"type":393,"tag":546,"props":3145,"children":3146},{"class":548,"line":186},[3147,3151,3155,3159,3164,3168,3173,3177,3181],{"type":393,"tag":546,"props":3148,"children":3149},{"style":664},[3150],{"type":398,"value":2039},{"type":393,"tag":546,"props":3152,"children":3153},{"style":558},[3154],{"type":398,"value":834},{"type":393,"tag":546,"props":3156,"children":3157},{"style":552},[3158],{"type":398,"value":1245},{"type":393,"tag":546,"props":3160,"children":3161},{"style":612},[3162],{"type":398,"value":3163},"\"   Unique values: ",{"type":393,"tag":546,"props":3165,"children":3166},{"style":664},[3167],{"type":398,"value":1255},{"type":393,"tag":546,"props":3169,"children":3170},{"style":558},[3171],{"type":398,"value":3172},"products[column].nunique()",{"type":393,"tag":546,"props":3174,"children":3175},{"style":664},[3176],{"type":398,"value":1275},{"type":393,"tag":546,"props":3178,"children":3179},{"style":612},[3180],{"type":398,"value":1280},{"type":393,"tag":546,"props":3182,"children":3183},{"style":558},[3184],{"type":398,"value":844},{"type":393,"tag":546,"props":3186,"children":3187},{"class":548,"line":197},[3188,3192,3196,3200,3205,3209,3214,3218,3222],{"type":393,"tag":546,"props":3189,"children":3190},{"style":664},[3191],{"type":398,"value":2039},{"type":393,"tag":546,"props":3193,"children":3194},{"style":558},[3195],{"type":398,"value":834},{"type":393,"tag":546,"props":3197,"children":3198},{"style":552},[3199],{"type":398,"value":1245},{"type":393,"tag":546,"props":3201,"children":3202},{"style":612},[3203],{"type":398,"value":3204},"\"   Non-null count: ",{"type":393,"tag":546,"props":3206,"children":3207},{"style":664},[3208],{"type":398,"value":1255},{"type":393,"tag":546,"props":3210,"children":3211},{"style":558},[3212],{"type":398,"value":3213},"products[column].count()",{"type":393,"tag":546,"props":3215,"children":3216},{"style":664},[3217],{"type":398,"value":1275},{"type":393,"tag":546,"props":3219,"children":3220},{"style":612},[3221],{"type":398,"value":1280},{"type":393,"tag":546,"props":3223,"children":3224},{"style":558},[3225],{"type":398,"value":844},{"type":393,"tag":546,"props":3227,"children":3228},{"class":548,"line":206},[3229],{"type":393,"tag":546,"props":3230,"children":3231},{"style":558},[3232],{"type":398,"value":3233},"    \n",{"type":393,"tag":546,"props":3235,"children":3236},{"class":548,"line":215},[3237,3242,3247,3251,3256,3261,3265,3270],{"type":393,"tag":546,"props":3238,"children":3239},{"style":552},[3240],{"type":398,"value":3241},"    if",{"type":393,"tag":546,"props":3243,"children":3244},{"style":558},[3245],{"type":398,"value":3246}," products[column].dtype ",{"type":393,"tag":546,"props":3248,"children":3249},{"style":552},[3250],{"type":398,"value":1981},{"type":393,"tag":546,"props":3252,"children":3253},{"style":558},[3254],{"type":398,"value":3255}," [",{"type":393,"tag":546,"props":3257,"children":3258},{"style":612},[3259],{"type":398,"value":3260},"'int64'",{"type":393,"tag":546,"props":3262,"children":3263},{"style":558},[3264],{"type":398,"value":630},{"type":393,"tag":546,"props":3266,"children":3267},{"style":612},[3268],{"type":398,"value":3269},"'float64'",{"type":393,"tag":546,"props":3271,"children":3272},{"style":558},[3273],{"type":398,"value":1995},{"type":393,"tag":546,"props":3275,"children":3276},{"class":548,"line":224},[3277,3282,3286,3290,3295,3299,3304,3308,3313,3317,3322,3326,3330],{"type":393,"tag":546,"props":3278,"children":3279},{"style":664},[3280],{"type":398,"value":3281},"        print",{"type":393,"tag":546,"props":3283,"children":3284},{"style":558},[3285],{"type":398,"value":834},{"type":393,"tag":546,"props":3287,"children":3288},{"style":552},[3289],{"type":398,"value":1245},{"type":393,"tag":546,"props":3291,"children":3292},{"style":612},[3293],{"type":398,"value":3294},"\"   Range: ",{"type":393,"tag":546,"props":3296,"children":3297},{"style":664},[3298],{"type":398,"value":1255},{"type":393,"tag":546,"props":3300,"children":3301},{"style":558},[3302],{"type":398,"value":3303},"products[column].min()",{"type":393,"tag":546,"props":3305,"children":3306},{"style":664},[3307],{"type":398,"value":1275},{"type":393,"tag":546,"props":3309,"children":3310},{"style":612},[3311],{"type":398,"value":3312}," to ",{"type":393,"tag":546,"props":3314,"children":3315},{"style":664},[3316],{"type":398,"value":1255},{"type":393,"tag":546,"props":3318,"children":3319},{"style":558},[3320],{"type":398,"value":3321},"products[column].max()",{"type":393,"tag":546,"props":3323,"children":3324},{"style":664},[3325],{"type":398,"value":1275},{"type":393,"tag":546,"props":3327,"children":3328},{"style":612},[3329],{"type":398,"value":1280},{"type":393,"tag":546,"props":3331,"children":3332},{"style":558},[3333],{"type":398,"value":844},{"type":393,"tag":546,"props":3335,"children":3336},{"class":548,"line":233},[3337,3342,3346,3351,3356],{"type":393,"tag":546,"props":3338,"children":3339},{"style":552},[3340],{"type":398,"value":3341},"    elif",{"type":393,"tag":546,"props":3343,"children":3344},{"style":558},[3345],{"type":398,"value":3246},{"type":393,"tag":546,"props":3347,"children":3348},{"style":552},[3349],{"type":398,"value":3350},"==",{"type":393,"tag":546,"props":3352,"children":3353},{"style":612},[3354],{"type":398,"value":3355}," 'bool'",{"type":393,"tag":546,"props":3357,"children":3358},{"style":558},[3359],{"type":398,"value":3360},":\n",{"type":393,"tag":546,"props":3362,"children":3363},{"class":548,"line":244},[3364,3368,3372,3376,3381,3385,3390,3394,3398],{"type":393,"tag":546,"props":3365,"children":3366},{"style":664},[3367],{"type":398,"value":3281},{"type":393,"tag":546,"props":3369,"children":3370},{"style":558},[3371],{"type":398,"value":834},{"type":393,"tag":546,"props":3373,"children":3374},{"style":552},[3375],{"type":398,"value":1245},{"type":393,"tag":546,"props":3377,"children":3378},{"style":612},[3379],{"type":398,"value":3380},"\"   True count: ",{"type":393,"tag":546,"props":3382,"children":3383},{"style":664},[3384],{"type":398,"value":1255},{"type":393,"tag":546,"props":3386,"children":3387},{"style":558},[3388],{"type":398,"value":3389},"products[column].sum()",{"type":393,"tag":546,"props":3391,"children":3392},{"style":664},[3393],{"type":398,"value":1275},{"type":393,"tag":546,"props":3395,"children":3396},{"style":612},[3397],{"type":398,"value":1280},{"type":393,"tag":546,"props":3399,"children":3400},{"style":558},[3401],{"type":398,"value":844},{"type":393,"tag":546,"props":3403,"children":3404},{"class":548,"line":253},[3405,3410],{"type":393,"tag":546,"props":3406,"children":3407},{"style":552},[3408],{"type":398,"value":3409},"    else",{"type":393,"tag":546,"props":3411,"children":3412},{"style":558},[3413],{"type":398,"value":3360},{"type":393,"tag":546,"props":3415,"children":3416},{"class":548,"line":262},[3417,3421,3425,3429,3434,3438,3443,3447,3452,3456,3460],{"type":393,"tag":546,"props":3418,"children":3419},{"style":664},[3420],{"type":398,"value":3281},{"type":393,"tag":546,"props":3422,"children":3423},{"style":558},[3424],{"type":398,"value":834},{"type":393,"tag":546,"props":3426,"children":3427},{"style":552},[3428],{"type":398,"value":1245},{"type":393,"tag":546,"props":3430,"children":3431},{"style":612},[3432],{"type":398,"value":3433},"\"   Sample values: ",{"type":393,"tag":546,"props":3435,"children":3436},{"style":664},[3437],{"type":398,"value":1255},{"type":393,"tag":546,"props":3439,"children":3440},{"style":558},[3441],{"type":398,"value":3442},"products[column].unique()[:",{"type":393,"tag":546,"props":3444,"children":3445},{"style":664},[3446],{"type":398,"value":1132},{"type":393,"tag":546,"props":3448,"children":3449},{"style":558},[3450],{"type":398,"value":3451},"]",{"type":393,"tag":546,"props":3453,"children":3454},{"style":664},[3455],{"type":398,"value":1275},{"type":393,"tag":546,"props":3457,"children":3458},{"style":612},[3459],{"type":398,"value":1280},{"type":393,"tag":546,"props":3461,"children":3462},{"style":558},[3463],{"type":398,"value":844},{"type":393,"tag":546,"props":3465,"children":3466},{"class":548,"line":271},[3467,3471],{"type":393,"tag":546,"props":3468,"children":3469},{"style":664},[3470],{"type":398,"value":2039},{"type":393,"tag":546,"props":3472,"children":3473},{"style":558},[3474],{"type":398,"value":868},{"type":393,"tag":519,"props":3476,"children":3478},{"id":3477},"️-common-data-type-issues",[3479],{"type":398,"value":3480},"🏷️ Common Data Type Issues",{"type":393,"tag":401,"props":3482,"children":3483},{},[3484],{"type":398,"value":3485},"Watch out for these common problems:",{"type":393,"tag":531,"props":3487,"children":3488},{},[3489],{"type":393,"tag":535,"props":3490,"children":3492},{"className":537,"code":3491,"language":539,"meta":6,"style":6},"import pandas as pd\n\n# Data with type issues\nmessy_data = pd.DataFrame({\n    'age': ['25', '30', 'unknown', '35'],  # Should be numbers\n    'price': ['$10.99', '$25.50', 'free', '$15.75'],  # Has symbols\n    'active': ['yes', 'no', 'true', 'false']  # Should be boolean\n})\n\nprint(\"❌ Messy Data:\")\nprint(messy_data)\nprint()\n\nprint(\"🔍 Type Problems:\")\nprint(messy_data.dtypes)\nprint()\n\nprint(\"🎯 What Should Be Fixed:\")\nprint(\"- Age column: Contains 'unknown', should be numbers\")\nprint(\"- Price column: Has '$' symbols and 'free'\")\nprint(\"- Active column: Text instead of True/False\")\nprint()\n\nprint(\"✅ After cleaning (example):\")\n# This is what you'd do after cleaning\nclean_data = pd.DataFrame({\n    'age': [25, 30, None, 35],  # Proper numbers with NaN\n    'price': [10.99, 25.50, 0.0, 15.75],  # Clean numbers\n    'active': [True, False, True, False]  # Proper booleans\n})\nprint(clean_data)\nprint(clean_data.dtypes)\n",[3493],{"type":393,"tag":542,"props":3494,"children":3495},{"__ignoreMap":6},[3496,3515,3522,3530,3546,3599,3651,3704,3711,3718,3738,3750,3761,3768,3788,3800,3811,3818,3838,3858,3878,3898,3909,3916,3936,3944,3960,4009,4058,4106,4113,4125],{"type":393,"tag":546,"props":3497,"children":3498},{"class":548,"line":11},[3499,3503,3507,3511],{"type":393,"tag":546,"props":3500,"children":3501},{"style":552},[3502],{"type":398,"value":555},{"type":393,"tag":546,"props":3504,"children":3505},{"style":558},[3506],{"type":398,"value":561},{"type":393,"tag":546,"props":3508,"children":3509},{"style":552},[3510],{"type":398,"value":566},{"type":393,"tag":546,"props":3512,"children":3513},{"style":558},[3514],{"type":398,"value":571},{"type":393,"tag":546,"props":3516,"children":3517},{"class":548,"line":27},[3518],{"type":393,"tag":546,"props":3519,"children":3520},{"emptyLinePlaceholder":12},[3521],{"type":398,"value":579},{"type":393,"tag":546,"props":3523,"children":3524},{"class":548,"line":36},[3525],{"type":393,"tag":546,"props":3526,"children":3527},{"style":585},[3528],{"type":398,"value":3529},"# Data with type issues\n",{"type":393,"tag":546,"props":3531,"children":3532},{"class":548,"line":45},[3533,3538,3542],{"type":393,"tag":546,"props":3534,"children":3535},{"style":558},[3536],{"type":398,"value":3537},"messy_data ",{"type":393,"tag":546,"props":3539,"children":3540},{"style":552},[3541],{"type":398,"value":601},{"type":393,"tag":546,"props":3543,"children":3544},{"style":558},[3545],{"type":398,"value":606},{"type":393,"tag":546,"props":3547,"children":3548},{"class":548,"line":54},[3549,3553,3557,3562,3566,3571,3575,3580,3584,3589,3594],{"type":393,"tag":546,"props":3550,"children":3551},{"style":612},[3552],{"type":398,"value":657},{"type":393,"tag":546,"props":3554,"children":3555},{"style":558},[3556],{"type":398,"value":620},{"type":393,"tag":546,"props":3558,"children":3559},{"style":612},[3560],{"type":398,"value":3561},"'25'",{"type":393,"tag":546,"props":3563,"children":3564},{"style":558},[3565],{"type":398,"value":630},{"type":393,"tag":546,"props":3567,"children":3568},{"style":612},[3569],{"type":398,"value":3570},"'30'",{"type":393,"tag":546,"props":3572,"children":3573},{"style":558},[3574],{"type":398,"value":630},{"type":393,"tag":546,"props":3576,"children":3577},{"style":612},[3578],{"type":398,"value":3579},"'unknown'",{"type":393,"tag":546,"props":3581,"children":3582},{"style":558},[3583],{"type":398,"value":630},{"type":393,"tag":546,"props":3585,"children":3586},{"style":612},[3587],{"type":398,"value":3588},"'35'",{"type":393,"tag":546,"props":3590,"children":3591},{"style":558},[3592],{"type":398,"value":3593},"],  ",{"type":393,"tag":546,"props":3595,"children":3596},{"style":585},[3597],{"type":398,"value":3598},"# Should be numbers\n",{"type":393,"tag":546,"props":3600,"children":3601},{"class":548,"line":63},[3602,3606,3610,3615,3619,3624,3628,3633,3637,3642,3646],{"type":393,"tag":546,"props":3603,"children":3604},{"style":612},[3605],{"type":398,"value":1075},{"type":393,"tag":546,"props":3607,"children":3608},{"style":558},[3609],{"type":398,"value":620},{"type":393,"tag":546,"props":3611,"children":3612},{"style":612},[3613],{"type":398,"value":3614},"'$10.99'",{"type":393,"tag":546,"props":3616,"children":3617},{"style":558},[3618],{"type":398,"value":630},{"type":393,"tag":546,"props":3620,"children":3621},{"style":612},[3622],{"type":398,"value":3623},"'$25.50'",{"type":393,"tag":546,"props":3625,"children":3626},{"style":558},[3627],{"type":398,"value":630},{"type":393,"tag":546,"props":3629,"children":3630},{"style":612},[3631],{"type":398,"value":3632},"'free'",{"type":393,"tag":546,"props":3634,"children":3635},{"style":558},[3636],{"type":398,"value":630},{"type":393,"tag":546,"props":3638,"children":3639},{"style":612},[3640],{"type":398,"value":3641},"'$15.75'",{"type":393,"tag":546,"props":3643,"children":3644},{"style":558},[3645],{"type":398,"value":3593},{"type":393,"tag":546,"props":3647,"children":3648},{"style":585},[3649],{"type":398,"value":3650},"# Has symbols\n",{"type":393,"tag":546,"props":3652,"children":3653},{"class":548,"line":72},[3654,3658,3662,3667,3671,3676,3680,3685,3689,3694,3699],{"type":393,"tag":546,"props":3655,"children":3656},{"style":612},[3657],{"type":398,"value":736},{"type":393,"tag":546,"props":3659,"children":3660},{"style":558},[3661],{"type":398,"value":620},{"type":393,"tag":546,"props":3663,"children":3664},{"style":612},[3665],{"type":398,"value":3666},"'yes'",{"type":393,"tag":546,"props":3668,"children":3669},{"style":558},[3670],{"type":398,"value":630},{"type":393,"tag":546,"props":3672,"children":3673},{"style":612},[3674],{"type":398,"value":3675},"'no'",{"type":393,"tag":546,"props":3677,"children":3678},{"style":558},[3679],{"type":398,"value":630},{"type":393,"tag":546,"props":3681,"children":3682},{"style":612},[3683],{"type":398,"value":3684},"'true'",{"type":393,"tag":546,"props":3686,"children":3687},{"style":558},[3688],{"type":398,"value":630},{"type":393,"tag":546,"props":3690,"children":3691},{"style":612},[3692],{"type":398,"value":3693},"'false'",{"type":393,"tag":546,"props":3695,"children":3696},{"style":558},[3697],{"type":398,"value":3698},"]  ",{"type":393,"tag":546,"props":3700,"children":3701},{"style":585},[3702],{"type":398,"value":3703},"# Should be boolean\n",{"type":393,"tag":546,"props":3705,"children":3706},{"class":548,"line":83},[3707],{"type":393,"tag":546,"props":3708,"children":3709},{"style":558},[3710],{"type":398,"value":814},{"type":393,"tag":546,"props":3712,"children":3713},{"class":548,"line":92},[3714],{"type":393,"tag":546,"props":3715,"children":3716},{"emptyLinePlaceholder":12},[3717],{"type":398,"value":579},{"type":393,"tag":546,"props":3719,"children":3720},{"class":548,"line":101},[3721,3725,3729,3734],{"type":393,"tag":546,"props":3722,"children":3723},{"style":664},[3724],{"type":398,"value":829},{"type":393,"tag":546,"props":3726,"children":3727},{"style":558},[3728],{"type":398,"value":834},{"type":393,"tag":546,"props":3730,"children":3731},{"style":612},[3732],{"type":398,"value":3733},"\"❌ Messy Data:\"",{"type":393,"tag":546,"props":3735,"children":3736},{"style":558},[3737],{"type":398,"value":844},{"type":393,"tag":546,"props":3739,"children":3740},{"class":548,"line":110},[3741,3745],{"type":393,"tag":546,"props":3742,"children":3743},{"style":664},[3744],{"type":398,"value":829},{"type":393,"tag":546,"props":3746,"children":3747},{"style":558},[3748],{"type":398,"value":3749},"(messy_data)\n",{"type":393,"tag":546,"props":3751,"children":3752},{"class":548,"line":121},[3753,3757],{"type":393,"tag":546,"props":3754,"children":3755},{"style":664},[3756],{"type":398,"value":829},{"type":393,"tag":546,"props":3758,"children":3759},{"style":558},[3760],{"type":398,"value":868},{"type":393,"tag":546,"props":3762,"children":3763},{"class":548,"line":130},[3764],{"type":393,"tag":546,"props":3765,"children":3766},{"emptyLinePlaceholder":12},[3767],{"type":398,"value":579},{"type":393,"tag":546,"props":3769,"children":3770},{"class":548,"line":139},[3771,3775,3779,3784],{"type":393,"tag":546,"props":3772,"children":3773},{"style":664},[3774],{"type":398,"value":829},{"type":393,"tag":546,"props":3776,"children":3777},{"style":558},[3778],{"type":398,"value":834},{"type":393,"tag":546,"props":3780,"children":3781},{"style":612},[3782],{"type":398,"value":3783},"\"🔍 Type Problems:\"",{"type":393,"tag":546,"props":3785,"children":3786},{"style":558},[3787],{"type":398,"value":844},{"type":393,"tag":546,"props":3789,"children":3790},{"class":548,"line":148},[3791,3795],{"type":393,"tag":546,"props":3792,"children":3793},{"style":664},[3794],{"type":398,"value":829},{"type":393,"tag":546,"props":3796,"children":3797},{"style":558},[3798],{"type":398,"value":3799},"(messy_data.dtypes)\n",{"type":393,"tag":546,"props":3801,"children":3802},{"class":548,"line":159},[3803,3807],{"type":393,"tag":546,"props":3804,"children":3805},{"style":664},[3806],{"type":398,"value":829},{"type":393,"tag":546,"props":3808,"children":3809},{"style":558},[3810],{"type":398,"value":868},{"type":393,"tag":546,"props":3812,"children":3813},{"class":548,"line":168},[3814],{"type":393,"tag":546,"props":3815,"children":3816},{"emptyLinePlaceholder":12},[3817],{"type":398,"value":579},{"type":393,"tag":546,"props":3819,"children":3820},{"class":548,"line":177},[3821,3825,3829,3834],{"type":393,"tag":546,"props":3822,"children":3823},{"style":664},[3824],{"type":398,"value":829},{"type":393,"tag":546,"props":3826,"children":3827},{"style":558},[3828],{"type":398,"value":834},{"type":393,"tag":546,"props":3830,"children":3831},{"style":612},[3832],{"type":398,"value":3833},"\"🎯 What Should Be Fixed:\"",{"type":393,"tag":546,"props":3835,"children":3836},{"style":558},[3837],{"type":398,"value":844},{"type":393,"tag":546,"props":3839,"children":3840},{"class":548,"line":186},[3841,3845,3849,3854],{"type":393,"tag":546,"props":3842,"children":3843},{"style":664},[3844],{"type":398,"value":829},{"type":393,"tag":546,"props":3846,"children":3847},{"style":558},[3848],{"type":398,"value":834},{"type":393,"tag":546,"props":3850,"children":3851},{"style":612},[3852],{"type":398,"value":3853},"\"- Age column: Contains 'unknown', should be numbers\"",{"type":393,"tag":546,"props":3855,"children":3856},{"style":558},[3857],{"type":398,"value":844},{"type":393,"tag":546,"props":3859,"children":3860},{"class":548,"line":197},[3861,3865,3869,3874],{"type":393,"tag":546,"props":3862,"children":3863},{"style":664},[3864],{"type":398,"value":829},{"type":393,"tag":546,"props":3866,"children":3867},{"style":558},[3868],{"type":398,"value":834},{"type":393,"tag":546,"props":3870,"children":3871},{"style":612},[3872],{"type":398,"value":3873},"\"- Price column: Has '$' symbols and 'free'\"",{"type":393,"tag":546,"props":3875,"children":3876},{"style":558},[3877],{"type":398,"value":844},{"type":393,"tag":546,"props":3879,"children":3880},{"class":548,"line":206},[3881,3885,3889,3894],{"type":393,"tag":546,"props":3882,"children":3883},{"style":664},[3884],{"type":398,"value":829},{"type":393,"tag":546,"props":3886,"children":3887},{"style":558},[3888],{"type":398,"value":834},{"type":393,"tag":546,"props":3890,"children":3891},{"style":612},[3892],{"type":398,"value":3893},"\"- Active column: Text instead of True/False\"",{"type":393,"tag":546,"props":3895,"children":3896},{"style":558},[3897],{"type":398,"value":844},{"type":393,"tag":546,"props":3899,"children":3900},{"class":548,"line":215},[3901,3905],{"type":393,"tag":546,"props":3902,"children":3903},{"style":664},[3904],{"type":398,"value":829},{"type":393,"tag":546,"props":3906,"children":3907},{"style":558},[3908],{"type":398,"value":868},{"type":393,"tag":546,"props":3910,"children":3911},{"class":548,"line":224},[3912],{"type":393,"tag":546,"props":3913,"children":3914},{"emptyLinePlaceholder":12},[3915],{"type":398,"value":579},{"type":393,"tag":546,"props":3917,"children":3918},{"class":548,"line":233},[3919,3923,3927,3932],{"type":393,"tag":546,"props":3920,"children":3921},{"style":664},[3922],{"type":398,"value":829},{"type":393,"tag":546,"props":3924,"children":3925},{"style":558},[3926],{"type":398,"value":834},{"type":393,"tag":546,"props":3928,"children":3929},{"style":612},[3930],{"type":398,"value":3931},"\"✅ After cleaning (example):\"",{"type":393,"tag":546,"props":3933,"children":3934},{"style":558},[3935],{"type":398,"value":844},{"type":393,"tag":546,"props":3937,"children":3938},{"class":548,"line":244},[3939],{"type":393,"tag":546,"props":3940,"children":3941},{"style":585},[3942],{"type":398,"value":3943},"# This is what you'd do after cleaning\n",{"type":393,"tag":546,"props":3945,"children":3946},{"class":548,"line":253},[3947,3952,3956],{"type":393,"tag":546,"props":3948,"children":3949},{"style":558},[3950],{"type":398,"value":3951},"clean_data ",{"type":393,"tag":546,"props":3953,"children":3954},{"style":552},[3955],{"type":398,"value":601},{"type":393,"tag":546,"props":3957,"children":3958},{"style":558},[3959],{"type":398,"value":606},{"type":393,"tag":546,"props":3961,"children":3962},{"class":548,"line":262},[3963,3967,3971,3975,3979,3983,3987,3992,3996,4000,4004],{"type":393,"tag":546,"props":3964,"children":3965},{"style":612},[3966],{"type":398,"value":657},{"type":393,"tag":546,"props":3968,"children":3969},{"style":558},[3970],{"type":398,"value":620},{"type":393,"tag":546,"props":3972,"children":3973},{"style":664},[3974],{"type":398,"value":667},{"type":393,"tag":546,"props":3976,"children":3977},{"style":558},[3978],{"type":398,"value":630},{"type":393,"tag":546,"props":3980,"children":3981},{"style":664},[3982],{"type":398,"value":676},{"type":393,"tag":546,"props":3984,"children":3985},{"style":558},[3986],{"type":398,"value":630},{"type":393,"tag":546,"props":3988,"children":3989},{"style":664},[3990],{"type":398,"value":3991},"None",{"type":393,"tag":546,"props":3993,"children":3994},{"style":558},[3995],{"type":398,"value":630},{"type":393,"tag":546,"props":3997,"children":3998},{"style":664},[3999],{"type":398,"value":685},{"type":393,"tag":546,"props":4001,"children":4002},{"style":558},[4003],{"type":398,"value":3593},{"type":393,"tag":546,"props":4005,"children":4006},{"style":585},[4007],{"type":398,"value":4008},"# Proper numbers with NaN\n",{"type":393,"tag":546,"props":4010,"children":4011},{"class":548,"line":271},[4012,4016,4020,4024,4028,4032,4036,4041,4045,4049,4053],{"type":393,"tag":546,"props":4013,"children":4014},{"style":612},[4015],{"type":398,"value":1075},{"type":393,"tag":546,"props":4017,"children":4018},{"style":558},[4019],{"type":398,"value":620},{"type":393,"tag":546,"props":4021,"children":4022},{"style":664},[4023],{"type":398,"value":1084},{"type":393,"tag":546,"props":4025,"children":4026},{"style":558},[4027],{"type":398,"value":630},{"type":393,"tag":546,"props":4029,"children":4030},{"style":664},[4031],{"type":398,"value":1093},{"type":393,"tag":546,"props":4033,"children":4034},{"style":558},[4035],{"type":398,"value":630},{"type":393,"tag":546,"props":4037,"children":4038},{"style":664},[4039],{"type":398,"value":4040},"0.0",{"type":393,"tag":546,"props":4042,"children":4043},{"style":558},[4044],{"type":398,"value":630},{"type":393,"tag":546,"props":4046,"children":4047},{"style":664},[4048],{"type":398,"value":1102},{"type":393,"tag":546,"props":4050,"children":4051},{"style":558},[4052],{"type":398,"value":3593},{"type":393,"tag":546,"props":4054,"children":4055},{"style":585},[4056],{"type":398,"value":4057},"# Clean numbers\n",{"type":393,"tag":546,"props":4059,"children":4060},{"class":548,"line":281},[4061,4065,4069,4073,4077,4081,4085,4089,4093,4097,4101],{"type":393,"tag":546,"props":4062,"children":4063},{"style":612},[4064],{"type":398,"value":736},{"type":393,"tag":546,"props":4066,"children":4067},{"style":558},[4068],{"type":398,"value":620},{"type":393,"tag":546,"props":4070,"children":4071},{"style":664},[4072],{"type":398,"value":745},{"type":393,"tag":546,"props":4074,"children":4075},{"style":558},[4076],{"type":398,"value":630},{"type":393,"tag":546,"props":4078,"children":4079},{"style":664},[4080],{"type":398,"value":754},{"type":393,"tag":546,"props":4082,"children":4083},{"style":558},[4084],{"type":398,"value":630},{"type":393,"tag":546,"props":4086,"children":4087},{"style":664},[4088],{"type":398,"value":745},{"type":393,"tag":546,"props":4090,"children":4091},{"style":558},[4092],{"type":398,"value":630},{"type":393,"tag":546,"props":4094,"children":4095},{"style":664},[4096],{"type":398,"value":754},{"type":393,"tag":546,"props":4098,"children":4099},{"style":558},[4100],{"type":398,"value":3698},{"type":393,"tag":546,"props":4102,"children":4103},{"style":585},[4104],{"type":398,"value":4105},"# Proper booleans\n",{"type":393,"tag":546,"props":4107,"children":4108},{"class":548,"line":290},[4109],{"type":393,"tag":546,"props":4110,"children":4111},{"style":558},[4112],{"type":398,"value":814},{"type":393,"tag":546,"props":4114,"children":4115},{"class":548,"line":299},[4116,4120],{"type":393,"tag":546,"props":4117,"children":4118},{"style":664},[4119],{"type":398,"value":829},{"type":393,"tag":546,"props":4121,"children":4122},{"style":558},[4123],{"type":398,"value":4124},"(clean_data)\n",{"type":393,"tag":546,"props":4126,"children":4127},{"class":548,"line":308},[4128,4132],{"type":393,"tag":546,"props":4129,"children":4130},{"style":664},[4131],{"type":398,"value":829},{"type":393,"tag":546,"props":4133,"children":4134},{"style":558},[4135],{"type":398,"value":4136},"(clean_data.dtypes)\n",{"type":393,"tag":519,"props":4138,"children":4140},{"id":4139},"data-type-reference",[4141],{"type":398,"value":4142},"📋 Data Type Reference",{"type":393,"tag":4144,"props":4145,"children":4146},"table",{},[4147,4176],{"type":393,"tag":4148,"props":4149,"children":4150},"thead",{},[4151],{"type":393,"tag":4152,"props":4153,"children":4154},"tr",{},[4155,4161,4166,4171],{"type":393,"tag":4156,"props":4157,"children":4158},"th",{},[4159],{"type":398,"value":4160},"Type",{"type":393,"tag":4156,"props":4162,"children":4163},{},[4164],{"type":398,"value":4165},"Description",{"type":393,"tag":4156,"props":4167,"children":4168},{},[4169],{"type":398,"value":4170},"Examples",{"type":393,"tag":4156,"props":4172,"children":4173},{},[4174],{"type":398,"value":4175},"Common Operations",{"type":393,"tag":4177,"props":4178,"children":4179},"tbody",{},[4180,4220,4256,4293,4330],{"type":393,"tag":4152,"props":4181,"children":4182},{},[4183,4192,4197,4202],{"type":393,"tag":4184,"props":4185,"children":4186},"td",{},[4187],{"type":393,"tag":542,"props":4188,"children":4190},{"className":4189},[],[4191],{"type":398,"value":465},{"type":393,"tag":4184,"props":4193,"children":4194},{},[4195],{"type":398,"value":4196},"Whole numbers",{"type":393,"tag":4184,"props":4198,"children":4199},{},[4200],{"type":398,"value":4201},"1, 100, -5",{"type":393,"tag":4184,"props":4203,"children":4204},{},[4205,4211,4212,4218],{"type":393,"tag":542,"props":4206,"children":4208},{"className":4207},[],[4209],{"type":398,"value":4210},".sum()",{"type":398,"value":630},{"type":393,"tag":542,"props":4213,"children":4215},{"className":4214},[],[4216],{"type":398,"value":4217},".mean()",{"type":398,"value":4219},", math",{"type":393,"tag":4152,"props":4221,"children":4222},{},[4223,4231,4236,4241],{"type":393,"tag":4184,"props":4224,"children":4225},{},[4226],{"type":393,"tag":542,"props":4227,"children":4229},{"className":4228},[],[4230],{"type":398,"value":475},{"type":393,"tag":4184,"props":4232,"children":4233},{},[4234],{"type":398,"value":4235},"Decimal numbers",{"type":393,"tag":4184,"props":4237,"children":4238},{},[4239],{"type":398,"value":4240},"1.5, 99.99, -2.5",{"type":393,"tag":4184,"props":4242,"children":4243},{},[4244,4249,4250,4255],{"type":393,"tag":542,"props":4245,"children":4247},{"className":4246},[],[4248],{"type":398,"value":4210},{"type":398,"value":630},{"type":393,"tag":542,"props":4251,"children":4253},{"className":4252},[],[4254],{"type":398,"value":4217},{"type":398,"value":4219},{"type":393,"tag":4152,"props":4257,"children":4258},{},[4259,4267,4272,4277],{"type":393,"tag":4184,"props":4260,"children":4261},{},[4262],{"type":393,"tag":542,"props":4263,"children":4265},{"className":4264},[],[4266],{"type":398,"value":485},{"type":393,"tag":4184,"props":4268,"children":4269},{},[4270],{"type":398,"value":4271},"Text/strings",{"type":393,"tag":4184,"props":4273,"children":4274},{},[4275],{"type":398,"value":4276},"\"Alice\", \"NYC\"",{"type":393,"tag":4184,"props":4278,"children":4279},{},[4280,4286,4287],{"type":393,"tag":542,"props":4281,"children":4283},{"className":4282},[],[4284],{"type":398,"value":4285},".str.upper()",{"type":398,"value":630},{"type":393,"tag":542,"props":4288,"children":4290},{"className":4289},[],[4291],{"type":398,"value":4292},".value_counts()",{"type":393,"tag":4152,"props":4294,"children":4295},{},[4296,4304,4309,4314],{"type":393,"tag":4184,"props":4297,"children":4298},{},[4299],{"type":393,"tag":542,"props":4300,"children":4302},{"className":4301},[],[4303],{"type":398,"value":495},{"type":393,"tag":4184,"props":4305,"children":4306},{},[4307],{"type":398,"value":4308},"True/False",{"type":393,"tag":4184,"props":4310,"children":4311},{},[4312],{"type":398,"value":4313},"True, False",{"type":393,"tag":4184,"props":4315,"children":4316},{},[4317,4322,4323,4328],{"type":393,"tag":542,"props":4318,"children":4320},{"className":4319},[],[4321],{"type":398,"value":4210},{"type":398,"value":630},{"type":393,"tag":542,"props":4324,"children":4326},{"className":4325},[],[4327],{"type":398,"value":4217},{"type":398,"value":4329}," (as 1/0)",{"type":393,"tag":4152,"props":4331,"children":4332},{},[4333,4341,4346,4351],{"type":393,"tag":4184,"props":4334,"children":4335},{},[4336],{"type":393,"tag":542,"props":4337,"children":4339},{"className":4338},[],[4340],{"type":398,"value":505},{"type":393,"tag":4184,"props":4342,"children":4343},{},[4344],{"type":398,"value":4345},"Dates/times",{"type":393,"tag":4184,"props":4347,"children":4348},{},[4349],{"type":398,"value":4350},"2023-01-15",{"type":393,"tag":4184,"props":4352,"children":4353},{},[4354,4360,4361],{"type":393,"tag":542,"props":4355,"children":4357},{"className":4356},[],[4358],{"type":398,"value":4359},".dt.year",{"type":398,"value":630},{"type":393,"tag":542,"props":4362,"children":4364},{"className":4363},[],[4365],{"type":398,"value":4366},".dt.month",{"type":393,"tag":519,"props":4368,"children":4370},{"id":4369},"checking-for-data-quality-issues",[4371],{"type":398,"value":4372},"🔧 Checking for Data Quality Issues",{"type":393,"tag":401,"props":4374,"children":4375},{},[4376],{"type":398,"value":4377},"Use column exploration to spot problems:",{"type":393,"tag":531,"props":4379,"children":4380},{},[4381],{"type":393,"tag":535,"props":4382,"children":4384},{"className":537,"code":4383,"language":539,"meta":6,"style":6},"import pandas as pd\n\n# Dataset to check\ndata = pd.DataFrame({\n    'product': ['Laptop', 'Mouse', None, 'Monitor'],\n    'price': [999, 25, 75, None],\n    'rating': [4.5, 4.2, 5.0, 4.8]\n})\n\nprint(\"Data Quality Check:\")\nprint(data)\nprint()\n\nprint(\"🔍 Column-by-Column Analysis:\")\nfor col in data.columns:\n    print(f\"\\n{col.upper()}:\")\n    print(f\"  Type: {data[col].dtype}\")\n    print(f\"  Missing values: {data[col].isnull().sum()}\")\n    print(f\"  Unique values: {data[col].nunique()}\")\n    \n    if data[col].dtype in ['int64', 'float64']:\n        print(f\"  Min/Max: {data[col].min()} / {data[col].max()}\")\n    else:\n        unique_vals = data[col].dropna().unique()\n        print(f\"  Sample values: {unique_vals[:3]}\")\n",[4385],{"type":393,"tag":542,"props":4386,"children":4387},{"__ignoreMap":6},[4388,4407,4414,4422,4438,4481,4526,4574,4581,4588,4608,4620,4631,4638,4658,4679,4721,4762,4803,4844,4851,4887,4946,4957,4974],{"type":393,"tag":546,"props":4389,"children":4390},{"class":548,"line":11},[4391,4395,4399,4403],{"type":393,"tag":546,"props":4392,"children":4393},{"style":552},[4394],{"type":398,"value":555},{"type":393,"tag":546,"props":4396,"children":4397},{"style":558},[4398],{"type":398,"value":561},{"type":393,"tag":546,"props":4400,"children":4401},{"style":552},[4402],{"type":398,"value":566},{"type":393,"tag":546,"props":4404,"children":4405},{"style":558},[4406],{"type":398,"value":571},{"type":393,"tag":546,"props":4408,"children":4409},{"class":548,"line":27},[4410],{"type":393,"tag":546,"props":4411,"children":4412},{"emptyLinePlaceholder":12},[4413],{"type":398,"value":579},{"type":393,"tag":546,"props":4415,"children":4416},{"class":548,"line":36},[4417],{"type":393,"tag":546,"props":4418,"children":4419},{"style":585},[4420],{"type":398,"value":4421},"# Dataset to check\n",{"type":393,"tag":546,"props":4423,"children":4424},{"class":548,"line":45},[4425,4430,4434],{"type":393,"tag":546,"props":4426,"children":4427},{"style":558},[4428],{"type":398,"value":4429},"data ",{"type":393,"tag":546,"props":4431,"children":4432},{"style":552},[4433],{"type":398,"value":601},{"type":393,"tag":546,"props":4435,"children":4436},{"style":558},[4437],{"type":398,"value":606},{"type":393,"tag":546,"props":4439,"children":4440},{"class":548,"line":54},[4441,4445,4449,4453,4457,4461,4465,4469,4473,4477],{"type":393,"tag":546,"props":4442,"children":4443},{"style":612},[4444],{"type":398,"value":1036},{"type":393,"tag":546,"props":4446,"children":4447},{"style":558},[4448],{"type":398,"value":620},{"type":393,"tag":546,"props":4450,"children":4451},{"style":612},[4452],{"type":398,"value":2799},{"type":393,"tag":546,"props":4454,"children":4455},{"style":558},[4456],{"type":398,"value":630},{"type":393,"tag":546,"props":4458,"children":4459},{"style":612},[4460],{"type":398,"value":2808},{"type":393,"tag":546,"props":4462,"children":4463},{"style":558},[4464],{"type":398,"value":630},{"type":393,"tag":546,"props":4466,"children":4467},{"style":664},[4468],{"type":398,"value":3991},{"type":393,"tag":546,"props":4470,"children":4471},{"style":558},[4472],{"type":398,"value":630},{"type":393,"tag":546,"props":4474,"children":4475},{"style":612},[4476],{"type":398,"value":2826},{"type":393,"tag":546,"props":4478,"children":4479},{"style":558},[4480],{"type":398,"value":649},{"type":393,"tag":546,"props":4482,"children":4483},{"class":548,"line":63},[4484,4488,4492,4497,4501,4505,4509,4514,4518,4522],{"type":393,"tag":546,"props":4485,"children":4486},{"style":612},[4487],{"type":398,"value":1075},{"type":393,"tag":546,"props":4489,"children":4490},{"style":558},[4491],{"type":398,"value":620},{"type":393,"tag":546,"props":4493,"children":4494},{"style":664},[4495],{"type":398,"value":4496},"999",{"type":393,"tag":546,"props":4498,"children":4499},{"style":558},[4500],{"type":398,"value":630},{"type":393,"tag":546,"props":4502,"children":4503},{"style":664},[4504],{"type":398,"value":667},{"type":393,"tag":546,"props":4506,"children":4507},{"style":558},[4508],{"type":398,"value":630},{"type":393,"tag":546,"props":4510,"children":4511},{"style":664},[4512],{"type":398,"value":4513},"75",{"type":393,"tag":546,"props":4515,"children":4516},{"style":558},[4517],{"type":398,"value":630},{"type":393,"tag":546,"props":4519,"children":4520},{"style":664},[4521],{"type":398,"value":3991},{"type":393,"tag":546,"props":4523,"children":4524},{"style":558},[4525],{"type":398,"value":649},{"type":393,"tag":546,"props":4527,"children":4528},{"class":548,"line":72},[4529,4534,4538,4543,4547,4552,4556,4561,4565,4570],{"type":393,"tag":546,"props":4530,"children":4531},{"style":612},[4532],{"type":398,"value":4533},"    'rating'",{"type":393,"tag":546,"props":4535,"children":4536},{"style":558},[4537],{"type":398,"value":620},{"type":393,"tag":546,"props":4539,"children":4540},{"style":664},[4541],{"type":398,"value":4542},"4.5",{"type":393,"tag":546,"props":4544,"children":4545},{"style":558},[4546],{"type":398,"value":630},{"type":393,"tag":546,"props":4548,"children":4549},{"style":664},[4550],{"type":398,"value":4551},"4.2",{"type":393,"tag":546,"props":4553,"children":4554},{"style":558},[4555],{"type":398,"value":630},{"type":393,"tag":546,"props":4557,"children":4558},{"style":664},[4559],{"type":398,"value":4560},"5.0",{"type":393,"tag":546,"props":4562,"children":4563},{"style":558},[4564],{"type":398,"value":630},{"type":393,"tag":546,"props":4566,"children":4567},{"style":664},[4568],{"type":398,"value":4569},"4.8",{"type":393,"tag":546,"props":4571,"children":4572},{"style":558},[4573],{"type":398,"value":806},{"type":393,"tag":546,"props":4575,"children":4576},{"class":548,"line":83},[4577],{"type":393,"tag":546,"props":4578,"children":4579},{"style":558},[4580],{"type":398,"value":814},{"type":393,"tag":546,"props":4582,"children":4583},{"class":548,"line":92},[4584],{"type":393,"tag":546,"props":4585,"children":4586},{"emptyLinePlaceholder":12},[4587],{"type":398,"value":579},{"type":393,"tag":546,"props":4589,"children":4590},{"class":548,"line":101},[4591,4595,4599,4604],{"type":393,"tag":546,"props":4592,"children":4593},{"style":664},[4594],{"type":398,"value":829},{"type":393,"tag":546,"props":4596,"children":4597},{"style":558},[4598],{"type":398,"value":834},{"type":393,"tag":546,"props":4600,"children":4601},{"style":612},[4602],{"type":398,"value":4603},"\"Data Quality Check:\"",{"type":393,"tag":546,"props":4605,"children":4606},{"style":558},[4607],{"type":398,"value":844},{"type":393,"tag":546,"props":4609,"children":4610},{"class":548,"line":110},[4611,4615],{"type":393,"tag":546,"props":4612,"children":4613},{"style":664},[4614],{"type":398,"value":829},{"type":393,"tag":546,"props":4616,"children":4617},{"style":558},[4618],{"type":398,"value":4619},"(data)\n",{"type":393,"tag":546,"props":4621,"children":4622},{"class":548,"line":121},[4623,4627],{"type":393,"tag":546,"props":4624,"children":4625},{"style":664},[4626],{"type":398,"value":829},{"type":393,"tag":546,"props":4628,"children":4629},{"style":558},[4630],{"type":398,"value":868},{"type":393,"tag":546,"props":4632,"children":4633},{"class":548,"line":130},[4634],{"type":393,"tag":546,"props":4635,"children":4636},{"emptyLinePlaceholder":12},[4637],{"type":398,"value":579},{"type":393,"tag":546,"props":4639,"children":4640},{"class":548,"line":139},[4641,4645,4649,4654],{"type":393,"tag":546,"props":4642,"children":4643},{"style":664},[4644],{"type":398,"value":829},{"type":393,"tag":546,"props":4646,"children":4647},{"style":558},[4648],{"type":398,"value":834},{"type":393,"tag":546,"props":4650,"children":4651},{"style":612},[4652],{"type":398,"value":4653},"\"🔍 Column-by-Column Analysis:\"",{"type":393,"tag":546,"props":4655,"children":4656},{"style":558},[4657],{"type":398,"value":844},{"type":393,"tag":546,"props":4659,"children":4660},{"class":548,"line":148},[4661,4665,4670,4674],{"type":393,"tag":546,"props":4662,"children":4663},{"style":552},[4664],{"type":398,"value":1971},{"type":393,"tag":546,"props":4666,"children":4667},{"style":558},[4668],{"type":398,"value":4669}," col ",{"type":393,"tag":546,"props":4671,"children":4672},{"style":552},[4673],{"type":398,"value":1981},{"type":393,"tag":546,"props":4675,"children":4676},{"style":558},[4677],{"type":398,"value":4678}," data.columns:\n",{"type":393,"tag":546,"props":4680,"children":4681},{"class":548,"line":159},[4682,4686,4690,4694,4698,4703,4708,4712,4717],{"type":393,"tag":546,"props":4683,"children":4684},{"style":664},[4685],{"type":398,"value":2039},{"type":393,"tag":546,"props":4687,"children":4688},{"style":558},[4689],{"type":398,"value":834},{"type":393,"tag":546,"props":4691,"children":4692},{"style":552},[4693],{"type":398,"value":1245},{"type":393,"tag":546,"props":4695,"children":4696},{"style":612},[4697],{"type":398,"value":1280},{"type":393,"tag":546,"props":4699,"children":4700},{"style":664},[4701],{"type":398,"value":4702},"\\n{",{"type":393,"tag":546,"props":4704,"children":4705},{"style":558},[4706],{"type":398,"value":4707},"col.upper()",{"type":393,"tag":546,"props":4709,"children":4710},{"style":664},[4711],{"type":398,"value":1275},{"type":393,"tag":546,"props":4713,"children":4714},{"style":612},[4715],{"type":398,"value":4716},":\"",{"type":393,"tag":546,"props":4718,"children":4719},{"style":558},[4720],{"type":398,"value":844},{"type":393,"tag":546,"props":4722,"children":4723},{"class":548,"line":168},[4724,4728,4732,4736,4741,4745,4750,4754,4758],{"type":393,"tag":546,"props":4725,"children":4726},{"style":664},[4727],{"type":398,"value":2039},{"type":393,"tag":546,"props":4729,"children":4730},{"style":558},[4731],{"type":398,"value":834},{"type":393,"tag":546,"props":4733,"children":4734},{"style":552},[4735],{"type":398,"value":1245},{"type":393,"tag":546,"props":4737,"children":4738},{"style":612},[4739],{"type":398,"value":4740},"\"  Type: ",{"type":393,"tag":546,"props":4742,"children":4743},{"style":664},[4744],{"type":398,"value":1255},{"type":393,"tag":546,"props":4746,"children":4747},{"style":558},[4748],{"type":398,"value":4749},"data[col].dtype",{"type":393,"tag":546,"props":4751,"children":4752},{"style":664},[4753],{"type":398,"value":1275},{"type":393,"tag":546,"props":4755,"children":4756},{"style":612},[4757],{"type":398,"value":1280},{"type":393,"tag":546,"props":4759,"children":4760},{"style":558},[4761],{"type":398,"value":844},{"type":393,"tag":546,"props":4763,"children":4764},{"class":548,"line":177},[4765,4769,4773,4777,4782,4786,4791,4795,4799],{"type":393,"tag":546,"props":4766,"children":4767},{"style":664},[4768],{"type":398,"value":2039},{"type":393,"tag":546,"props":4770,"children":4771},{"style":558},[4772],{"type":398,"value":834},{"type":393,"tag":546,"props":4774,"children":4775},{"style":552},[4776],{"type":398,"value":1245},{"type":393,"tag":546,"props":4778,"children":4779},{"style":612},[4780],{"type":398,"value":4781},"\"  Missing values: ",{"type":393,"tag":546,"props":4783,"children":4784},{"style":664},[4785],{"type":398,"value":1255},{"type":393,"tag":546,"props":4787,"children":4788},{"style":558},[4789],{"type":398,"value":4790},"data[col].isnull().sum()",{"type":393,"tag":546,"props":4792,"children":4793},{"style":664},[4794],{"type":398,"value":1275},{"type":393,"tag":546,"props":4796,"children":4797},{"style":612},[4798],{"type":398,"value":1280},{"type":393,"tag":546,"props":4800,"children":4801},{"style":558},[4802],{"type":398,"value":844},{"type":393,"tag":546,"props":4804,"children":4805},{"class":548,"line":186},[4806,4810,4814,4818,4823,4827,4832,4836,4840],{"type":393,"tag":546,"props":4807,"children":4808},{"style":664},[4809],{"type":398,"value":2039},{"type":393,"tag":546,"props":4811,"children":4812},{"style":558},[4813],{"type":398,"value":834},{"type":393,"tag":546,"props":4815,"children":4816},{"style":552},[4817],{"type":398,"value":1245},{"type":393,"tag":546,"props":4819,"children":4820},{"style":612},[4821],{"type":398,"value":4822},"\"  Unique values: ",{"type":393,"tag":546,"props":4824,"children":4825},{"style":664},[4826],{"type":398,"value":1255},{"type":393,"tag":546,"props":4828,"children":4829},{"style":558},[4830],{"type":398,"value":4831},"data[col].nunique()",{"type":393,"tag":546,"props":4833,"children":4834},{"style":664},[4835],{"type":398,"value":1275},{"type":393,"tag":546,"props":4837,"children":4838},{"style":612},[4839],{"type":398,"value":1280},{"type":393,"tag":546,"props":4841,"children":4842},{"style":558},[4843],{"type":398,"value":844},{"type":393,"tag":546,"props":4845,"children":4846},{"class":548,"line":197},[4847],{"type":393,"tag":546,"props":4848,"children":4849},{"style":558},[4850],{"type":398,"value":3233},{"type":393,"tag":546,"props":4852,"children":4853},{"class":548,"line":206},[4854,4858,4863,4867,4871,4875,4879,4883],{"type":393,"tag":546,"props":4855,"children":4856},{"style":552},[4857],{"type":398,"value":3241},{"type":393,"tag":546,"props":4859,"children":4860},{"style":558},[4861],{"type":398,"value":4862}," data[col].dtype ",{"type":393,"tag":546,"props":4864,"children":4865},{"style":552},[4866],{"type":398,"value":1981},{"type":393,"tag":546,"props":4868,"children":4869},{"style":558},[4870],{"type":398,"value":3255},{"type":393,"tag":546,"props":4872,"children":4873},{"style":612},[4874],{"type":398,"value":3260},{"type":393,"tag":546,"props":4876,"children":4877},{"style":558},[4878],{"type":398,"value":630},{"type":393,"tag":546,"props":4880,"children":4881},{"style":612},[4882],{"type":398,"value":3269},{"type":393,"tag":546,"props":4884,"children":4885},{"style":558},[4886],{"type":398,"value":1995},{"type":393,"tag":546,"props":4888,"children":4889},{"class":548,"line":215},[4890,4894,4898,4902,4907,4911,4916,4920,4925,4929,4934,4938,4942],{"type":393,"tag":546,"props":4891,"children":4892},{"style":664},[4893],{"type":398,"value":3281},{"type":393,"tag":546,"props":4895,"children":4896},{"style":558},[4897],{"type":398,"value":834},{"type":393,"tag":546,"props":4899,"children":4900},{"style":552},[4901],{"type":398,"value":1245},{"type":393,"tag":546,"props":4903,"children":4904},{"style":612},[4905],{"type":398,"value":4906},"\"  Min/Max: ",{"type":393,"tag":546,"props":4908,"children":4909},{"style":664},[4910],{"type":398,"value":1255},{"type":393,"tag":546,"props":4912,"children":4913},{"style":558},[4914],{"type":398,"value":4915},"data[col].min()",{"type":393,"tag":546,"props":4917,"children":4918},{"style":664},[4919],{"type":398,"value":1275},{"type":393,"tag":546,"props":4921,"children":4922},{"style":612},[4923],{"type":398,"value":4924}," / ",{"type":393,"tag":546,"props":4926,"children":4927},{"style":664},[4928],{"type":398,"value":1255},{"type":393,"tag":546,"props":4930,"children":4931},{"style":558},[4932],{"type":398,"value":4933},"data[col].max()",{"type":393,"tag":546,"props":4935,"children":4936},{"style":664},[4937],{"type":398,"value":1275},{"type":393,"tag":546,"props":4939,"children":4940},{"style":612},[4941],{"type":398,"value":1280},{"type":393,"tag":546,"props":4943,"children":4944},{"style":558},[4945],{"type":398,"value":844},{"type":393,"tag":546,"props":4947,"children":4948},{"class":548,"line":224},[4949,4953],{"type":393,"tag":546,"props":4950,"children":4951},{"style":552},[4952],{"type":398,"value":3409},{"type":393,"tag":546,"props":4954,"children":4955},{"style":558},[4956],{"type":398,"value":3360},{"type":393,"tag":546,"props":4958,"children":4959},{"class":548,"line":233},[4960,4965,4969],{"type":393,"tag":546,"props":4961,"children":4962},{"style":558},[4963],{"type":398,"value":4964},"        unique_vals ",{"type":393,"tag":546,"props":4966,"children":4967},{"style":552},[4968],{"type":398,"value":601},{"type":393,"tag":546,"props":4970,"children":4971},{"style":558},[4972],{"type":398,"value":4973}," data[col].dropna().unique()\n",{"type":393,"tag":546,"props":4975,"children":4976},{"class":548,"line":244},[4977,4981,4985,4989,4994,4998,5003,5007,5011,5015,5019],{"type":393,"tag":546,"props":4978,"children":4979},{"style":664},[4980],{"type":398,"value":3281},{"type":393,"tag":546,"props":4982,"children":4983},{"style":558},[4984],{"type":398,"value":834},{"type":393,"tag":546,"props":4986,"children":4987},{"style":552},[4988],{"type":398,"value":1245},{"type":393,"tag":546,"props":4990,"children":4991},{"style":612},[4992],{"type":398,"value":4993},"\"  Sample values: ",{"type":393,"tag":546,"props":4995,"children":4996},{"style":664},[4997],{"type":398,"value":1255},{"type":393,"tag":546,"props":4999,"children":5000},{"style":558},[5001],{"type":398,"value":5002},"unique_vals[:",{"type":393,"tag":546,"props":5004,"children":5005},{"style":664},[5006],{"type":398,"value":1132},{"type":393,"tag":546,"props":5008,"children":5009},{"style":558},[5010],{"type":398,"value":3451},{"type":393,"tag":546,"props":5012,"children":5013},{"style":664},[5014],{"type":398,"value":1275},{"type":393,"tag":546,"props":5016,"children":5017},{"style":612},[5018],{"type":398,"value":1280},{"type":393,"tag":546,"props":5020,"children":5021},{"style":558},[5022],{"type":398,"value":844},{"type":393,"tag":519,"props":5024,"children":5026},{"id":5025},"key-takeaways",[5027],{"type":398,"value":5028},"🎯 Key Takeaways",{"type":393,"tag":407,"props":5030,"children":5034},{"emoji":5031,"title":5032,"type":5033},"📚","Column and Data Type Essentials","success",[5035,5043,5090,5098,5172,5180,5203,5211,5241,5249,5272],{"type":393,"tag":401,"props":5036,"children":5037},{},[5038],{"type":393,"tag":417,"props":5039,"children":5040},{},[5041],{"type":398,"value":5042},"Essential Column Checks:",{"type":393,"tag":423,"props":5044,"children":5045},{},[5046,5057,5068,5079],{"type":393,"tag":427,"props":5047,"children":5048},{},[5049,5055],{"type":393,"tag":542,"props":5050,"children":5052},{"className":5051},[],[5053],{"type":398,"value":5054},".dtypes",{"type":398,"value":5056}," - See all column types",{"type":393,"tag":427,"props":5058,"children":5059},{},[5060,5066],{"type":393,"tag":542,"props":5061,"children":5063},{"className":5062},[],[5064],{"type":398,"value":5065},".info()",{"type":398,"value":5067}," - Complete column overview",{"type":393,"tag":427,"props":5069,"children":5070},{},[5071,5077],{"type":393,"tag":542,"props":5072,"children":5074},{"className":5073},[],[5075],{"type":398,"value":5076},".nunique()",{"type":398,"value":5078}," - Count unique values per column",{"type":393,"tag":427,"props":5080,"children":5081},{},[5082,5088],{"type":393,"tag":542,"props":5083,"children":5085},{"className":5084},[],[5086],{"type":398,"value":5087},".isnull().sum()",{"type":398,"value":5089}," - Missing values per column",{"type":393,"tag":401,"props":5091,"children":5092},{},[5093],{"type":393,"tag":417,"props":5094,"children":5095},{},[5096],{"type":398,"value":5097},"Data Type Categories:",{"type":393,"tag":423,"props":5099,"children":5100},{},[5101,5124,5140,5156],{"type":393,"tag":427,"props":5102,"children":5103},{},[5104,5109,5111,5116,5117,5122],{"type":393,"tag":417,"props":5105,"children":5106},{},[5107],{"type":398,"value":5108},"Numerical",{"type":398,"value":5110},": ",{"type":393,"tag":542,"props":5112,"children":5114},{"className":5113},[],[5115],{"type":398,"value":465},{"type":398,"value":630},{"type":393,"tag":542,"props":5118,"children":5120},{"className":5119},[],[5121],{"type":398,"value":475},{"type":398,"value":5123}," - Use for math",{"type":393,"tag":427,"props":5125,"children":5126},{},[5127,5132,5133,5138],{"type":393,"tag":417,"props":5128,"children":5129},{},[5130],{"type":398,"value":5131},"Text",{"type":398,"value":5110},{"type":393,"tag":542,"props":5134,"children":5136},{"className":5135},[],[5137],{"type":398,"value":485},{"type":398,"value":5139}," - Use for categories, names",{"type":393,"tag":427,"props":5141,"children":5142},{},[5143,5148,5149,5154],{"type":393,"tag":417,"props":5144,"children":5145},{},[5146],{"type":398,"value":5147},"Boolean",{"type":398,"value":5110},{"type":393,"tag":542,"props":5150,"children":5152},{"className":5151},[],[5153],{"type":398,"value":495},{"type":398,"value":5155}," - Use for True/False flags",{"type":393,"tag":427,"props":5157,"children":5158},{},[5159,5164,5165,5170],{"type":393,"tag":417,"props":5160,"children":5161},{},[5162],{"type":398,"value":5163},"Dates",{"type":398,"value":5110},{"type":393,"tag":542,"props":5166,"children":5168},{"className":5167},[],[5169],{"type":398,"value":505},{"type":398,"value":5171}," - Use for time analysis",{"type":393,"tag":401,"props":5173,"children":5174},{},[5175],{"type":393,"tag":417,"props":5176,"children":5177},{},[5178],{"type":398,"value":5179},"For Each Column Ask:",{"type":393,"tag":423,"props":5181,"children":5182},{},[5183,5188,5193,5198],{"type":393,"tag":427,"props":5184,"children":5185},{},[5186],{"type":398,"value":5187},"Is the data type correct?",{"type":393,"tag":427,"props":5189,"children":5190},{},[5191],{"type":398,"value":5192},"Are there missing values?",{"type":393,"tag":427,"props":5194,"children":5195},{},[5196],{"type":398,"value":5197},"Do the values make sense?",{"type":393,"tag":427,"props":5199,"children":5200},{},[5201],{"type":398,"value":5202},"Are there obvious errors?",{"type":393,"tag":401,"props":5204,"children":5205},{},[5206],{"type":393,"tag":417,"props":5207,"children":5208},{},[5209],{"type":398,"value":5210},"Red Flags:",{"type":393,"tag":423,"props":5212,"children":5213},{},[5214,5226,5231,5236],{"type":393,"tag":427,"props":5215,"children":5216},{},[5217,5219,5224],{"type":398,"value":5218},"Numbers stored as text (",{"type":393,"tag":542,"props":5220,"children":5222},{"className":5221},[],[5223],{"type":398,"value":485},{"type":398,"value":5225}," type)",{"type":393,"tag":427,"props":5227,"children":5228},{},[5229],{"type":398,"value":5230},"Mixed data in one column",{"type":393,"tag":427,"props":5232,"children":5233},{},[5234],{"type":398,"value":5235},"Unexpected missing values",{"type":393,"tag":427,"props":5237,"children":5238},{},[5239],{"type":398,"value":5240},"Values outside expected range",{"type":393,"tag":401,"props":5242,"children":5243},{},[5244],{"type":393,"tag":417,"props":5245,"children":5246},{},[5247],{"type":398,"value":5248},"Best Practices:",{"type":393,"tag":423,"props":5250,"children":5251},{},[5252,5257,5262,5267],{"type":393,"tag":427,"props":5253,"children":5254},{},[5255],{"type":398,"value":5256},"Check types immediately after loading",{"type":393,"tag":427,"props":5258,"children":5259},{},[5260],{"type":398,"value":5261},"Fix type issues before analysis",{"type":393,"tag":427,"props":5263,"children":5264},{},[5265],{"type":398,"value":5266},"Understand what each column represents",{"type":393,"tag":427,"props":5268,"children":5269},{},[5270],{"type":398,"value":5271},"Document any data quality issues",{"type":393,"tag":401,"props":5273,"children":5274},{},[5275,5280],{"type":393,"tag":417,"props":5276,"children":5277},{},[5278],{"type":398,"value":5279},"Remember:",{"type":398,"value":5281}," Understanding your columns is the foundation of good analysis!",{"type":393,"tag":519,"props":5283,"children":5285},{"id":5284},"column-analysis-practice",[5286],{"type":398,"value":5287},"🎮 Column Analysis Practice",{"type":393,"tag":401,"props":5289,"children":5290},{},[5291],{"type":398,"value":5292},"Let's practice analyzing columns systematically:",{"type":393,"tag":531,"props":5294,"children":5295},{},[5296],{"type":393,"tag":535,"props":5297,"children":5299},{"className":537,"code":5298,"language":539,"meta":6,"style":6},"import pandas as pd\n\n# Practice dataset\npractice = pd.DataFrame({\n    'customer_id': [1001, 1002, 1003, 1004],\n    'purchase_amount': [99.99, 149.50, 75.25, 200.00],\n    'is_member': [True, False, True, True],\n    'product_category': ['Electronics', 'Clothing', 'Electronics', 'Books']\n})\n\nprint(\"🎯 Column Analysis Practice:\")\nprint(practice)\nprint()\n\nprint(\"📊 Quick Column Summary:\")\nfor col in practice.columns:\n    dtype = practice[col].dtype\n    unique = practice[col].nunique()\n    missing = practice[col].isnull().sum()\n    \n    print(f\"{col}: {dtype} | {unique} unique | {missing} missing\")\n\nprint()\nprint(\"🔍 Detailed Analysis:\")\nprint(f\"💰 Purchase amounts: ${practice['purchase_amount'].min()} - ${practice['purchase_amount'].max()}\")\nprint(f\"👥 Member percentage: {practice['is_member'].mean():.1%}\")\nprint(f\"📦 Categories: {practice['product_category'].unique()}\")\n",[5300],{"type":393,"tag":542,"props":5301,"children":5302},{"__ignoreMap":6},[5303,5322,5329,5337,5353,5401,5449,5493,5540,5547,5554,5574,5586,5597,5604,5624,5644,5661,5678,5695,5702,5796,5803,5814,5834,5910,5964],{"type":393,"tag":546,"props":5304,"children":5305},{"class":548,"line":11},[5306,5310,5314,5318],{"type":393,"tag":546,"props":5307,"children":5308},{"style":552},[5309],{"type":398,"value":555},{"type":393,"tag":546,"props":5311,"children":5312},{"style":558},[5313],{"type":398,"value":561},{"type":393,"tag":546,"props":5315,"children":5316},{"style":552},[5317],{"type":398,"value":566},{"type":393,"tag":546,"props":5319,"children":5320},{"style":558},[5321],{"type":398,"value":571},{"type":393,"tag":546,"props":5323,"children":5324},{"class":548,"line":27},[5325],{"type":393,"tag":546,"props":5326,"children":5327},{"emptyLinePlaceholder":12},[5328],{"type":398,"value":579},{"type":393,"tag":546,"props":5330,"children":5331},{"class":548,"line":36},[5332],{"type":393,"tag":546,"props":5333,"children":5334},{"style":585},[5335],{"type":398,"value":5336},"# Practice dataset\n",{"type":393,"tag":546,"props":5338,"children":5339},{"class":548,"line":45},[5340,5345,5349],{"type":393,"tag":546,"props":5341,"children":5342},{"style":558},[5343],{"type":398,"value":5344},"practice ",{"type":393,"tag":546,"props":5346,"children":5347},{"style":552},[5348],{"type":398,"value":601},{"type":393,"tag":546,"props":5350,"children":5351},{"style":558},[5352],{"type":398,"value":606},{"type":393,"tag":546,"props":5354,"children":5355},{"class":548,"line":54},[5356,5361,5365,5370,5374,5379,5383,5388,5392,5397],{"type":393,"tag":546,"props":5357,"children":5358},{"style":612},[5359],{"type":398,"value":5360},"    'customer_id'",{"type":393,"tag":546,"props":5362,"children":5363},{"style":558},[5364],{"type":398,"value":620},{"type":393,"tag":546,"props":5366,"children":5367},{"style":664},[5368],{"type":398,"value":5369},"1001",{"type":393,"tag":546,"props":5371,"children":5372},{"style":558},[5373],{"type":398,"value":630},{"type":393,"tag":546,"props":5375,"children":5376},{"style":664},[5377],{"type":398,"value":5378},"1002",{"type":393,"tag":546,"props":5380,"children":5381},{"style":558},[5382],{"type":398,"value":630},{"type":393,"tag":546,"props":5384,"children":5385},{"style":664},[5386],{"type":398,"value":5387},"1003",{"type":393,"tag":546,"props":5389,"children":5390},{"style":558},[5391],{"type":398,"value":630},{"type":393,"tag":546,"props":5393,"children":5394},{"style":664},[5395],{"type":398,"value":5396},"1004",{"type":393,"tag":546,"props":5398,"children":5399},{"style":558},[5400],{"type":398,"value":649},{"type":393,"tag":546,"props":5402,"children":5403},{"class":548,"line":63},[5404,5409,5413,5418,5422,5427,5431,5436,5440,5445],{"type":393,"tag":546,"props":5405,"children":5406},{"style":612},[5407],{"type":398,"value":5408},"    'purchase_amount'",{"type":393,"tag":546,"props":5410,"children":5411},{"style":558},[5412],{"type":398,"value":620},{"type":393,"tag":546,"props":5414,"children":5415},{"style":664},[5416],{"type":398,"value":5417},"99.99",{"type":393,"tag":546,"props":5419,"children":5420},{"style":558},[5421],{"type":398,"value":630},{"type":393,"tag":546,"props":5423,"children":5424},{"style":664},[5425],{"type":398,"value":5426},"149.50",{"type":393,"tag":546,"props":5428,"children":5429},{"style":558},[5430],{"type":398,"value":630},{"type":393,"tag":546,"props":5432,"children":5433},{"style":664},[5434],{"type":398,"value":5435},"75.25",{"type":393,"tag":546,"props":5437,"children":5438},{"style":558},[5439],{"type":398,"value":630},{"type":393,"tag":546,"props":5441,"children":5442},{"style":664},[5443],{"type":398,"value":5444},"200.00",{"type":393,"tag":546,"props":5446,"children":5447},{"style":558},[5448],{"type":398,"value":649},{"type":393,"tag":546,"props":5450,"children":5451},{"class":548,"line":72},[5452,5457,5461,5465,5469,5473,5477,5481,5485,5489],{"type":393,"tag":546,"props":5453,"children":5454},{"style":612},[5455],{"type":398,"value":5456},"    'is_member'",{"type":393,"tag":546,"props":5458,"children":5459},{"style":558},[5460],{"type":398,"value":620},{"type":393,"tag":546,"props":5462,"children":5463},{"style":664},[5464],{"type":398,"value":745},{"type":393,"tag":546,"props":5466,"children":5467},{"style":558},[5468],{"type":398,"value":630},{"type":393,"tag":546,"props":5470,"children":5471},{"style":664},[5472],{"type":398,"value":754},{"type":393,"tag":546,"props":5474,"children":5475},{"style":558},[5476],{"type":398,"value":630},{"type":393,"tag":546,"props":5478,"children":5479},{"style":664},[5480],{"type":398,"value":745},{"type":393,"tag":546,"props":5482,"children":5483},{"style":558},[5484],{"type":398,"value":630},{"type":393,"tag":546,"props":5486,"children":5487},{"style":664},[5488],{"type":398,"value":745},{"type":393,"tag":546,"props":5490,"children":5491},{"style":558},[5492],{"type":398,"value":649},{"type":393,"tag":546,"props":5494,"children":5495},{"class":548,"line":83},[5496,5501,5505,5510,5514,5519,5523,5527,5531,5536],{"type":393,"tag":546,"props":5497,"children":5498},{"style":612},[5499],{"type":398,"value":5500},"    'product_category'",{"type":393,"tag":546,"props":5502,"children":5503},{"style":558},[5504],{"type":398,"value":620},{"type":393,"tag":546,"props":5506,"children":5507},{"style":612},[5508],{"type":398,"value":5509},"'Electronics'",{"type":393,"tag":546,"props":5511,"children":5512},{"style":558},[5513],{"type":398,"value":630},{"type":393,"tag":546,"props":5515,"children":5516},{"style":612},[5517],{"type":398,"value":5518},"'Clothing'",{"type":393,"tag":546,"props":5520,"children":5521},{"style":558},[5522],{"type":398,"value":630},{"type":393,"tag":546,"props":5524,"children":5525},{"style":612},[5526],{"type":398,"value":5509},{"type":393,"tag":546,"props":5528,"children":5529},{"style":558},[5530],{"type":398,"value":630},{"type":393,"tag":546,"props":5532,"children":5533},{"style":612},[5534],{"type":398,"value":5535},"'Books'",{"type":393,"tag":546,"props":5537,"children":5538},{"style":558},[5539],{"type":398,"value":806},{"type":393,"tag":546,"props":5541,"children":5542},{"class":548,"line":92},[5543],{"type":393,"tag":546,"props":5544,"children":5545},{"style":558},[5546],{"type":398,"value":814},{"type":393,"tag":546,"props":5548,"children":5549},{"class":548,"line":101},[5550],{"type":393,"tag":546,"props":5551,"children":5552},{"emptyLinePlaceholder":12},[5553],{"type":398,"value":579},{"type":393,"tag":546,"props":5555,"children":5556},{"class":548,"line":110},[5557,5561,5565,5570],{"type":393,"tag":546,"props":5558,"children":5559},{"style":664},[5560],{"type":398,"value":829},{"type":393,"tag":546,"props":5562,"children":5563},{"style":558},[5564],{"type":398,"value":834},{"type":393,"tag":546,"props":5566,"children":5567},{"style":612},[5568],{"type":398,"value":5569},"\"🎯 Column Analysis Practice:\"",{"type":393,"tag":546,"props":5571,"children":5572},{"style":558},[5573],{"type":398,"value":844},{"type":393,"tag":546,"props":5575,"children":5576},{"class":548,"line":121},[5577,5581],{"type":393,"tag":546,"props":5578,"children":5579},{"style":664},[5580],{"type":398,"value":829},{"type":393,"tag":546,"props":5582,"children":5583},{"style":558},[5584],{"type":398,"value":5585},"(practice)\n",{"type":393,"tag":546,"props":5587,"children":5588},{"class":548,"line":130},[5589,5593],{"type":393,"tag":546,"props":5590,"children":5591},{"style":664},[5592],{"type":398,"value":829},{"type":393,"tag":546,"props":5594,"children":5595},{"style":558},[5596],{"type":398,"value":868},{"type":393,"tag":546,"props":5598,"children":5599},{"class":548,"line":139},[5600],{"type":393,"tag":546,"props":5601,"children":5602},{"emptyLinePlaceholder":12},[5603],{"type":398,"value":579},{"type":393,"tag":546,"props":5605,"children":5606},{"class":548,"line":148},[5607,5611,5615,5620],{"type":393,"tag":546,"props":5608,"children":5609},{"style":664},[5610],{"type":398,"value":829},{"type":393,"tag":546,"props":5612,"children":5613},{"style":558},[5614],{"type":398,"value":834},{"type":393,"tag":546,"props":5616,"children":5617},{"style":612},[5618],{"type":398,"value":5619},"\"📊 Quick Column Summary:\"",{"type":393,"tag":546,"props":5621,"children":5622},{"style":558},[5623],{"type":398,"value":844},{"type":393,"tag":546,"props":5625,"children":5626},{"class":548,"line":159},[5627,5631,5635,5639],{"type":393,"tag":546,"props":5628,"children":5629},{"style":552},[5630],{"type":398,"value":1971},{"type":393,"tag":546,"props":5632,"children":5633},{"style":558},[5634],{"type":398,"value":4669},{"type":393,"tag":546,"props":5636,"children":5637},{"style":552},[5638],{"type":398,"value":1981},{"type":393,"tag":546,"props":5640,"children":5641},{"style":558},[5642],{"type":398,"value":5643}," practice.columns:\n",{"type":393,"tag":546,"props":5645,"children":5646},{"class":548,"line":168},[5647,5652,5656],{"type":393,"tag":546,"props":5648,"children":5649},{"style":558},[5650],{"type":398,"value":5651},"    dtype ",{"type":393,"tag":546,"props":5653,"children":5654},{"style":552},[5655],{"type":398,"value":601},{"type":393,"tag":546,"props":5657,"children":5658},{"style":558},[5659],{"type":398,"value":5660}," practice[col].dtype\n",{"type":393,"tag":546,"props":5662,"children":5663},{"class":548,"line":177},[5664,5669,5673],{"type":393,"tag":546,"props":5665,"children":5666},{"style":558},[5667],{"type":398,"value":5668},"    unique ",{"type":393,"tag":546,"props":5670,"children":5671},{"style":552},[5672],{"type":398,"value":601},{"type":393,"tag":546,"props":5674,"children":5675},{"style":558},[5676],{"type":398,"value":5677}," practice[col].nunique()\n",{"type":393,"tag":546,"props":5679,"children":5680},{"class":548,"line":186},[5681,5686,5690],{"type":393,"tag":546,"props":5682,"children":5683},{"style":558},[5684],{"type":398,"value":5685},"    missing ",{"type":393,"tag":546,"props":5687,"children":5688},{"style":552},[5689],{"type":398,"value":601},{"type":393,"tag":546,"props":5691,"children":5692},{"style":558},[5693],{"type":398,"value":5694}," practice[col].isnull().sum()\n",{"type":393,"tag":546,"props":5696,"children":5697},{"class":548,"line":197},[5698],{"type":393,"tag":546,"props":5699,"children":5700},{"style":558},[5701],{"type":398,"value":3233},{"type":393,"tag":546,"props":5703,"children":5704},{"class":548,"line":206},[5705,5709,5713,5717,5721,5725,5730,5734,5738,5742,5747,5751,5756,5760,5765,5769,5774,5778,5783,5787,5792],{"type":393,"tag":546,"props":5706,"children":5707},{"style":664},[5708],{"type":398,"value":2039},{"type":393,"tag":546,"props":5710,"children":5711},{"style":558},[5712],{"type":398,"value":834},{"type":393,"tag":546,"props":5714,"children":5715},{"style":552},[5716],{"type":398,"value":1245},{"type":393,"tag":546,"props":5718,"children":5719},{"style":612},[5720],{"type":398,"value":1280},{"type":393,"tag":546,"props":5722,"children":5723},{"style":664},[5724],{"type":398,"value":1255},{"type":393,"tag":546,"props":5726,"children":5727},{"style":558},[5728],{"type":398,"value":5729},"col",{"type":393,"tag":546,"props":5731,"children":5732},{"style":664},[5733],{"type":398,"value":1275},{"type":393,"tag":546,"props":5735,"children":5736},{"style":612},[5737],{"type":398,"value":5110},{"type":393,"tag":546,"props":5739,"children":5740},{"style":664},[5741],{"type":398,"value":1255},{"type":393,"tag":546,"props":5743,"children":5744},{"style":558},[5745],{"type":398,"value":5746},"dtype",{"type":393,"tag":546,"props":5748,"children":5749},{"style":664},[5750],{"type":398,"value":1275},{"type":393,"tag":546,"props":5752,"children":5753},{"style":612},[5754],{"type":398,"value":5755}," | ",{"type":393,"tag":546,"props":5757,"children":5758},{"style":664},[5759],{"type":398,"value":1255},{"type":393,"tag":546,"props":5761,"children":5762},{"style":558},[5763],{"type":398,"value":5764},"unique",{"type":393,"tag":546,"props":5766,"children":5767},{"style":664},[5768],{"type":398,"value":1275},{"type":393,"tag":546,"props":5770,"children":5771},{"style":612},[5772],{"type":398,"value":5773}," unique | ",{"type":393,"tag":546,"props":5775,"children":5776},{"style":664},[5777],{"type":398,"value":1255},{"type":393,"tag":546,"props":5779,"children":5780},{"style":558},[5781],{"type":398,"value":5782},"missing",{"type":393,"tag":546,"props":5784,"children":5785},{"style":664},[5786],{"type":398,"value":1275},{"type":393,"tag":546,"props":5788,"children":5789},{"style":612},[5790],{"type":398,"value":5791}," missing\"",{"type":393,"tag":546,"props":5793,"children":5794},{"style":558},[5795],{"type":398,"value":844},{"type":393,"tag":546,"props":5797,"children":5798},{"class":548,"line":215},[5799],{"type":393,"tag":546,"props":5800,"children":5801},{"emptyLinePlaceholder":12},[5802],{"type":398,"value":579},{"type":393,"tag":546,"props":5804,"children":5805},{"class":548,"line":224},[5806,5810],{"type":393,"tag":546,"props":5807,"children":5808},{"style":664},[5809],{"type":398,"value":829},{"type":393,"tag":546,"props":5811,"children":5812},{"style":558},[5813],{"type":398,"value":868},{"type":393,"tag":546,"props":5815,"children":5816},{"class":548,"line":233},[5817,5821,5825,5830],{"type":393,"tag":546,"props":5818,"children":5819},{"style":664},[5820],{"type":398,"value":829},{"type":393,"tag":546,"props":5822,"children":5823},{"style":558},[5824],{"type":398,"value":834},{"type":393,"tag":546,"props":5826,"children":5827},{"style":612},[5828],{"type":398,"value":5829},"\"🔍 Detailed Analysis:\"",{"type":393,"tag":546,"props":5831,"children":5832},{"style":558},[5833],{"type":398,"value":844},{"type":393,"tag":546,"props":5835,"children":5836},{"class":548,"line":244},[5837,5841,5845,5849,5854,5858,5863,5868,5873,5877,5882,5886,5890,5894,5898,5902,5906],{"type":393,"tag":546,"props":5838,"children":5839},{"style":664},[5840],{"type":398,"value":829},{"type":393,"tag":546,"props":5842,"children":5843},{"style":558},[5844],{"type":398,"value":834},{"type":393,"tag":546,"props":5846,"children":5847},{"style":552},[5848],{"type":398,"value":1245},{"type":393,"tag":546,"props":5850,"children":5851},{"style":612},[5852],{"type":398,"value":5853},"\"💰 Purchase amounts: $",{"type":393,"tag":546,"props":5855,"children":5856},{"style":664},[5857],{"type":398,"value":1255},{"type":393,"tag":546,"props":5859,"children":5860},{"style":558},[5861],{"type":398,"value":5862},"practice[",{"type":393,"tag":546,"props":5864,"children":5865},{"style":612},[5866],{"type":398,"value":5867},"'purchase_amount'",{"type":393,"tag":546,"props":5869,"children":5870},{"style":558},[5871],{"type":398,"value":5872},"].min()",{"type":393,"tag":546,"props":5874,"children":5875},{"style":664},[5876],{"type":398,"value":1275},{"type":393,"tag":546,"props":5878,"children":5879},{"style":612},[5880],{"type":398,"value":5881}," - $",{"type":393,"tag":546,"props":5883,"children":5884},{"style":664},[5885],{"type":398,"value":1255},{"type":393,"tag":546,"props":5887,"children":5888},{"style":558},[5889],{"type":398,"value":5862},{"type":393,"tag":546,"props":5891,"children":5892},{"style":612},[5893],{"type":398,"value":5867},{"type":393,"tag":546,"props":5895,"children":5896},{"style":558},[5897],{"type":398,"value":1562},{"type":393,"tag":546,"props":5899,"children":5900},{"style":664},[5901],{"type":398,"value":1275},{"type":393,"tag":546,"props":5903,"children":5904},{"style":612},[5905],{"type":398,"value":1280},{"type":393,"tag":546,"props":5907,"children":5908},{"style":558},[5909],{"type":398,"value":844},{"type":393,"tag":546,"props":5911,"children":5912},{"class":548,"line":253},[5913,5917,5921,5925,5930,5934,5938,5943,5947,5952,5956,5960],{"type":393,"tag":546,"props":5914,"children":5915},{"style":664},[5916],{"type":398,"value":829},{"type":393,"tag":546,"props":5918,"children":5919},{"style":558},[5920],{"type":398,"value":834},{"type":393,"tag":546,"props":5922,"children":5923},{"style":552},[5924],{"type":398,"value":1245},{"type":393,"tag":546,"props":5926,"children":5927},{"style":612},[5928],{"type":398,"value":5929},"\"👥 Member percentage: ",{"type":393,"tag":546,"props":5931,"children":5932},{"style":664},[5933],{"type":398,"value":1255},{"type":393,"tag":546,"props":5935,"children":5936},{"style":558},[5937],{"type":398,"value":5862},{"type":393,"tag":546,"props":5939,"children":5940},{"style":612},[5941],{"type":398,"value":5942},"'is_member'",{"type":393,"tag":546,"props":5944,"children":5945},{"style":558},[5946],{"type":398,"value":1321},{"type":393,"tag":546,"props":5948,"children":5949},{"style":552},[5950],{"type":398,"value":5951},":.1%",{"type":393,"tag":546,"props":5953,"children":5954},{"style":664},[5955],{"type":398,"value":1275},{"type":393,"tag":546,"props":5957,"children":5958},{"style":612},[5959],{"type":398,"value":1280},{"type":393,"tag":546,"props":5961,"children":5962},{"style":558},[5963],{"type":398,"value":844},{"type":393,"tag":546,"props":5965,"children":5966},{"class":548,"line":262},[5967,5971,5975,5979,5984,5988,5992,5997,6002,6006,6010],{"type":393,"tag":546,"props":5968,"children":5969},{"style":664},[5970],{"type":398,"value":829},{"type":393,"tag":546,"props":5972,"children":5973},{"style":558},[5974],{"type":398,"value":834},{"type":393,"tag":546,"props":5976,"children":5977},{"style":552},[5978],{"type":398,"value":1245},{"type":393,"tag":546,"props":5980,"children":5981},{"style":612},[5982],{"type":398,"value":5983},"\"📦 Categories: ",{"type":393,"tag":546,"props":5985,"children":5986},{"style":664},[5987],{"type":398,"value":1255},{"type":393,"tag":546,"props":5989,"children":5990},{"style":558},[5991],{"type":398,"value":5862},{"type":393,"tag":546,"props":5993,"children":5994},{"style":612},[5995],{"type":398,"value":5996},"'product_category'",{"type":393,"tag":546,"props":5998,"children":5999},{"style":558},[6000],{"type":398,"value":6001},"].unique()",{"type":393,"tag":546,"props":6003,"children":6004},{"style":664},[6005],{"type":398,"value":1275},{"type":393,"tag":546,"props":6007,"children":6008},{"style":612},[6009],{"type":398,"value":1280},{"type":393,"tag":546,"props":6011,"children":6012},{"style":558},[6013],{"type":398,"value":844},{"type":393,"tag":519,"props":6015,"children":6017},{"id":6016},"whats-next",[6018],{"type":398,"value":6019},"🚀 What's Next?",{"type":393,"tag":401,"props":6021,"children":6022},{},[6023],{"type":398,"value":6024},"Perfect! You now understand how to explore columns and data types. Next, let's learn how to select and filter specific data from your DataFrames.",{"type":393,"tag":401,"props":6026,"children":6027},{},[6028,6033,6034],{"type":393,"tag":417,"props":6029,"children":6030},{},[6031],{"type":398,"value":6032},"Continue to",{"type":398,"value":5110},{"type":393,"tag":6035,"props":6036,"children":6037},"a",{"href":155},[6038],{"type":398,"value":156},{"type":393,"tag":401,"props":6040,"children":6041},{},[6042],{"type":398,"value":6043},"You're becoming a data type expert! 🔍🏷️",{"type":393,"tag":6045,"props":6046,"children":6047},"style",{},[6048],{"type":398,"value":6049},"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":6051},[6052,6053,6054,6055,6056,6057,6058,6059,6060,6061,6062],{"id":521,"depth":27,"text":524},{"id":960,"depth":27,"text":963},{"id":1577,"depth":27,"text":1580},{"id":2136,"depth":27,"text":2139},{"id":2714,"depth":27,"text":2717},{"id":3477,"depth":27,"text":3480},{"id":4139,"depth":27,"text":4142},{"id":4369,"depth":27,"text":4372},{"id":5025,"depth":27,"text":5028},{"id":5284,"depth":27,"text":5287},{"id":6016,"depth":27,"text":6019},1782373722121]