[{"data":1,"prerenderedAt":4941},["ShallowReactive",2],{"tutorials-pandas":3,"category-items-pandas":387,"content-/pandas/viewing-your-data":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",[116],{"_path":117,"_dir":23,"_draft":7,"_partial":7,"_locale":6,"title":118,"description":119,"slug":120,"parentId":106,"order":121,"body":389,"_type":14,"_id":122,"_source":16,"_file":123,"_stem":124,"_extension":19},{"type":390,"children":391,"toc":4925},"root",[392,401,407,458,465,470,891,897,902,1317,1323,1328,1815,1821,1826,2316,2322,2327,2334,2588,2594,3000,3006,3171,3177,3182,3587,3593,3598,4007,4013,4230,4236,4241,4888,4894,4899,4914,4919],{"type":393,"tag":394,"props":395,"children":397},"element","h1",{"id":396},"️-viewing-your-data",[398],{"type":399,"value":400},"text","👁️ Viewing Your Data",{"type":393,"tag":402,"props":403,"children":404},"p",{},[405],{"type":399,"value":406},"Looking at your data is the first step in understanding it! Pandas gives you many ways to peek at your DataFrame - from the beginning, end, middle, or just random samples. Let's learn the best ways to view your data.",{"type":393,"tag":408,"props":409,"children":413},"info-box",{"emoji":410,"title":411,"type":412},"👀","Why View Your Data?","info",[414,423,448],{"type":393,"tag":402,"props":415,"children":416},{},[417],{"type":393,"tag":418,"props":419,"children":420},"strong",{},[421],{"type":399,"value":422},"Viewing Shows You:",{"type":393,"tag":424,"props":425,"children":426},"ul",{},[427,433,438,443],{"type":393,"tag":428,"props":429,"children":430},"li",{},[431],{"type":399,"value":432},"What your data actually looks like",{"type":393,"tag":428,"props":434,"children":435},{},[436],{"type":399,"value":437},"If there are obvious errors or patterns",{"type":393,"tag":428,"props":439,"children":440},{},[441],{"type":399,"value":442},"How the data is structured",{"type":393,"tag":428,"props":444,"children":445},{},[446],{"type":399,"value":447},"Whether it loaded correctly",{"type":393,"tag":402,"props":449,"children":450},{},[451,456],{"type":393,"tag":418,"props":452,"children":453},{},[454],{"type":399,"value":455},"Think of it like:",{"type":399,"value":457}," Flipping through a book before reading - you get a sense of what's inside!",{"type":393,"tag":459,"props":460,"children":462},"h2",{"id":461},"basic-data-viewing",[463],{"type":399,"value":464},"📖 Basic Data Viewing",{"type":393,"tag":402,"props":466,"children":467},{},[468],{"type":399,"value":469},"The most essential commands for looking at your data:",{"type":393,"tag":471,"props":472,"children":473},"code-try",{},[474],{"type":393,"tag":475,"props":476,"children":480},"pre",{"className":477,"code":478,"language":479,"meta":6,"style":6},"language-python shiki shiki-themes github-light github-dark","import pandas as pd\n\n# Sample dataset\nproducts = pd.DataFrame({\n    'name': ['Laptop', 'Mouse', 'Keyboard', 'Monitor', 'Tablet'],\n    'price': [999, 25, 75, 300, 450],\n    'category': ['Computer', 'Accessory', 'Accessory', 'Computer', 'Computer']\n})\n\nprint(\"First 3 rows:\")\nprint(products.head(3))\nprint()\n\nprint(\"Last 2 rows:\")\nprint(products.tail(2))\nprint()\n\nprint(\"All data:\")\nprint(products)\n","python",[481],{"type":393,"tag":482,"props":483,"children":484},"code",{"__ignoreMap":6},[485,512,520,529,547,608,666,721,729,736,759,781,793,800,820,841,852,859,879],{"type":393,"tag":486,"props":487,"children":489},"span",{"class":488,"line":11},"line",[490,496,502,507],{"type":393,"tag":486,"props":491,"children":493},{"style":492},"--shiki-default:#D73A49;--shiki-app-dark-mode:#F97583",[494],{"type":399,"value":495},"import",{"type":393,"tag":486,"props":497,"children":499},{"style":498},"--shiki-default:#24292E;--shiki-app-dark-mode:#E1E4E8",[500],{"type":399,"value":501}," pandas ",{"type":393,"tag":486,"props":503,"children":504},{"style":492},[505],{"type":399,"value":506},"as",{"type":393,"tag":486,"props":508,"children":509},{"style":498},[510],{"type":399,"value":511}," pd\n",{"type":393,"tag":486,"props":513,"children":514},{"class":488,"line":27},[515],{"type":393,"tag":486,"props":516,"children":517},{"emptyLinePlaceholder":12},[518],{"type":399,"value":519},"\n",{"type":393,"tag":486,"props":521,"children":522},{"class":488,"line":36},[523],{"type":393,"tag":486,"props":524,"children":526},{"style":525},"--shiki-default:#6A737D;--shiki-app-dark-mode:#6A737D",[527],{"type":399,"value":528},"# Sample dataset\n",{"type":393,"tag":486,"props":530,"children":531},{"class":488,"line":45},[532,537,542],{"type":393,"tag":486,"props":533,"children":534},{"style":498},[535],{"type":399,"value":536},"products ",{"type":393,"tag":486,"props":538,"children":539},{"style":492},[540],{"type":399,"value":541},"=",{"type":393,"tag":486,"props":543,"children":544},{"style":498},[545],{"type":399,"value":546}," pd.DataFrame({\n",{"type":393,"tag":486,"props":548,"children":549},{"class":488,"line":54},[550,556,561,566,571,576,580,585,589,594,598,603],{"type":393,"tag":486,"props":551,"children":553},{"style":552},"--shiki-default:#032F62;--shiki-app-dark-mode:#9ECBFF",[554],{"type":399,"value":555},"    'name'",{"type":393,"tag":486,"props":557,"children":558},{"style":498},[559],{"type":399,"value":560},": [",{"type":393,"tag":486,"props":562,"children":563},{"style":552},[564],{"type":399,"value":565},"'Laptop'",{"type":393,"tag":486,"props":567,"children":568},{"style":498},[569],{"type":399,"value":570},", ",{"type":393,"tag":486,"props":572,"children":573},{"style":552},[574],{"type":399,"value":575},"'Mouse'",{"type":393,"tag":486,"props":577,"children":578},{"style":498},[579],{"type":399,"value":570},{"type":393,"tag":486,"props":581,"children":582},{"style":552},[583],{"type":399,"value":584},"'Keyboard'",{"type":393,"tag":486,"props":586,"children":587},{"style":498},[588],{"type":399,"value":570},{"type":393,"tag":486,"props":590,"children":591},{"style":552},[592],{"type":399,"value":593},"'Monitor'",{"type":393,"tag":486,"props":595,"children":596},{"style":498},[597],{"type":399,"value":570},{"type":393,"tag":486,"props":599,"children":600},{"style":552},[601],{"type":399,"value":602},"'Tablet'",{"type":393,"tag":486,"props":604,"children":605},{"style":498},[606],{"type":399,"value":607},"],\n",{"type":393,"tag":486,"props":609,"children":610},{"class":488,"line":63},[611,616,620,626,630,635,639,644,648,653,657,662],{"type":393,"tag":486,"props":612,"children":613},{"style":552},[614],{"type":399,"value":615},"    'price'",{"type":393,"tag":486,"props":617,"children":618},{"style":498},[619],{"type":399,"value":560},{"type":393,"tag":486,"props":621,"children":623},{"style":622},"--shiki-default:#005CC5;--shiki-app-dark-mode:#79B8FF",[624],{"type":399,"value":625},"999",{"type":393,"tag":486,"props":627,"children":628},{"style":498},[629],{"type":399,"value":570},{"type":393,"tag":486,"props":631,"children":632},{"style":622},[633],{"type":399,"value":634},"25",{"type":393,"tag":486,"props":636,"children":637},{"style":498},[638],{"type":399,"value":570},{"type":393,"tag":486,"props":640,"children":641},{"style":622},[642],{"type":399,"value":643},"75",{"type":393,"tag":486,"props":645,"children":646},{"style":498},[647],{"type":399,"value":570},{"type":393,"tag":486,"props":649,"children":650},{"style":622},[651],{"type":399,"value":652},"300",{"type":393,"tag":486,"props":654,"children":655},{"style":498},[656],{"type":399,"value":570},{"type":393,"tag":486,"props":658,"children":659},{"style":622},[660],{"type":399,"value":661},"450",{"type":393,"tag":486,"props":663,"children":664},{"style":498},[665],{"type":399,"value":607},{"type":393,"tag":486,"props":667,"children":668},{"class":488,"line":72},[669,674,678,683,687,692,696,700,704,708,712,716],{"type":393,"tag":486,"props":670,"children":671},{"style":552},[672],{"type":399,"value":673},"    'category'",{"type":393,"tag":486,"props":675,"children":676},{"style":498},[677],{"type":399,"value":560},{"type":393,"tag":486,"props":679,"children":680},{"style":552},[681],{"type":399,"value":682},"'Computer'",{"type":393,"tag":486,"props":684,"children":685},{"style":498},[686],{"type":399,"value":570},{"type":393,"tag":486,"props":688,"children":689},{"style":552},[690],{"type":399,"value":691},"'Accessory'",{"type":393,"tag":486,"props":693,"children":694},{"style":498},[695],{"type":399,"value":570},{"type":393,"tag":486,"props":697,"children":698},{"style":552},[699],{"type":399,"value":691},{"type":393,"tag":486,"props":701,"children":702},{"style":498},[703],{"type":399,"value":570},{"type":393,"tag":486,"props":705,"children":706},{"style":552},[707],{"type":399,"value":682},{"type":393,"tag":486,"props":709,"children":710},{"style":498},[711],{"type":399,"value":570},{"type":393,"tag":486,"props":713,"children":714},{"style":552},[715],{"type":399,"value":682},{"type":393,"tag":486,"props":717,"children":718},{"style":498},[719],{"type":399,"value":720},"]\n",{"type":393,"tag":486,"props":722,"children":723},{"class":488,"line":83},[724],{"type":393,"tag":486,"props":725,"children":726},{"style":498},[727],{"type":399,"value":728},"})\n",{"type":393,"tag":486,"props":730,"children":731},{"class":488,"line":92},[732],{"type":393,"tag":486,"props":733,"children":734},{"emptyLinePlaceholder":12},[735],{"type":399,"value":519},{"type":393,"tag":486,"props":737,"children":738},{"class":488,"line":101},[739,744,749,754],{"type":393,"tag":486,"props":740,"children":741},{"style":622},[742],{"type":399,"value":743},"print",{"type":393,"tag":486,"props":745,"children":746},{"style":498},[747],{"type":399,"value":748},"(",{"type":393,"tag":486,"props":750,"children":751},{"style":552},[752],{"type":399,"value":753},"\"First 3 rows:\"",{"type":393,"tag":486,"props":755,"children":756},{"style":498},[757],{"type":399,"value":758},")\n",{"type":393,"tag":486,"props":760,"children":761},{"class":488,"line":110},[762,766,771,776],{"type":393,"tag":486,"props":763,"children":764},{"style":622},[765],{"type":399,"value":743},{"type":393,"tag":486,"props":767,"children":768},{"style":498},[769],{"type":399,"value":770},"(products.head(",{"type":393,"tag":486,"props":772,"children":773},{"style":622},[774],{"type":399,"value":775},"3",{"type":393,"tag":486,"props":777,"children":778},{"style":498},[779],{"type":399,"value":780},"))\n",{"type":393,"tag":486,"props":782,"children":783},{"class":488,"line":121},[784,788],{"type":393,"tag":486,"props":785,"children":786},{"style":622},[787],{"type":399,"value":743},{"type":393,"tag":486,"props":789,"children":790},{"style":498},[791],{"type":399,"value":792},"()\n",{"type":393,"tag":486,"props":794,"children":795},{"class":488,"line":130},[796],{"type":393,"tag":486,"props":797,"children":798},{"emptyLinePlaceholder":12},[799],{"type":399,"value":519},{"type":393,"tag":486,"props":801,"children":802},{"class":488,"line":139},[803,807,811,816],{"type":393,"tag":486,"props":804,"children":805},{"style":622},[806],{"type":399,"value":743},{"type":393,"tag":486,"props":808,"children":809},{"style":498},[810],{"type":399,"value":748},{"type":393,"tag":486,"props":812,"children":813},{"style":552},[814],{"type":399,"value":815},"\"Last 2 rows:\"",{"type":393,"tag":486,"props":817,"children":818},{"style":498},[819],{"type":399,"value":758},{"type":393,"tag":486,"props":821,"children":822},{"class":488,"line":148},[823,827,832,837],{"type":393,"tag":486,"props":824,"children":825},{"style":622},[826],{"type":399,"value":743},{"type":393,"tag":486,"props":828,"children":829},{"style":498},[830],{"type":399,"value":831},"(products.tail(",{"type":393,"tag":486,"props":833,"children":834},{"style":622},[835],{"type":399,"value":836},"2",{"type":393,"tag":486,"props":838,"children":839},{"style":498},[840],{"type":399,"value":780},{"type":393,"tag":486,"props":842,"children":843},{"class":488,"line":159},[844,848],{"type":393,"tag":486,"props":845,"children":846},{"style":622},[847],{"type":399,"value":743},{"type":393,"tag":486,"props":849,"children":850},{"style":498},[851],{"type":399,"value":792},{"type":393,"tag":486,"props":853,"children":854},{"class":488,"line":168},[855],{"type":393,"tag":486,"props":856,"children":857},{"emptyLinePlaceholder":12},[858],{"type":399,"value":519},{"type":393,"tag":486,"props":860,"children":861},{"class":488,"line":177},[862,866,870,875],{"type":393,"tag":486,"props":863,"children":864},{"style":622},[865],{"type":399,"value":743},{"type":393,"tag":486,"props":867,"children":868},{"style":498},[869],{"type":399,"value":748},{"type":393,"tag":486,"props":871,"children":872},{"style":552},[873],{"type":399,"value":874},"\"All data:\"",{"type":393,"tag":486,"props":876,"children":877},{"style":498},[878],{"type":399,"value":758},{"type":393,"tag":486,"props":880,"children":881},{"class":488,"line":186},[882,886],{"type":393,"tag":486,"props":883,"children":884},{"style":622},[885],{"type":399,"value":743},{"type":393,"tag":486,"props":887,"children":888},{"style":498},[889],{"type":399,"value":890},"(products)\n",{"type":393,"tag":459,"props":892,"children":894},{"id":893},"random-sampling",[895],{"type":399,"value":896},"🎲 Random Sampling",{"type":393,"tag":402,"props":898,"children":899},{},[900],{"type":399,"value":901},"Sometimes you want to see random parts of your data:",{"type":393,"tag":471,"props":903,"children":904},{},[905],{"type":393,"tag":475,"props":906,"children":908},{"className":477,"code":907,"language":479,"meta":6,"style":6},"import pandas as pd\n\n# Larger dataset to sample from\nstudents = pd.DataFrame({\n    'name': ['Alice', 'Bob', 'Charlie', 'Diana', 'Eve', 'Frank'],\n    'grade': ['A', 'B', 'A', 'C', 'B', 'A'],\n    'score': [85, 78, 92, 69, 81, 88]\n})\n\nprint(\"Original data:\")\nprint(students)\nprint()\n\nprint(\"Random 2 students:\")\nprint(students.sample(2))\nprint()\n\nprint(\"Random 3 students (different each time):\")\nprint(students.sample(3))\n",[909],{"type":393,"tag":482,"props":910,"children":911},{"__ignoreMap":6},[912,931,938,946,962,1027,1090,1156,1163,1170,1190,1202,1213,1220,1240,1260,1271,1278,1298],{"type":393,"tag":486,"props":913,"children":914},{"class":488,"line":11},[915,919,923,927],{"type":393,"tag":486,"props":916,"children":917},{"style":492},[918],{"type":399,"value":495},{"type":393,"tag":486,"props":920,"children":921},{"style":498},[922],{"type":399,"value":501},{"type":393,"tag":486,"props":924,"children":925},{"style":492},[926],{"type":399,"value":506},{"type":393,"tag":486,"props":928,"children":929},{"style":498},[930],{"type":399,"value":511},{"type":393,"tag":486,"props":932,"children":933},{"class":488,"line":27},[934],{"type":393,"tag":486,"props":935,"children":936},{"emptyLinePlaceholder":12},[937],{"type":399,"value":519},{"type":393,"tag":486,"props":939,"children":940},{"class":488,"line":36},[941],{"type":393,"tag":486,"props":942,"children":943},{"style":525},[944],{"type":399,"value":945},"# Larger dataset to sample from\n",{"type":393,"tag":486,"props":947,"children":948},{"class":488,"line":45},[949,954,958],{"type":393,"tag":486,"props":950,"children":951},{"style":498},[952],{"type":399,"value":953},"students ",{"type":393,"tag":486,"props":955,"children":956},{"style":492},[957],{"type":399,"value":541},{"type":393,"tag":486,"props":959,"children":960},{"style":498},[961],{"type":399,"value":546},{"type":393,"tag":486,"props":963,"children":964},{"class":488,"line":54},[965,969,973,978,982,987,991,996,1000,1005,1009,1014,1018,1023],{"type":393,"tag":486,"props":966,"children":967},{"style":552},[968],{"type":399,"value":555},{"type":393,"tag":486,"props":970,"children":971},{"style":498},[972],{"type":399,"value":560},{"type":393,"tag":486,"props":974,"children":975},{"style":552},[976],{"type":399,"value":977},"'Alice'",{"type":393,"tag":486,"props":979,"children":980},{"style":498},[981],{"type":399,"value":570},{"type":393,"tag":486,"props":983,"children":984},{"style":552},[985],{"type":399,"value":986},"'Bob'",{"type":393,"tag":486,"props":988,"children":989},{"style":498},[990],{"type":399,"value":570},{"type":393,"tag":486,"props":992,"children":993},{"style":552},[994],{"type":399,"value":995},"'Charlie'",{"type":393,"tag":486,"props":997,"children":998},{"style":498},[999],{"type":399,"value":570},{"type":393,"tag":486,"props":1001,"children":1002},{"style":552},[1003],{"type":399,"value":1004},"'Diana'",{"type":393,"tag":486,"props":1006,"children":1007},{"style":498},[1008],{"type":399,"value":570},{"type":393,"tag":486,"props":1010,"children":1011},{"style":552},[1012],{"type":399,"value":1013},"'Eve'",{"type":393,"tag":486,"props":1015,"children":1016},{"style":498},[1017],{"type":399,"value":570},{"type":393,"tag":486,"props":1019,"children":1020},{"style":552},[1021],{"type":399,"value":1022},"'Frank'",{"type":393,"tag":486,"props":1024,"children":1025},{"style":498},[1026],{"type":399,"value":607},{"type":393,"tag":486,"props":1028,"children":1029},{"class":488,"line":63},[1030,1035,1039,1044,1048,1053,1057,1061,1065,1070,1074,1078,1082,1086],{"type":393,"tag":486,"props":1031,"children":1032},{"style":552},[1033],{"type":399,"value":1034},"    'grade'",{"type":393,"tag":486,"props":1036,"children":1037},{"style":498},[1038],{"type":399,"value":560},{"type":393,"tag":486,"props":1040,"children":1041},{"style":552},[1042],{"type":399,"value":1043},"'A'",{"type":393,"tag":486,"props":1045,"children":1046},{"style":498},[1047],{"type":399,"value":570},{"type":393,"tag":486,"props":1049,"children":1050},{"style":552},[1051],{"type":399,"value":1052},"'B'",{"type":393,"tag":486,"props":1054,"children":1055},{"style":498},[1056],{"type":399,"value":570},{"type":393,"tag":486,"props":1058,"children":1059},{"style":552},[1060],{"type":399,"value":1043},{"type":393,"tag":486,"props":1062,"children":1063},{"style":498},[1064],{"type":399,"value":570},{"type":393,"tag":486,"props":1066,"children":1067},{"style":552},[1068],{"type":399,"value":1069},"'C'",{"type":393,"tag":486,"props":1071,"children":1072},{"style":498},[1073],{"type":399,"value":570},{"type":393,"tag":486,"props":1075,"children":1076},{"style":552},[1077],{"type":399,"value":1052},{"type":393,"tag":486,"props":1079,"children":1080},{"style":498},[1081],{"type":399,"value":570},{"type":393,"tag":486,"props":1083,"children":1084},{"style":552},[1085],{"type":399,"value":1043},{"type":393,"tag":486,"props":1087,"children":1088},{"style":498},[1089],{"type":399,"value":607},{"type":393,"tag":486,"props":1091,"children":1092},{"class":488,"line":72},[1093,1098,1102,1107,1111,1116,1120,1125,1129,1134,1138,1143,1147,1152],{"type":393,"tag":486,"props":1094,"children":1095},{"style":552},[1096],{"type":399,"value":1097},"    'score'",{"type":393,"tag":486,"props":1099,"children":1100},{"style":498},[1101],{"type":399,"value":560},{"type":393,"tag":486,"props":1103,"children":1104},{"style":622},[1105],{"type":399,"value":1106},"85",{"type":393,"tag":486,"props":1108,"children":1109},{"style":498},[1110],{"type":399,"value":570},{"type":393,"tag":486,"props":1112,"children":1113},{"style":622},[1114],{"type":399,"value":1115},"78",{"type":393,"tag":486,"props":1117,"children":1118},{"style":498},[1119],{"type":399,"value":570},{"type":393,"tag":486,"props":1121,"children":1122},{"style":622},[1123],{"type":399,"value":1124},"92",{"type":393,"tag":486,"props":1126,"children":1127},{"style":498},[1128],{"type":399,"value":570},{"type":393,"tag":486,"props":1130,"children":1131},{"style":622},[1132],{"type":399,"value":1133},"69",{"type":393,"tag":486,"props":1135,"children":1136},{"style":498},[1137],{"type":399,"value":570},{"type":393,"tag":486,"props":1139,"children":1140},{"style":622},[1141],{"type":399,"value":1142},"81",{"type":393,"tag":486,"props":1144,"children":1145},{"style":498},[1146],{"type":399,"value":570},{"type":393,"tag":486,"props":1148,"children":1149},{"style":622},[1150],{"type":399,"value":1151},"88",{"type":393,"tag":486,"props":1153,"children":1154},{"style":498},[1155],{"type":399,"value":720},{"type":393,"tag":486,"props":1157,"children":1158},{"class":488,"line":83},[1159],{"type":393,"tag":486,"props":1160,"children":1161},{"style":498},[1162],{"type":399,"value":728},{"type":393,"tag":486,"props":1164,"children":1165},{"class":488,"line":92},[1166],{"type":393,"tag":486,"props":1167,"children":1168},{"emptyLinePlaceholder":12},[1169],{"type":399,"value":519},{"type":393,"tag":486,"props":1171,"children":1172},{"class":488,"line":101},[1173,1177,1181,1186],{"type":393,"tag":486,"props":1174,"children":1175},{"style":622},[1176],{"type":399,"value":743},{"type":393,"tag":486,"props":1178,"children":1179},{"style":498},[1180],{"type":399,"value":748},{"type":393,"tag":486,"props":1182,"children":1183},{"style":552},[1184],{"type":399,"value":1185},"\"Original data:\"",{"type":393,"tag":486,"props":1187,"children":1188},{"style":498},[1189],{"type":399,"value":758},{"type":393,"tag":486,"props":1191,"children":1192},{"class":488,"line":110},[1193,1197],{"type":393,"tag":486,"props":1194,"children":1195},{"style":622},[1196],{"type":399,"value":743},{"type":393,"tag":486,"props":1198,"children":1199},{"style":498},[1200],{"type":399,"value":1201},"(students)\n",{"type":393,"tag":486,"props":1203,"children":1204},{"class":488,"line":121},[1205,1209],{"type":393,"tag":486,"props":1206,"children":1207},{"style":622},[1208],{"type":399,"value":743},{"type":393,"tag":486,"props":1210,"children":1211},{"style":498},[1212],{"type":399,"value":792},{"type":393,"tag":486,"props":1214,"children":1215},{"class":488,"line":130},[1216],{"type":393,"tag":486,"props":1217,"children":1218},{"emptyLinePlaceholder":12},[1219],{"type":399,"value":519},{"type":393,"tag":486,"props":1221,"children":1222},{"class":488,"line":139},[1223,1227,1231,1236],{"type":393,"tag":486,"props":1224,"children":1225},{"style":622},[1226],{"type":399,"value":743},{"type":393,"tag":486,"props":1228,"children":1229},{"style":498},[1230],{"type":399,"value":748},{"type":393,"tag":486,"props":1232,"children":1233},{"style":552},[1234],{"type":399,"value":1235},"\"Random 2 students:\"",{"type":393,"tag":486,"props":1237,"children":1238},{"style":498},[1239],{"type":399,"value":758},{"type":393,"tag":486,"props":1241,"children":1242},{"class":488,"line":148},[1243,1247,1252,1256],{"type":393,"tag":486,"props":1244,"children":1245},{"style":622},[1246],{"type":399,"value":743},{"type":393,"tag":486,"props":1248,"children":1249},{"style":498},[1250],{"type":399,"value":1251},"(students.sample(",{"type":393,"tag":486,"props":1253,"children":1254},{"style":622},[1255],{"type":399,"value":836},{"type":393,"tag":486,"props":1257,"children":1258},{"style":498},[1259],{"type":399,"value":780},{"type":393,"tag":486,"props":1261,"children":1262},{"class":488,"line":159},[1263,1267],{"type":393,"tag":486,"props":1264,"children":1265},{"style":622},[1266],{"type":399,"value":743},{"type":393,"tag":486,"props":1268,"children":1269},{"style":498},[1270],{"type":399,"value":792},{"type":393,"tag":486,"props":1272,"children":1273},{"class":488,"line":168},[1274],{"type":393,"tag":486,"props":1275,"children":1276},{"emptyLinePlaceholder":12},[1277],{"type":399,"value":519},{"type":393,"tag":486,"props":1279,"children":1280},{"class":488,"line":177},[1281,1285,1289,1294],{"type":393,"tag":486,"props":1282,"children":1283},{"style":622},[1284],{"type":399,"value":743},{"type":393,"tag":486,"props":1286,"children":1287},{"style":498},[1288],{"type":399,"value":748},{"type":393,"tag":486,"props":1290,"children":1291},{"style":552},[1292],{"type":399,"value":1293},"\"Random 3 students (different each time):\"",{"type":393,"tag":486,"props":1295,"children":1296},{"style":498},[1297],{"type":399,"value":758},{"type":393,"tag":486,"props":1299,"children":1300},{"class":488,"line":186},[1301,1305,1309,1313],{"type":393,"tag":486,"props":1302,"children":1303},{"style":622},[1304],{"type":399,"value":743},{"type":393,"tag":486,"props":1306,"children":1307},{"style":498},[1308],{"type":399,"value":1251},{"type":393,"tag":486,"props":1310,"children":1311},{"style":622},[1312],{"type":399,"value":775},{"type":393,"tag":486,"props":1314,"children":1315},{"style":498},[1316],{"type":399,"value":780},{"type":393,"tag":459,"props":1318,"children":1320},{"id":1319},"viewing-specific-parts",[1321],{"type":399,"value":1322},"🔍 Viewing Specific Parts",{"type":393,"tag":402,"props":1324,"children":1325},{},[1326],{"type":399,"value":1327},"Target exactly what you want to see:",{"type":393,"tag":471,"props":1329,"children":1330},{},[1331],{"type":393,"tag":475,"props":1332,"children":1334},{"className":477,"code":1333,"language":479,"meta":6,"style":6},"import pandas as pd\n\n# Survey responses\nsurvey = pd.DataFrame({\n    'respondent': [1, 2, 3, 4, 5],\n    'age': [25, 34, 28, 45, 31],\n    'satisfaction': [4, 5, 3, 4, 5],\n    'city': ['NYC', 'LA', 'Chicago', 'NYC', 'Boston']\n})\n\nprint(\"Specific rows (0, 2, 4):\")\nprint(survey.iloc[[0, 2, 4]])\nprint()\n\nprint(\"Middle section (rows 1-3):\")\nprint(survey.iloc[1:4])\nprint()\n\nprint(\"Specific columns:\")\nprint(survey[['age', 'satisfaction']])\n",[1335],{"type":393,"tag":482,"props":1336,"children":1337},{"__ignoreMap":6},[1338,1357,1364,1372,1388,1443,1499,1551,1607,1614,1621,1641,1679,1690,1697,1717,1747,1758,1765,1785],{"type":393,"tag":486,"props":1339,"children":1340},{"class":488,"line":11},[1341,1345,1349,1353],{"type":393,"tag":486,"props":1342,"children":1343},{"style":492},[1344],{"type":399,"value":495},{"type":393,"tag":486,"props":1346,"children":1347},{"style":498},[1348],{"type":399,"value":501},{"type":393,"tag":486,"props":1350,"children":1351},{"style":492},[1352],{"type":399,"value":506},{"type":393,"tag":486,"props":1354,"children":1355},{"style":498},[1356],{"type":399,"value":511},{"type":393,"tag":486,"props":1358,"children":1359},{"class":488,"line":27},[1360],{"type":393,"tag":486,"props":1361,"children":1362},{"emptyLinePlaceholder":12},[1363],{"type":399,"value":519},{"type":393,"tag":486,"props":1365,"children":1366},{"class":488,"line":36},[1367],{"type":393,"tag":486,"props":1368,"children":1369},{"style":525},[1370],{"type":399,"value":1371},"# Survey responses\n",{"type":393,"tag":486,"props":1373,"children":1374},{"class":488,"line":45},[1375,1380,1384],{"type":393,"tag":486,"props":1376,"children":1377},{"style":498},[1378],{"type":399,"value":1379},"survey ",{"type":393,"tag":486,"props":1381,"children":1382},{"style":492},[1383],{"type":399,"value":541},{"type":393,"tag":486,"props":1385,"children":1386},{"style":498},[1387],{"type":399,"value":546},{"type":393,"tag":486,"props":1389,"children":1390},{"class":488,"line":54},[1391,1396,1400,1405,1409,1413,1417,1421,1425,1430,1434,1439],{"type":393,"tag":486,"props":1392,"children":1393},{"style":552},[1394],{"type":399,"value":1395},"    'respondent'",{"type":393,"tag":486,"props":1397,"children":1398},{"style":498},[1399],{"type":399,"value":560},{"type":393,"tag":486,"props":1401,"children":1402},{"style":622},[1403],{"type":399,"value":1404},"1",{"type":393,"tag":486,"props":1406,"children":1407},{"style":498},[1408],{"type":399,"value":570},{"type":393,"tag":486,"props":1410,"children":1411},{"style":622},[1412],{"type":399,"value":836},{"type":393,"tag":486,"props":1414,"children":1415},{"style":498},[1416],{"type":399,"value":570},{"type":393,"tag":486,"props":1418,"children":1419},{"style":622},[1420],{"type":399,"value":775},{"type":393,"tag":486,"props":1422,"children":1423},{"style":498},[1424],{"type":399,"value":570},{"type":393,"tag":486,"props":1426,"children":1427},{"style":622},[1428],{"type":399,"value":1429},"4",{"type":393,"tag":486,"props":1431,"children":1432},{"style":498},[1433],{"type":399,"value":570},{"type":393,"tag":486,"props":1435,"children":1436},{"style":622},[1437],{"type":399,"value":1438},"5",{"type":393,"tag":486,"props":1440,"children":1441},{"style":498},[1442],{"type":399,"value":607},{"type":393,"tag":486,"props":1444,"children":1445},{"class":488,"line":63},[1446,1451,1455,1459,1463,1468,1472,1477,1481,1486,1490,1495],{"type":393,"tag":486,"props":1447,"children":1448},{"style":552},[1449],{"type":399,"value":1450},"    'age'",{"type":393,"tag":486,"props":1452,"children":1453},{"style":498},[1454],{"type":399,"value":560},{"type":393,"tag":486,"props":1456,"children":1457},{"style":622},[1458],{"type":399,"value":634},{"type":393,"tag":486,"props":1460,"children":1461},{"style":498},[1462],{"type":399,"value":570},{"type":393,"tag":486,"props":1464,"children":1465},{"style":622},[1466],{"type":399,"value":1467},"34",{"type":393,"tag":486,"props":1469,"children":1470},{"style":498},[1471],{"type":399,"value":570},{"type":393,"tag":486,"props":1473,"children":1474},{"style":622},[1475],{"type":399,"value":1476},"28",{"type":393,"tag":486,"props":1478,"children":1479},{"style":498},[1480],{"type":399,"value":570},{"type":393,"tag":486,"props":1482,"children":1483},{"style":622},[1484],{"type":399,"value":1485},"45",{"type":393,"tag":486,"props":1487,"children":1488},{"style":498},[1489],{"type":399,"value":570},{"type":393,"tag":486,"props":1491,"children":1492},{"style":622},[1493],{"type":399,"value":1494},"31",{"type":393,"tag":486,"props":1496,"children":1497},{"style":498},[1498],{"type":399,"value":607},{"type":393,"tag":486,"props":1500,"children":1501},{"class":488,"line":72},[1502,1507,1511,1515,1519,1523,1527,1531,1535,1539,1543,1547],{"type":393,"tag":486,"props":1503,"children":1504},{"style":552},[1505],{"type":399,"value":1506},"    'satisfaction'",{"type":393,"tag":486,"props":1508,"children":1509},{"style":498},[1510],{"type":399,"value":560},{"type":393,"tag":486,"props":1512,"children":1513},{"style":622},[1514],{"type":399,"value":1429},{"type":393,"tag":486,"props":1516,"children":1517},{"style":498},[1518],{"type":399,"value":570},{"type":393,"tag":486,"props":1520,"children":1521},{"style":622},[1522],{"type":399,"value":1438},{"type":393,"tag":486,"props":1524,"children":1525},{"style":498},[1526],{"type":399,"value":570},{"type":393,"tag":486,"props":1528,"children":1529},{"style":622},[1530],{"type":399,"value":775},{"type":393,"tag":486,"props":1532,"children":1533},{"style":498},[1534],{"type":399,"value":570},{"type":393,"tag":486,"props":1536,"children":1537},{"style":622},[1538],{"type":399,"value":1429},{"type":393,"tag":486,"props":1540,"children":1541},{"style":498},[1542],{"type":399,"value":570},{"type":393,"tag":486,"props":1544,"children":1545},{"style":622},[1546],{"type":399,"value":1438},{"type":393,"tag":486,"props":1548,"children":1549},{"style":498},[1550],{"type":399,"value":607},{"type":393,"tag":486,"props":1552,"children":1553},{"class":488,"line":83},[1554,1559,1563,1568,1572,1577,1581,1586,1590,1594,1598,1603],{"type":393,"tag":486,"props":1555,"children":1556},{"style":552},[1557],{"type":399,"value":1558},"    'city'",{"type":393,"tag":486,"props":1560,"children":1561},{"style":498},[1562],{"type":399,"value":560},{"type":393,"tag":486,"props":1564,"children":1565},{"style":552},[1566],{"type":399,"value":1567},"'NYC'",{"type":393,"tag":486,"props":1569,"children":1570},{"style":498},[1571],{"type":399,"value":570},{"type":393,"tag":486,"props":1573,"children":1574},{"style":552},[1575],{"type":399,"value":1576},"'LA'",{"type":393,"tag":486,"props":1578,"children":1579},{"style":498},[1580],{"type":399,"value":570},{"type":393,"tag":486,"props":1582,"children":1583},{"style":552},[1584],{"type":399,"value":1585},"'Chicago'",{"type":393,"tag":486,"props":1587,"children":1588},{"style":498},[1589],{"type":399,"value":570},{"type":393,"tag":486,"props":1591,"children":1592},{"style":552},[1593],{"type":399,"value":1567},{"type":393,"tag":486,"props":1595,"children":1596},{"style":498},[1597],{"type":399,"value":570},{"type":393,"tag":486,"props":1599,"children":1600},{"style":552},[1601],{"type":399,"value":1602},"'Boston'",{"type":393,"tag":486,"props":1604,"children":1605},{"style":498},[1606],{"type":399,"value":720},{"type":393,"tag":486,"props":1608,"children":1609},{"class":488,"line":92},[1610],{"type":393,"tag":486,"props":1611,"children":1612},{"style":498},[1613],{"type":399,"value":728},{"type":393,"tag":486,"props":1615,"children":1616},{"class":488,"line":101},[1617],{"type":393,"tag":486,"props":1618,"children":1619},{"emptyLinePlaceholder":12},[1620],{"type":399,"value":519},{"type":393,"tag":486,"props":1622,"children":1623},{"class":488,"line":110},[1624,1628,1632,1637],{"type":393,"tag":486,"props":1625,"children":1626},{"style":622},[1627],{"type":399,"value":743},{"type":393,"tag":486,"props":1629,"children":1630},{"style":498},[1631],{"type":399,"value":748},{"type":393,"tag":486,"props":1633,"children":1634},{"style":552},[1635],{"type":399,"value":1636},"\"Specific rows (0, 2, 4):\"",{"type":393,"tag":486,"props":1638,"children":1639},{"style":498},[1640],{"type":399,"value":758},{"type":393,"tag":486,"props":1642,"children":1643},{"class":488,"line":121},[1644,1648,1653,1658,1662,1666,1670,1674],{"type":393,"tag":486,"props":1645,"children":1646},{"style":622},[1647],{"type":399,"value":743},{"type":393,"tag":486,"props":1649,"children":1650},{"style":498},[1651],{"type":399,"value":1652},"(survey.iloc[[",{"type":393,"tag":486,"props":1654,"children":1655},{"style":622},[1656],{"type":399,"value":1657},"0",{"type":393,"tag":486,"props":1659,"children":1660},{"style":498},[1661],{"type":399,"value":570},{"type":393,"tag":486,"props":1663,"children":1664},{"style":622},[1665],{"type":399,"value":836},{"type":393,"tag":486,"props":1667,"children":1668},{"style":498},[1669],{"type":399,"value":570},{"type":393,"tag":486,"props":1671,"children":1672},{"style":622},[1673],{"type":399,"value":1429},{"type":393,"tag":486,"props":1675,"children":1676},{"style":498},[1677],{"type":399,"value":1678},"]])\n",{"type":393,"tag":486,"props":1680,"children":1681},{"class":488,"line":130},[1682,1686],{"type":393,"tag":486,"props":1683,"children":1684},{"style":622},[1685],{"type":399,"value":743},{"type":393,"tag":486,"props":1687,"children":1688},{"style":498},[1689],{"type":399,"value":792},{"type":393,"tag":486,"props":1691,"children":1692},{"class":488,"line":139},[1693],{"type":393,"tag":486,"props":1694,"children":1695},{"emptyLinePlaceholder":12},[1696],{"type":399,"value":519},{"type":393,"tag":486,"props":1698,"children":1699},{"class":488,"line":148},[1700,1704,1708,1713],{"type":393,"tag":486,"props":1701,"children":1702},{"style":622},[1703],{"type":399,"value":743},{"type":393,"tag":486,"props":1705,"children":1706},{"style":498},[1707],{"type":399,"value":748},{"type":393,"tag":486,"props":1709,"children":1710},{"style":552},[1711],{"type":399,"value":1712},"\"Middle section (rows 1-3):\"",{"type":393,"tag":486,"props":1714,"children":1715},{"style":498},[1716],{"type":399,"value":758},{"type":393,"tag":486,"props":1718,"children":1719},{"class":488,"line":159},[1720,1724,1729,1733,1738,1742],{"type":393,"tag":486,"props":1721,"children":1722},{"style":622},[1723],{"type":399,"value":743},{"type":393,"tag":486,"props":1725,"children":1726},{"style":498},[1727],{"type":399,"value":1728},"(survey.iloc[",{"type":393,"tag":486,"props":1730,"children":1731},{"style":622},[1732],{"type":399,"value":1404},{"type":393,"tag":486,"props":1734,"children":1735},{"style":498},[1736],{"type":399,"value":1737},":",{"type":393,"tag":486,"props":1739,"children":1740},{"style":622},[1741],{"type":399,"value":1429},{"type":393,"tag":486,"props":1743,"children":1744},{"style":498},[1745],{"type":399,"value":1746},"])\n",{"type":393,"tag":486,"props":1748,"children":1749},{"class":488,"line":168},[1750,1754],{"type":393,"tag":486,"props":1751,"children":1752},{"style":622},[1753],{"type":399,"value":743},{"type":393,"tag":486,"props":1755,"children":1756},{"style":498},[1757],{"type":399,"value":792},{"type":393,"tag":486,"props":1759,"children":1760},{"class":488,"line":177},[1761],{"type":393,"tag":486,"props":1762,"children":1763},{"emptyLinePlaceholder":12},[1764],{"type":399,"value":519},{"type":393,"tag":486,"props":1766,"children":1767},{"class":488,"line":186},[1768,1772,1776,1781],{"type":393,"tag":486,"props":1769,"children":1770},{"style":622},[1771],{"type":399,"value":743},{"type":393,"tag":486,"props":1773,"children":1774},{"style":498},[1775],{"type":399,"value":748},{"type":393,"tag":486,"props":1777,"children":1778},{"style":552},[1779],{"type":399,"value":1780},"\"Specific columns:\"",{"type":393,"tag":486,"props":1782,"children":1783},{"style":498},[1784],{"type":399,"value":758},{"type":393,"tag":486,"props":1786,"children":1787},{"class":488,"line":197},[1788,1792,1797,1802,1806,1811],{"type":393,"tag":486,"props":1789,"children":1790},{"style":622},[1791],{"type":399,"value":743},{"type":393,"tag":486,"props":1793,"children":1794},{"style":498},[1795],{"type":399,"value":1796},"(survey[[",{"type":393,"tag":486,"props":1798,"children":1799},{"style":552},[1800],{"type":399,"value":1801},"'age'",{"type":393,"tag":486,"props":1803,"children":1804},{"style":498},[1805],{"type":399,"value":570},{"type":393,"tag":486,"props":1807,"children":1808},{"style":552},[1809],{"type":399,"value":1810},"'satisfaction'",{"type":393,"tag":486,"props":1812,"children":1813},{"style":498},[1814],{"type":399,"value":1678},{"type":393,"tag":459,"props":1816,"children":1818},{"id":1817},"quick-data-summaries",[1819],{"type":399,"value":1820},"📊 Quick Data Summaries",{"type":393,"tag":402,"props":1822,"children":1823},{},[1824],{"type":399,"value":1825},"Get a summary view instead of raw data:",{"type":393,"tag":471,"props":1827,"children":1828},{},[1829],{"type":393,"tag":475,"props":1830,"children":1832},{"className":477,"code":1831,"language":479,"meta":6,"style":6},"import pandas as pd\n\n# Sales data\nsales = pd.DataFrame({\n    'product': ['A', 'B', 'A', 'C', 'B', 'A'],\n    'quantity': [10, 5, 8, 12, 3, 15],\n    'revenue': [100, 50, 80, 120, 30, 150]\n})\n\nprint(\"Data overview:\")\nprint(f\"Shape: {sales.shape}\")\nprint(f\"Columns: {list(sales.columns)}\")\nprint()\n\nprint(\"Value counts for products:\")\nprint(sales['product'].value_counts())\nprint()\n\nprint(\"Quick stats for quantity:\")\nprint(sales['quantity'].describe())\n",[1833],{"type":393,"tag":482,"props":1834,"children":1835},{"__ignoreMap":6},[1836,1855,1862,1870,1886,1946,2010,2076,2083,2090,2110,2155,2197,2208,2215,2235,2257,2268,2275,2295],{"type":393,"tag":486,"props":1837,"children":1838},{"class":488,"line":11},[1839,1843,1847,1851],{"type":393,"tag":486,"props":1840,"children":1841},{"style":492},[1842],{"type":399,"value":495},{"type":393,"tag":486,"props":1844,"children":1845},{"style":498},[1846],{"type":399,"value":501},{"type":393,"tag":486,"props":1848,"children":1849},{"style":492},[1850],{"type":399,"value":506},{"type":393,"tag":486,"props":1852,"children":1853},{"style":498},[1854],{"type":399,"value":511},{"type":393,"tag":486,"props":1856,"children":1857},{"class":488,"line":27},[1858],{"type":393,"tag":486,"props":1859,"children":1860},{"emptyLinePlaceholder":12},[1861],{"type":399,"value":519},{"type":393,"tag":486,"props":1863,"children":1864},{"class":488,"line":36},[1865],{"type":393,"tag":486,"props":1866,"children":1867},{"style":525},[1868],{"type":399,"value":1869},"# Sales data\n",{"type":393,"tag":486,"props":1871,"children":1872},{"class":488,"line":45},[1873,1878,1882],{"type":393,"tag":486,"props":1874,"children":1875},{"style":498},[1876],{"type":399,"value":1877},"sales ",{"type":393,"tag":486,"props":1879,"children":1880},{"style":492},[1881],{"type":399,"value":541},{"type":393,"tag":486,"props":1883,"children":1884},{"style":498},[1885],{"type":399,"value":546},{"type":393,"tag":486,"props":1887,"children":1888},{"class":488,"line":54},[1889,1894,1898,1902,1906,1910,1914,1918,1922,1926,1930,1934,1938,1942],{"type":393,"tag":486,"props":1890,"children":1891},{"style":552},[1892],{"type":399,"value":1893},"    'product'",{"type":393,"tag":486,"props":1895,"children":1896},{"style":498},[1897],{"type":399,"value":560},{"type":393,"tag":486,"props":1899,"children":1900},{"style":552},[1901],{"type":399,"value":1043},{"type":393,"tag":486,"props":1903,"children":1904},{"style":498},[1905],{"type":399,"value":570},{"type":393,"tag":486,"props":1907,"children":1908},{"style":552},[1909],{"type":399,"value":1052},{"type":393,"tag":486,"props":1911,"children":1912},{"style":498},[1913],{"type":399,"value":570},{"type":393,"tag":486,"props":1915,"children":1916},{"style":552},[1917],{"type":399,"value":1043},{"type":393,"tag":486,"props":1919,"children":1920},{"style":498},[1921],{"type":399,"value":570},{"type":393,"tag":486,"props":1923,"children":1924},{"style":552},[1925],{"type":399,"value":1069},{"type":393,"tag":486,"props":1927,"children":1928},{"style":498},[1929],{"type":399,"value":570},{"type":393,"tag":486,"props":1931,"children":1932},{"style":552},[1933],{"type":399,"value":1052},{"type":393,"tag":486,"props":1935,"children":1936},{"style":498},[1937],{"type":399,"value":570},{"type":393,"tag":486,"props":1939,"children":1940},{"style":552},[1941],{"type":399,"value":1043},{"type":393,"tag":486,"props":1943,"children":1944},{"style":498},[1945],{"type":399,"value":607},{"type":393,"tag":486,"props":1947,"children":1948},{"class":488,"line":63},[1949,1954,1958,1963,1967,1971,1975,1980,1984,1989,1993,1997,2001,2006],{"type":393,"tag":486,"props":1950,"children":1951},{"style":552},[1952],{"type":399,"value":1953},"    'quantity'",{"type":393,"tag":486,"props":1955,"children":1956},{"style":498},[1957],{"type":399,"value":560},{"type":393,"tag":486,"props":1959,"children":1960},{"style":622},[1961],{"type":399,"value":1962},"10",{"type":393,"tag":486,"props":1964,"children":1965},{"style":498},[1966],{"type":399,"value":570},{"type":393,"tag":486,"props":1968,"children":1969},{"style":622},[1970],{"type":399,"value":1438},{"type":393,"tag":486,"props":1972,"children":1973},{"style":498},[1974],{"type":399,"value":570},{"type":393,"tag":486,"props":1976,"children":1977},{"style":622},[1978],{"type":399,"value":1979},"8",{"type":393,"tag":486,"props":1981,"children":1982},{"style":498},[1983],{"type":399,"value":570},{"type":393,"tag":486,"props":1985,"children":1986},{"style":622},[1987],{"type":399,"value":1988},"12",{"type":393,"tag":486,"props":1990,"children":1991},{"style":498},[1992],{"type":399,"value":570},{"type":393,"tag":486,"props":1994,"children":1995},{"style":622},[1996],{"type":399,"value":775},{"type":393,"tag":486,"props":1998,"children":1999},{"style":498},[2000],{"type":399,"value":570},{"type":393,"tag":486,"props":2002,"children":2003},{"style":622},[2004],{"type":399,"value":2005},"15",{"type":393,"tag":486,"props":2007,"children":2008},{"style":498},[2009],{"type":399,"value":607},{"type":393,"tag":486,"props":2011,"children":2012},{"class":488,"line":72},[2013,2018,2022,2027,2031,2036,2040,2045,2049,2054,2058,2063,2067,2072],{"type":393,"tag":486,"props":2014,"children":2015},{"style":552},[2016],{"type":399,"value":2017},"    'revenue'",{"type":393,"tag":486,"props":2019,"children":2020},{"style":498},[2021],{"type":399,"value":560},{"type":393,"tag":486,"props":2023,"children":2024},{"style":622},[2025],{"type":399,"value":2026},"100",{"type":393,"tag":486,"props":2028,"children":2029},{"style":498},[2030],{"type":399,"value":570},{"type":393,"tag":486,"props":2032,"children":2033},{"style":622},[2034],{"type":399,"value":2035},"50",{"type":393,"tag":486,"props":2037,"children":2038},{"style":498},[2039],{"type":399,"value":570},{"type":393,"tag":486,"props":2041,"children":2042},{"style":622},[2043],{"type":399,"value":2044},"80",{"type":393,"tag":486,"props":2046,"children":2047},{"style":498},[2048],{"type":399,"value":570},{"type":393,"tag":486,"props":2050,"children":2051},{"style":622},[2052],{"type":399,"value":2053},"120",{"type":393,"tag":486,"props":2055,"children":2056},{"style":498},[2057],{"type":399,"value":570},{"type":393,"tag":486,"props":2059,"children":2060},{"style":622},[2061],{"type":399,"value":2062},"30",{"type":393,"tag":486,"props":2064,"children":2065},{"style":498},[2066],{"type":399,"value":570},{"type":393,"tag":486,"props":2068,"children":2069},{"style":622},[2070],{"type":399,"value":2071},"150",{"type":393,"tag":486,"props":2073,"children":2074},{"style":498},[2075],{"type":399,"value":720},{"type":393,"tag":486,"props":2077,"children":2078},{"class":488,"line":83},[2079],{"type":393,"tag":486,"props":2080,"children":2081},{"style":498},[2082],{"type":399,"value":728},{"type":393,"tag":486,"props":2084,"children":2085},{"class":488,"line":92},[2086],{"type":393,"tag":486,"props":2087,"children":2088},{"emptyLinePlaceholder":12},[2089],{"type":399,"value":519},{"type":393,"tag":486,"props":2091,"children":2092},{"class":488,"line":101},[2093,2097,2101,2106],{"type":393,"tag":486,"props":2094,"children":2095},{"style":622},[2096],{"type":399,"value":743},{"type":393,"tag":486,"props":2098,"children":2099},{"style":498},[2100],{"type":399,"value":748},{"type":393,"tag":486,"props":2102,"children":2103},{"style":552},[2104],{"type":399,"value":2105},"\"Data overview:\"",{"type":393,"tag":486,"props":2107,"children":2108},{"style":498},[2109],{"type":399,"value":758},{"type":393,"tag":486,"props":2111,"children":2112},{"class":488,"line":110},[2113,2117,2121,2126,2131,2136,2141,2146,2151],{"type":393,"tag":486,"props":2114,"children":2115},{"style":622},[2116],{"type":399,"value":743},{"type":393,"tag":486,"props":2118,"children":2119},{"style":498},[2120],{"type":399,"value":748},{"type":393,"tag":486,"props":2122,"children":2123},{"style":492},[2124],{"type":399,"value":2125},"f",{"type":393,"tag":486,"props":2127,"children":2128},{"style":552},[2129],{"type":399,"value":2130},"\"Shape: ",{"type":393,"tag":486,"props":2132,"children":2133},{"style":622},[2134],{"type":399,"value":2135},"{",{"type":393,"tag":486,"props":2137,"children":2138},{"style":498},[2139],{"type":399,"value":2140},"sales.shape",{"type":393,"tag":486,"props":2142,"children":2143},{"style":622},[2144],{"type":399,"value":2145},"}",{"type":393,"tag":486,"props":2147,"children":2148},{"style":552},[2149],{"type":399,"value":2150},"\"",{"type":393,"tag":486,"props":2152,"children":2153},{"style":498},[2154],{"type":399,"value":758},{"type":393,"tag":486,"props":2156,"children":2157},{"class":488,"line":121},[2158,2162,2166,2170,2175,2180,2185,2189,2193],{"type":393,"tag":486,"props":2159,"children":2160},{"style":622},[2161],{"type":399,"value":743},{"type":393,"tag":486,"props":2163,"children":2164},{"style":498},[2165],{"type":399,"value":748},{"type":393,"tag":486,"props":2167,"children":2168},{"style":492},[2169],{"type":399,"value":2125},{"type":393,"tag":486,"props":2171,"children":2172},{"style":552},[2173],{"type":399,"value":2174},"\"Columns: ",{"type":393,"tag":486,"props":2176,"children":2177},{"style":622},[2178],{"type":399,"value":2179},"{list",{"type":393,"tag":486,"props":2181,"children":2182},{"style":498},[2183],{"type":399,"value":2184},"(sales.columns)",{"type":393,"tag":486,"props":2186,"children":2187},{"style":622},[2188],{"type":399,"value":2145},{"type":393,"tag":486,"props":2190,"children":2191},{"style":552},[2192],{"type":399,"value":2150},{"type":393,"tag":486,"props":2194,"children":2195},{"style":498},[2196],{"type":399,"value":758},{"type":393,"tag":486,"props":2198,"children":2199},{"class":488,"line":130},[2200,2204],{"type":393,"tag":486,"props":2201,"children":2202},{"style":622},[2203],{"type":399,"value":743},{"type":393,"tag":486,"props":2205,"children":2206},{"style":498},[2207],{"type":399,"value":792},{"type":393,"tag":486,"props":2209,"children":2210},{"class":488,"line":139},[2211],{"type":393,"tag":486,"props":2212,"children":2213},{"emptyLinePlaceholder":12},[2214],{"type":399,"value":519},{"type":393,"tag":486,"props":2216,"children":2217},{"class":488,"line":148},[2218,2222,2226,2231],{"type":393,"tag":486,"props":2219,"children":2220},{"style":622},[2221],{"type":399,"value":743},{"type":393,"tag":486,"props":2223,"children":2224},{"style":498},[2225],{"type":399,"value":748},{"type":393,"tag":486,"props":2227,"children":2228},{"style":552},[2229],{"type":399,"value":2230},"\"Value counts for products:\"",{"type":393,"tag":486,"props":2232,"children":2233},{"style":498},[2234],{"type":399,"value":758},{"type":393,"tag":486,"props":2236,"children":2237},{"class":488,"line":159},[2238,2242,2247,2252],{"type":393,"tag":486,"props":2239,"children":2240},{"style":622},[2241],{"type":399,"value":743},{"type":393,"tag":486,"props":2243,"children":2244},{"style":498},[2245],{"type":399,"value":2246},"(sales[",{"type":393,"tag":486,"props":2248,"children":2249},{"style":552},[2250],{"type":399,"value":2251},"'product'",{"type":393,"tag":486,"props":2253,"children":2254},{"style":498},[2255],{"type":399,"value":2256},"].value_counts())\n",{"type":393,"tag":486,"props":2258,"children":2259},{"class":488,"line":168},[2260,2264],{"type":393,"tag":486,"props":2261,"children":2262},{"style":622},[2263],{"type":399,"value":743},{"type":393,"tag":486,"props":2265,"children":2266},{"style":498},[2267],{"type":399,"value":792},{"type":393,"tag":486,"props":2269,"children":2270},{"class":488,"line":177},[2271],{"type":393,"tag":486,"props":2272,"children":2273},{"emptyLinePlaceholder":12},[2274],{"type":399,"value":519},{"type":393,"tag":486,"props":2276,"children":2277},{"class":488,"line":186},[2278,2282,2286,2291],{"type":393,"tag":486,"props":2279,"children":2280},{"style":622},[2281],{"type":399,"value":743},{"type":393,"tag":486,"props":2283,"children":2284},{"style":498},[2285],{"type":399,"value":748},{"type":393,"tag":486,"props":2287,"children":2288},{"style":552},[2289],{"type":399,"value":2290},"\"Quick stats for quantity:\"",{"type":393,"tag":486,"props":2292,"children":2293},{"style":498},[2294],{"type":399,"value":758},{"type":393,"tag":486,"props":2296,"children":2297},{"class":488,"line":197},[2298,2302,2306,2311],{"type":393,"tag":486,"props":2299,"children":2300},{"style":622},[2301],{"type":399,"value":743},{"type":393,"tag":486,"props":2303,"children":2304},{"style":498},[2305],{"type":399,"value":2246},{"type":393,"tag":486,"props":2307,"children":2308},{"style":552},[2309],{"type":399,"value":2310},"'quantity'",{"type":393,"tag":486,"props":2312,"children":2313},{"style":498},[2314],{"type":399,"value":2315},"].describe())\n",{"type":393,"tag":459,"props":2317,"children":2319},{"id":2318},"smart-viewing-strategies",[2320],{"type":399,"value":2321},"🎯 Smart Viewing Strategies",{"type":393,"tag":402,"props":2323,"children":2324},{},[2325],{"type":399,"value":2326},"Different situations need different viewing approaches:",{"type":393,"tag":2328,"props":2329,"children":2331},"h3",{"id":2330},"small-datasets-50-rows",[2332],{"type":399,"value":2333},"Small Datasets (\u003C 50 rows)",{"type":393,"tag":471,"props":2335,"children":2336},{},[2337],{"type":393,"tag":475,"props":2338,"children":2340},{"className":477,"code":2339,"language":479,"meta":6,"style":6},"import pandas as pd\n\n# Small dataset - view all\nsmall_data = pd.DataFrame({\n    'item': ['Apple', 'Banana', 'Orange'],\n    'price': [1.0, 0.5, 1.2]\n})\n\nprint(\"Small dataset - show everything:\")\nprint(small_data)\nprint()\nprint(\"Info about small dataset:\")\nprint(f\"Shape: {small_data.shape}\")\n",[2341],{"type":393,"tag":482,"props":2342,"children":2343},{"__ignoreMap":6},[2344,2363,2370,2378,2394,2433,2471,2478,2485,2505,2517,2528,2548],{"type":393,"tag":486,"props":2345,"children":2346},{"class":488,"line":11},[2347,2351,2355,2359],{"type":393,"tag":486,"props":2348,"children":2349},{"style":492},[2350],{"type":399,"value":495},{"type":393,"tag":486,"props":2352,"children":2353},{"style":498},[2354],{"type":399,"value":501},{"type":393,"tag":486,"props":2356,"children":2357},{"style":492},[2358],{"type":399,"value":506},{"type":393,"tag":486,"props":2360,"children":2361},{"style":498},[2362],{"type":399,"value":511},{"type":393,"tag":486,"props":2364,"children":2365},{"class":488,"line":27},[2366],{"type":393,"tag":486,"props":2367,"children":2368},{"emptyLinePlaceholder":12},[2369],{"type":399,"value":519},{"type":393,"tag":486,"props":2371,"children":2372},{"class":488,"line":36},[2373],{"type":393,"tag":486,"props":2374,"children":2375},{"style":525},[2376],{"type":399,"value":2377},"# Small dataset - view all\n",{"type":393,"tag":486,"props":2379,"children":2380},{"class":488,"line":45},[2381,2386,2390],{"type":393,"tag":486,"props":2382,"children":2383},{"style":498},[2384],{"type":399,"value":2385},"small_data ",{"type":393,"tag":486,"props":2387,"children":2388},{"style":492},[2389],{"type":399,"value":541},{"type":393,"tag":486,"props":2391,"children":2392},{"style":498},[2393],{"type":399,"value":546},{"type":393,"tag":486,"props":2395,"children":2396},{"class":488,"line":54},[2397,2402,2406,2411,2415,2420,2424,2429],{"type":393,"tag":486,"props":2398,"children":2399},{"style":552},[2400],{"type":399,"value":2401},"    'item'",{"type":393,"tag":486,"props":2403,"children":2404},{"style":498},[2405],{"type":399,"value":560},{"type":393,"tag":486,"props":2407,"children":2408},{"style":552},[2409],{"type":399,"value":2410},"'Apple'",{"type":393,"tag":486,"props":2412,"children":2413},{"style":498},[2414],{"type":399,"value":570},{"type":393,"tag":486,"props":2416,"children":2417},{"style":552},[2418],{"type":399,"value":2419},"'Banana'",{"type":393,"tag":486,"props":2421,"children":2422},{"style":498},[2423],{"type":399,"value":570},{"type":393,"tag":486,"props":2425,"children":2426},{"style":552},[2427],{"type":399,"value":2428},"'Orange'",{"type":393,"tag":486,"props":2430,"children":2431},{"style":498},[2432],{"type":399,"value":607},{"type":393,"tag":486,"props":2434,"children":2435},{"class":488,"line":63},[2436,2440,2444,2449,2453,2458,2462,2467],{"type":393,"tag":486,"props":2437,"children":2438},{"style":552},[2439],{"type":399,"value":615},{"type":393,"tag":486,"props":2441,"children":2442},{"style":498},[2443],{"type":399,"value":560},{"type":393,"tag":486,"props":2445,"children":2446},{"style":622},[2447],{"type":399,"value":2448},"1.0",{"type":393,"tag":486,"props":2450,"children":2451},{"style":498},[2452],{"type":399,"value":570},{"type":393,"tag":486,"props":2454,"children":2455},{"style":622},[2456],{"type":399,"value":2457},"0.5",{"type":393,"tag":486,"props":2459,"children":2460},{"style":498},[2461],{"type":399,"value":570},{"type":393,"tag":486,"props":2463,"children":2464},{"style":622},[2465],{"type":399,"value":2466},"1.2",{"type":393,"tag":486,"props":2468,"children":2469},{"style":498},[2470],{"type":399,"value":720},{"type":393,"tag":486,"props":2472,"children":2473},{"class":488,"line":72},[2474],{"type":393,"tag":486,"props":2475,"children":2476},{"style":498},[2477],{"type":399,"value":728},{"type":393,"tag":486,"props":2479,"children":2480},{"class":488,"line":83},[2481],{"type":393,"tag":486,"props":2482,"children":2483},{"emptyLinePlaceholder":12},[2484],{"type":399,"value":519},{"type":393,"tag":486,"props":2486,"children":2487},{"class":488,"line":92},[2488,2492,2496,2501],{"type":393,"tag":486,"props":2489,"children":2490},{"style":622},[2491],{"type":399,"value":743},{"type":393,"tag":486,"props":2493,"children":2494},{"style":498},[2495],{"type":399,"value":748},{"type":393,"tag":486,"props":2497,"children":2498},{"style":552},[2499],{"type":399,"value":2500},"\"Small dataset - show everything:\"",{"type":393,"tag":486,"props":2502,"children":2503},{"style":498},[2504],{"type":399,"value":758},{"type":393,"tag":486,"props":2506,"children":2507},{"class":488,"line":101},[2508,2512],{"type":393,"tag":486,"props":2509,"children":2510},{"style":622},[2511],{"type":399,"value":743},{"type":393,"tag":486,"props":2513,"children":2514},{"style":498},[2515],{"type":399,"value":2516},"(small_data)\n",{"type":393,"tag":486,"props":2518,"children":2519},{"class":488,"line":110},[2520,2524],{"type":393,"tag":486,"props":2521,"children":2522},{"style":622},[2523],{"type":399,"value":743},{"type":393,"tag":486,"props":2525,"children":2526},{"style":498},[2527],{"type":399,"value":792},{"type":393,"tag":486,"props":2529,"children":2530},{"class":488,"line":121},[2531,2535,2539,2544],{"type":393,"tag":486,"props":2532,"children":2533},{"style":622},[2534],{"type":399,"value":743},{"type":393,"tag":486,"props":2536,"children":2537},{"style":498},[2538],{"type":399,"value":748},{"type":393,"tag":486,"props":2540,"children":2541},{"style":552},[2542],{"type":399,"value":2543},"\"Info about small dataset:\"",{"type":393,"tag":486,"props":2545,"children":2546},{"style":498},[2547],{"type":399,"value":758},{"type":393,"tag":486,"props":2549,"children":2550},{"class":488,"line":130},[2551,2555,2559,2563,2567,2571,2576,2580,2584],{"type":393,"tag":486,"props":2552,"children":2553},{"style":622},[2554],{"type":399,"value":743},{"type":393,"tag":486,"props":2556,"children":2557},{"style":498},[2558],{"type":399,"value":748},{"type":393,"tag":486,"props":2560,"children":2561},{"style":492},[2562],{"type":399,"value":2125},{"type":393,"tag":486,"props":2564,"children":2565},{"style":552},[2566],{"type":399,"value":2130},{"type":393,"tag":486,"props":2568,"children":2569},{"style":622},[2570],{"type":399,"value":2135},{"type":393,"tag":486,"props":2572,"children":2573},{"style":498},[2574],{"type":399,"value":2575},"small_data.shape",{"type":393,"tag":486,"props":2577,"children":2578},{"style":622},[2579],{"type":399,"value":2145},{"type":393,"tag":486,"props":2581,"children":2582},{"style":552},[2583],{"type":399,"value":2150},{"type":393,"tag":486,"props":2585,"children":2586},{"style":498},[2587],{"type":399,"value":758},{"type":393,"tag":2328,"props":2589,"children":2591},{"id":2590},"large-datasets-1000-rows",[2592],{"type":399,"value":2593},"Large Datasets (> 1000 rows)",{"type":393,"tag":471,"props":2595,"children":2596},{},[2597],{"type":393,"tag":475,"props":2598,"children":2600},{"className":477,"code":2599,"language":479,"meta":6,"style":6},"import pandas as pd\n\n# Simulate large dataset info\nprint(\"Large dataset strategy:\")\nprint(\"df.shape  # Check size first\")\nprint(\"df.head(10)  # See more rows\")\nprint(\"df.sample(20)  # Random sample\")\nprint(\"df.info()  # Structure overview\")\nprint()\n\n# Example with our small data\ndata = pd.DataFrame({\n    'id': [1, 2, 3, 4, 5],\n    'value': [10, 20, 30, 40, 50]\n})\n\nprint(\"Example - first and last:\")\nprint(\"First 2:\")\nprint(data.head(2))\nprint(\"Last 2:\")\nprint(data.tail(2))\n",[2601],{"type":393,"tag":482,"props":2602,"children":2603},{"__ignoreMap":6},[2604,2623,2630,2638,2658,2678,2698,2718,2738,2749,2756,2764,2780,2832,2886,2893,2900,2920,2940,2960,2980],{"type":393,"tag":486,"props":2605,"children":2606},{"class":488,"line":11},[2607,2611,2615,2619],{"type":393,"tag":486,"props":2608,"children":2609},{"style":492},[2610],{"type":399,"value":495},{"type":393,"tag":486,"props":2612,"children":2613},{"style":498},[2614],{"type":399,"value":501},{"type":393,"tag":486,"props":2616,"children":2617},{"style":492},[2618],{"type":399,"value":506},{"type":393,"tag":486,"props":2620,"children":2621},{"style":498},[2622],{"type":399,"value":511},{"type":393,"tag":486,"props":2624,"children":2625},{"class":488,"line":27},[2626],{"type":393,"tag":486,"props":2627,"children":2628},{"emptyLinePlaceholder":12},[2629],{"type":399,"value":519},{"type":393,"tag":486,"props":2631,"children":2632},{"class":488,"line":36},[2633],{"type":393,"tag":486,"props":2634,"children":2635},{"style":525},[2636],{"type":399,"value":2637},"# Simulate large dataset info\n",{"type":393,"tag":486,"props":2639,"children":2640},{"class":488,"line":45},[2641,2645,2649,2654],{"type":393,"tag":486,"props":2642,"children":2643},{"style":622},[2644],{"type":399,"value":743},{"type":393,"tag":486,"props":2646,"children":2647},{"style":498},[2648],{"type":399,"value":748},{"type":393,"tag":486,"props":2650,"children":2651},{"style":552},[2652],{"type":399,"value":2653},"\"Large dataset strategy:\"",{"type":393,"tag":486,"props":2655,"children":2656},{"style":498},[2657],{"type":399,"value":758},{"type":393,"tag":486,"props":2659,"children":2660},{"class":488,"line":54},[2661,2665,2669,2674],{"type":393,"tag":486,"props":2662,"children":2663},{"style":622},[2664],{"type":399,"value":743},{"type":393,"tag":486,"props":2666,"children":2667},{"style":498},[2668],{"type":399,"value":748},{"type":393,"tag":486,"props":2670,"children":2671},{"style":552},[2672],{"type":399,"value":2673},"\"df.shape  # Check size first\"",{"type":393,"tag":486,"props":2675,"children":2676},{"style":498},[2677],{"type":399,"value":758},{"type":393,"tag":486,"props":2679,"children":2680},{"class":488,"line":63},[2681,2685,2689,2694],{"type":393,"tag":486,"props":2682,"children":2683},{"style":622},[2684],{"type":399,"value":743},{"type":393,"tag":486,"props":2686,"children":2687},{"style":498},[2688],{"type":399,"value":748},{"type":393,"tag":486,"props":2690,"children":2691},{"style":552},[2692],{"type":399,"value":2693},"\"df.head(10)  # See more rows\"",{"type":393,"tag":486,"props":2695,"children":2696},{"style":498},[2697],{"type":399,"value":758},{"type":393,"tag":486,"props":2699,"children":2700},{"class":488,"line":72},[2701,2705,2709,2714],{"type":393,"tag":486,"props":2702,"children":2703},{"style":622},[2704],{"type":399,"value":743},{"type":393,"tag":486,"props":2706,"children":2707},{"style":498},[2708],{"type":399,"value":748},{"type":393,"tag":486,"props":2710,"children":2711},{"style":552},[2712],{"type":399,"value":2713},"\"df.sample(20)  # Random sample\"",{"type":393,"tag":486,"props":2715,"children":2716},{"style":498},[2717],{"type":399,"value":758},{"type":393,"tag":486,"props":2719,"children":2720},{"class":488,"line":83},[2721,2725,2729,2734],{"type":393,"tag":486,"props":2722,"children":2723},{"style":622},[2724],{"type":399,"value":743},{"type":393,"tag":486,"props":2726,"children":2727},{"style":498},[2728],{"type":399,"value":748},{"type":393,"tag":486,"props":2730,"children":2731},{"style":552},[2732],{"type":399,"value":2733},"\"df.info()  # Structure overview\"",{"type":393,"tag":486,"props":2735,"children":2736},{"style":498},[2737],{"type":399,"value":758},{"type":393,"tag":486,"props":2739,"children":2740},{"class":488,"line":92},[2741,2745],{"type":393,"tag":486,"props":2742,"children":2743},{"style":622},[2744],{"type":399,"value":743},{"type":393,"tag":486,"props":2746,"children":2747},{"style":498},[2748],{"type":399,"value":792},{"type":393,"tag":486,"props":2750,"children":2751},{"class":488,"line":101},[2752],{"type":393,"tag":486,"props":2753,"children":2754},{"emptyLinePlaceholder":12},[2755],{"type":399,"value":519},{"type":393,"tag":486,"props":2757,"children":2758},{"class":488,"line":110},[2759],{"type":393,"tag":486,"props":2760,"children":2761},{"style":525},[2762],{"type":399,"value":2763},"# Example with our small data\n",{"type":393,"tag":486,"props":2765,"children":2766},{"class":488,"line":121},[2767,2772,2776],{"type":393,"tag":486,"props":2768,"children":2769},{"style":498},[2770],{"type":399,"value":2771},"data ",{"type":393,"tag":486,"props":2773,"children":2774},{"style":492},[2775],{"type":399,"value":541},{"type":393,"tag":486,"props":2777,"children":2778},{"style":498},[2779],{"type":399,"value":546},{"type":393,"tag":486,"props":2781,"children":2782},{"class":488,"line":130},[2783,2788,2792,2796,2800,2804,2808,2812,2816,2820,2824,2828],{"type":393,"tag":486,"props":2784,"children":2785},{"style":552},[2786],{"type":399,"value":2787},"    'id'",{"type":393,"tag":486,"props":2789,"children":2790},{"style":498},[2791],{"type":399,"value":560},{"type":393,"tag":486,"props":2793,"children":2794},{"style":622},[2795],{"type":399,"value":1404},{"type":393,"tag":486,"props":2797,"children":2798},{"style":498},[2799],{"type":399,"value":570},{"type":393,"tag":486,"props":2801,"children":2802},{"style":622},[2803],{"type":399,"value":836},{"type":393,"tag":486,"props":2805,"children":2806},{"style":498},[2807],{"type":399,"value":570},{"type":393,"tag":486,"props":2809,"children":2810},{"style":622},[2811],{"type":399,"value":775},{"type":393,"tag":486,"props":2813,"children":2814},{"style":498},[2815],{"type":399,"value":570},{"type":393,"tag":486,"props":2817,"children":2818},{"style":622},[2819],{"type":399,"value":1429},{"type":393,"tag":486,"props":2821,"children":2822},{"style":498},[2823],{"type":399,"value":570},{"type":393,"tag":486,"props":2825,"children":2826},{"style":622},[2827],{"type":399,"value":1438},{"type":393,"tag":486,"props":2829,"children":2830},{"style":498},[2831],{"type":399,"value":607},{"type":393,"tag":486,"props":2833,"children":2834},{"class":488,"line":139},[2835,2840,2844,2848,2852,2857,2861,2865,2869,2874,2878,2882],{"type":393,"tag":486,"props":2836,"children":2837},{"style":552},[2838],{"type":399,"value":2839},"    'value'",{"type":393,"tag":486,"props":2841,"children":2842},{"style":498},[2843],{"type":399,"value":560},{"type":393,"tag":486,"props":2845,"children":2846},{"style":622},[2847],{"type":399,"value":1962},{"type":393,"tag":486,"props":2849,"children":2850},{"style":498},[2851],{"type":399,"value":570},{"type":393,"tag":486,"props":2853,"children":2854},{"style":622},[2855],{"type":399,"value":2856},"20",{"type":393,"tag":486,"props":2858,"children":2859},{"style":498},[2860],{"type":399,"value":570},{"type":393,"tag":486,"props":2862,"children":2863},{"style":622},[2864],{"type":399,"value":2062},{"type":393,"tag":486,"props":2866,"children":2867},{"style":498},[2868],{"type":399,"value":570},{"type":393,"tag":486,"props":2870,"children":2871},{"style":622},[2872],{"type":399,"value":2873},"40",{"type":393,"tag":486,"props":2875,"children":2876},{"style":498},[2877],{"type":399,"value":570},{"type":393,"tag":486,"props":2879,"children":2880},{"style":622},[2881],{"type":399,"value":2035},{"type":393,"tag":486,"props":2883,"children":2884},{"style":498},[2885],{"type":399,"value":720},{"type":393,"tag":486,"props":2887,"children":2888},{"class":488,"line":148},[2889],{"type":393,"tag":486,"props":2890,"children":2891},{"style":498},[2892],{"type":399,"value":728},{"type":393,"tag":486,"props":2894,"children":2895},{"class":488,"line":159},[2896],{"type":393,"tag":486,"props":2897,"children":2898},{"emptyLinePlaceholder":12},[2899],{"type":399,"value":519},{"type":393,"tag":486,"props":2901,"children":2902},{"class":488,"line":168},[2903,2907,2911,2916],{"type":393,"tag":486,"props":2904,"children":2905},{"style":622},[2906],{"type":399,"value":743},{"type":393,"tag":486,"props":2908,"children":2909},{"style":498},[2910],{"type":399,"value":748},{"type":393,"tag":486,"props":2912,"children":2913},{"style":552},[2914],{"type":399,"value":2915},"\"Example - first and last:\"",{"type":393,"tag":486,"props":2917,"children":2918},{"style":498},[2919],{"type":399,"value":758},{"type":393,"tag":486,"props":2921,"children":2922},{"class":488,"line":177},[2923,2927,2931,2936],{"type":393,"tag":486,"props":2924,"children":2925},{"style":622},[2926],{"type":399,"value":743},{"type":393,"tag":486,"props":2928,"children":2929},{"style":498},[2930],{"type":399,"value":748},{"type":393,"tag":486,"props":2932,"children":2933},{"style":552},[2934],{"type":399,"value":2935},"\"First 2:\"",{"type":393,"tag":486,"props":2937,"children":2938},{"style":498},[2939],{"type":399,"value":758},{"type":393,"tag":486,"props":2941,"children":2942},{"class":488,"line":186},[2943,2947,2952,2956],{"type":393,"tag":486,"props":2944,"children":2945},{"style":622},[2946],{"type":399,"value":743},{"type":393,"tag":486,"props":2948,"children":2949},{"style":498},[2950],{"type":399,"value":2951},"(data.head(",{"type":393,"tag":486,"props":2953,"children":2954},{"style":622},[2955],{"type":399,"value":836},{"type":393,"tag":486,"props":2957,"children":2958},{"style":498},[2959],{"type":399,"value":780},{"type":393,"tag":486,"props":2961,"children":2962},{"class":488,"line":197},[2963,2967,2971,2976],{"type":393,"tag":486,"props":2964,"children":2965},{"style":622},[2966],{"type":399,"value":743},{"type":393,"tag":486,"props":2968,"children":2969},{"style":498},[2970],{"type":399,"value":748},{"type":393,"tag":486,"props":2972,"children":2973},{"style":552},[2974],{"type":399,"value":2975},"\"Last 2:\"",{"type":393,"tag":486,"props":2977,"children":2978},{"style":498},[2979],{"type":399,"value":758},{"type":393,"tag":486,"props":2981,"children":2982},{"class":488,"line":206},[2983,2987,2992,2996],{"type":393,"tag":486,"props":2984,"children":2985},{"style":622},[2986],{"type":399,"value":743},{"type":393,"tag":486,"props":2988,"children":2989},{"style":498},[2990],{"type":399,"value":2991},"(data.tail(",{"type":393,"tag":486,"props":2993,"children":2994},{"style":622},[2995],{"type":399,"value":836},{"type":393,"tag":486,"props":2997,"children":2998},{"style":498},[2999],{"type":399,"value":780},{"type":393,"tag":459,"props":3001,"children":3003},{"id":3002},"viewing-methods-reference",[3004],{"type":399,"value":3005},"📋 Viewing Methods Reference",{"type":393,"tag":3007,"props":3008,"children":3009},"table",{},[3010,3034],{"type":393,"tag":3011,"props":3012,"children":3013},"thead",{},[3014],{"type":393,"tag":3015,"props":3016,"children":3017},"tr",{},[3018,3024,3029],{"type":393,"tag":3019,"props":3020,"children":3021},"th",{},[3022],{"type":399,"value":3023},"Method",{"type":393,"tag":3019,"props":3025,"children":3026},{},[3027],{"type":399,"value":3028},"What It Shows",{"type":393,"tag":3019,"props":3030,"children":3031},{},[3032],{"type":399,"value":3033},"Best For",{"type":393,"tag":3035,"props":3036,"children":3037},"tbody",{},[3038,3061,3083,3105,3127,3149],{"type":393,"tag":3015,"props":3039,"children":3040},{},[3041,3051,3056],{"type":393,"tag":3042,"props":3043,"children":3044},"td",{},[3045],{"type":393,"tag":482,"props":3046,"children":3048},{"className":3047},[],[3049],{"type":399,"value":3050},".head(n)",{"type":393,"tag":3042,"props":3052,"children":3053},{},[3054],{"type":399,"value":3055},"First n rows (default 5)",{"type":393,"tag":3042,"props":3057,"children":3058},{},[3059],{"type":399,"value":3060},"Quick peek at data structure",{"type":393,"tag":3015,"props":3062,"children":3063},{},[3064,3073,3078],{"type":393,"tag":3042,"props":3065,"children":3066},{},[3067],{"type":393,"tag":482,"props":3068,"children":3070},{"className":3069},[],[3071],{"type":399,"value":3072},".tail(n)",{"type":393,"tag":3042,"props":3074,"children":3075},{},[3076],{"type":399,"value":3077},"Last n rows (default 5)",{"type":393,"tag":3042,"props":3079,"children":3080},{},[3081],{"type":399,"value":3082},"Check how data ends",{"type":393,"tag":3015,"props":3084,"children":3085},{},[3086,3095,3100],{"type":393,"tag":3042,"props":3087,"children":3088},{},[3089],{"type":393,"tag":482,"props":3090,"children":3092},{"className":3091},[],[3093],{"type":399,"value":3094},".sample(n)",{"type":393,"tag":3042,"props":3096,"children":3097},{},[3098],{"type":399,"value":3099},"Random n rows",{"type":393,"tag":3042,"props":3101,"children":3102},{},[3103],{"type":399,"value":3104},"Get representative examples",{"type":393,"tag":3015,"props":3106,"children":3107},{},[3108,3117,3122],{"type":393,"tag":3042,"props":3109,"children":3110},{},[3111],{"type":393,"tag":482,"props":3112,"children":3114},{"className":3113},[],[3115],{"type":399,"value":3116},"df[start:end]",{"type":393,"tag":3042,"props":3118,"children":3119},{},[3120],{"type":399,"value":3121},"Specific row range",{"type":393,"tag":3042,"props":3123,"children":3124},{},[3125],{"type":399,"value":3126},"View middle sections",{"type":393,"tag":3015,"props":3128,"children":3129},{},[3130,3139,3144],{"type":393,"tag":3042,"props":3131,"children":3132},{},[3133],{"type":393,"tag":482,"props":3134,"children":3136},{"className":3135},[],[3137],{"type":399,"value":3138},".iloc[rows]",{"type":393,"tag":3042,"props":3140,"children":3141},{},[3142],{"type":399,"value":3143},"Rows by position",{"type":393,"tag":3042,"props":3145,"children":3146},{},[3147],{"type":399,"value":3148},"Precise row selection",{"type":393,"tag":3015,"props":3150,"children":3151},{},[3152,3161,3166],{"type":393,"tag":3042,"props":3153,"children":3154},{},[3155],{"type":393,"tag":482,"props":3156,"children":3158},{"className":3157},[],[3159],{"type":399,"value":3160},".info()",{"type":393,"tag":3042,"props":3162,"children":3163},{},[3164],{"type":399,"value":3165},"Dataset overview",{"type":393,"tag":3042,"props":3167,"children":3168},{},[3169],{"type":399,"value":3170},"Structure and types",{"type":393,"tag":459,"props":3172,"children":3174},{"id":3173},"customizing-your-view",[3175],{"type":399,"value":3176},"🎨 Customizing Your View",{"type":393,"tag":402,"props":3178,"children":3179},{},[3180],{"type":399,"value":3181},"Make data viewing more useful:",{"type":393,"tag":471,"props":3183,"children":3184},{},[3185],{"type":393,"tag":475,"props":3186,"children":3188},{"className":477,"code":3187,"language":479,"meta":6,"style":6},"import pandas as pd\n\n# Dataset with mixed content\nemployees = pd.DataFrame({\n    'name': ['Alice Johnson', 'Bob Smith', 'Charlie Brown'],\n    'department': ['Engineering', 'Sales', 'Marketing'],\n    'salary': [75000, 65000, 70000],\n    'start_date': ['2020-01-15', '2019-06-10', '2021-03-20']\n})\n\nprint(\"Default view:\")\nprint(employees.head())\nprint()\n\n# View specific columns only\nprint(\"Names and salaries only:\")\nprint(employees[['name', 'salary']].head())\nprint()\n\n# Sort before viewing\nprint(\"Sorted by salary:\")\nprint(employees.sort_values('salary').head())\n",[3189],{"type":393,"tag":482,"props":3190,"children":3191},{"__ignoreMap":6},[3192,3211,3218,3226,3242,3280,3319,3358,3397,3404,3411,3431,3443,3454,3461,3469,3489,3520,3531,3538,3546,3566],{"type":393,"tag":486,"props":3193,"children":3194},{"class":488,"line":11},[3195,3199,3203,3207],{"type":393,"tag":486,"props":3196,"children":3197},{"style":492},[3198],{"type":399,"value":495},{"type":393,"tag":486,"props":3200,"children":3201},{"style":498},[3202],{"type":399,"value":501},{"type":393,"tag":486,"props":3204,"children":3205},{"style":492},[3206],{"type":399,"value":506},{"type":393,"tag":486,"props":3208,"children":3209},{"style":498},[3210],{"type":399,"value":511},{"type":393,"tag":486,"props":3212,"children":3213},{"class":488,"line":27},[3214],{"type":393,"tag":486,"props":3215,"children":3216},{"emptyLinePlaceholder":12},[3217],{"type":399,"value":519},{"type":393,"tag":486,"props":3219,"children":3220},{"class":488,"line":36},[3221],{"type":393,"tag":486,"props":3222,"children":3223},{"style":525},[3224],{"type":399,"value":3225},"# Dataset with mixed content\n",{"type":393,"tag":486,"props":3227,"children":3228},{"class":488,"line":45},[3229,3234,3238],{"type":393,"tag":486,"props":3230,"children":3231},{"style":498},[3232],{"type":399,"value":3233},"employees ",{"type":393,"tag":486,"props":3235,"children":3236},{"style":492},[3237],{"type":399,"value":541},{"type":393,"tag":486,"props":3239,"children":3240},{"style":498},[3241],{"type":399,"value":546},{"type":393,"tag":486,"props":3243,"children":3244},{"class":488,"line":54},[3245,3249,3253,3258,3262,3267,3271,3276],{"type":393,"tag":486,"props":3246,"children":3247},{"style":552},[3248],{"type":399,"value":555},{"type":393,"tag":486,"props":3250,"children":3251},{"style":498},[3252],{"type":399,"value":560},{"type":393,"tag":486,"props":3254,"children":3255},{"style":552},[3256],{"type":399,"value":3257},"'Alice Johnson'",{"type":393,"tag":486,"props":3259,"children":3260},{"style":498},[3261],{"type":399,"value":570},{"type":393,"tag":486,"props":3263,"children":3264},{"style":552},[3265],{"type":399,"value":3266},"'Bob Smith'",{"type":393,"tag":486,"props":3268,"children":3269},{"style":498},[3270],{"type":399,"value":570},{"type":393,"tag":486,"props":3272,"children":3273},{"style":552},[3274],{"type":399,"value":3275},"'Charlie Brown'",{"type":393,"tag":486,"props":3277,"children":3278},{"style":498},[3279],{"type":399,"value":607},{"type":393,"tag":486,"props":3281,"children":3282},{"class":488,"line":63},[3283,3288,3292,3297,3301,3306,3310,3315],{"type":393,"tag":486,"props":3284,"children":3285},{"style":552},[3286],{"type":399,"value":3287},"    'department'",{"type":393,"tag":486,"props":3289,"children":3290},{"style":498},[3291],{"type":399,"value":560},{"type":393,"tag":486,"props":3293,"children":3294},{"style":552},[3295],{"type":399,"value":3296},"'Engineering'",{"type":393,"tag":486,"props":3298,"children":3299},{"style":498},[3300],{"type":399,"value":570},{"type":393,"tag":486,"props":3302,"children":3303},{"style":552},[3304],{"type":399,"value":3305},"'Sales'",{"type":393,"tag":486,"props":3307,"children":3308},{"style":498},[3309],{"type":399,"value":570},{"type":393,"tag":486,"props":3311,"children":3312},{"style":552},[3313],{"type":399,"value":3314},"'Marketing'",{"type":393,"tag":486,"props":3316,"children":3317},{"style":498},[3318],{"type":399,"value":607},{"type":393,"tag":486,"props":3320,"children":3321},{"class":488,"line":72},[3322,3327,3331,3336,3340,3345,3349,3354],{"type":393,"tag":486,"props":3323,"children":3324},{"style":552},[3325],{"type":399,"value":3326},"    'salary'",{"type":393,"tag":486,"props":3328,"children":3329},{"style":498},[3330],{"type":399,"value":560},{"type":393,"tag":486,"props":3332,"children":3333},{"style":622},[3334],{"type":399,"value":3335},"75000",{"type":393,"tag":486,"props":3337,"children":3338},{"style":498},[3339],{"type":399,"value":570},{"type":393,"tag":486,"props":3341,"children":3342},{"style":622},[3343],{"type":399,"value":3344},"65000",{"type":393,"tag":486,"props":3346,"children":3347},{"style":498},[3348],{"type":399,"value":570},{"type":393,"tag":486,"props":3350,"children":3351},{"style":622},[3352],{"type":399,"value":3353},"70000",{"type":393,"tag":486,"props":3355,"children":3356},{"style":498},[3357],{"type":399,"value":607},{"type":393,"tag":486,"props":3359,"children":3360},{"class":488,"line":83},[3361,3366,3370,3375,3379,3384,3388,3393],{"type":393,"tag":486,"props":3362,"children":3363},{"style":552},[3364],{"type":399,"value":3365},"    'start_date'",{"type":393,"tag":486,"props":3367,"children":3368},{"style":498},[3369],{"type":399,"value":560},{"type":393,"tag":486,"props":3371,"children":3372},{"style":552},[3373],{"type":399,"value":3374},"'2020-01-15'",{"type":393,"tag":486,"props":3376,"children":3377},{"style":498},[3378],{"type":399,"value":570},{"type":393,"tag":486,"props":3380,"children":3381},{"style":552},[3382],{"type":399,"value":3383},"'2019-06-10'",{"type":393,"tag":486,"props":3385,"children":3386},{"style":498},[3387],{"type":399,"value":570},{"type":393,"tag":486,"props":3389,"children":3390},{"style":552},[3391],{"type":399,"value":3392},"'2021-03-20'",{"type":393,"tag":486,"props":3394,"children":3395},{"style":498},[3396],{"type":399,"value":720},{"type":393,"tag":486,"props":3398,"children":3399},{"class":488,"line":92},[3400],{"type":393,"tag":486,"props":3401,"children":3402},{"style":498},[3403],{"type":399,"value":728},{"type":393,"tag":486,"props":3405,"children":3406},{"class":488,"line":101},[3407],{"type":393,"tag":486,"props":3408,"children":3409},{"emptyLinePlaceholder":12},[3410],{"type":399,"value":519},{"type":393,"tag":486,"props":3412,"children":3413},{"class":488,"line":110},[3414,3418,3422,3427],{"type":393,"tag":486,"props":3415,"children":3416},{"style":622},[3417],{"type":399,"value":743},{"type":393,"tag":486,"props":3419,"children":3420},{"style":498},[3421],{"type":399,"value":748},{"type":393,"tag":486,"props":3423,"children":3424},{"style":552},[3425],{"type":399,"value":3426},"\"Default view:\"",{"type":393,"tag":486,"props":3428,"children":3429},{"style":498},[3430],{"type":399,"value":758},{"type":393,"tag":486,"props":3432,"children":3433},{"class":488,"line":121},[3434,3438],{"type":393,"tag":486,"props":3435,"children":3436},{"style":622},[3437],{"type":399,"value":743},{"type":393,"tag":486,"props":3439,"children":3440},{"style":498},[3441],{"type":399,"value":3442},"(employees.head())\n",{"type":393,"tag":486,"props":3444,"children":3445},{"class":488,"line":130},[3446,3450],{"type":393,"tag":486,"props":3447,"children":3448},{"style":622},[3449],{"type":399,"value":743},{"type":393,"tag":486,"props":3451,"children":3452},{"style":498},[3453],{"type":399,"value":792},{"type":393,"tag":486,"props":3455,"children":3456},{"class":488,"line":139},[3457],{"type":393,"tag":486,"props":3458,"children":3459},{"emptyLinePlaceholder":12},[3460],{"type":399,"value":519},{"type":393,"tag":486,"props":3462,"children":3463},{"class":488,"line":148},[3464],{"type":393,"tag":486,"props":3465,"children":3466},{"style":525},[3467],{"type":399,"value":3468},"# View specific columns only\n",{"type":393,"tag":486,"props":3470,"children":3471},{"class":488,"line":159},[3472,3476,3480,3485],{"type":393,"tag":486,"props":3473,"children":3474},{"style":622},[3475],{"type":399,"value":743},{"type":393,"tag":486,"props":3477,"children":3478},{"style":498},[3479],{"type":399,"value":748},{"type":393,"tag":486,"props":3481,"children":3482},{"style":552},[3483],{"type":399,"value":3484},"\"Names and salaries only:\"",{"type":393,"tag":486,"props":3486,"children":3487},{"style":498},[3488],{"type":399,"value":758},{"type":393,"tag":486,"props":3490,"children":3491},{"class":488,"line":168},[3492,3496,3501,3506,3510,3515],{"type":393,"tag":486,"props":3493,"children":3494},{"style":622},[3495],{"type":399,"value":743},{"type":393,"tag":486,"props":3497,"children":3498},{"style":498},[3499],{"type":399,"value":3500},"(employees[[",{"type":393,"tag":486,"props":3502,"children":3503},{"style":552},[3504],{"type":399,"value":3505},"'name'",{"type":393,"tag":486,"props":3507,"children":3508},{"style":498},[3509],{"type":399,"value":570},{"type":393,"tag":486,"props":3511,"children":3512},{"style":552},[3513],{"type":399,"value":3514},"'salary'",{"type":393,"tag":486,"props":3516,"children":3517},{"style":498},[3518],{"type":399,"value":3519},"]].head())\n",{"type":393,"tag":486,"props":3521,"children":3522},{"class":488,"line":177},[3523,3527],{"type":393,"tag":486,"props":3524,"children":3525},{"style":622},[3526],{"type":399,"value":743},{"type":393,"tag":486,"props":3528,"children":3529},{"style":498},[3530],{"type":399,"value":792},{"type":393,"tag":486,"props":3532,"children":3533},{"class":488,"line":186},[3534],{"type":393,"tag":486,"props":3535,"children":3536},{"emptyLinePlaceholder":12},[3537],{"type":399,"value":519},{"type":393,"tag":486,"props":3539,"children":3540},{"class":488,"line":197},[3541],{"type":393,"tag":486,"props":3542,"children":3543},{"style":525},[3544],{"type":399,"value":3545},"# Sort before viewing\n",{"type":393,"tag":486,"props":3547,"children":3548},{"class":488,"line":206},[3549,3553,3557,3562],{"type":393,"tag":486,"props":3550,"children":3551},{"style":622},[3552],{"type":399,"value":743},{"type":393,"tag":486,"props":3554,"children":3555},{"style":498},[3556],{"type":399,"value":748},{"type":393,"tag":486,"props":3558,"children":3559},{"style":552},[3560],{"type":399,"value":3561},"\"Sorted by salary:\"",{"type":393,"tag":486,"props":3563,"children":3564},{"style":498},[3565],{"type":399,"value":758},{"type":393,"tag":486,"props":3567,"children":3568},{"class":488,"line":215},[3569,3573,3578,3582],{"type":393,"tag":486,"props":3570,"children":3571},{"style":622},[3572],{"type":399,"value":743},{"type":393,"tag":486,"props":3574,"children":3575},{"style":498},[3576],{"type":399,"value":3577},"(employees.sort_values(",{"type":393,"tag":486,"props":3579,"children":3580},{"style":552},[3581],{"type":399,"value":3514},{"type":393,"tag":486,"props":3583,"children":3584},{"style":498},[3585],{"type":399,"value":3586},").head())\n",{"type":393,"tag":459,"props":3588,"children":3590},{"id":3589},"exploring-data-quality",[3591],{"type":399,"value":3592},"🔍 Exploring Data Quality",{"type":393,"tag":402,"props":3594,"children":3595},{},[3596],{"type":399,"value":3597},"Use viewing to spot data issues:",{"type":393,"tag":471,"props":3599,"children":3600},{},[3601],{"type":393,"tag":475,"props":3602,"children":3604},{"className":477,"code":3603,"language":479,"meta":6,"style":6},"import pandas as pd\n\n# Data with quality issues\nmessy_data = pd.DataFrame({\n    'name': ['Alice', 'Bob', '', 'Diana'],\n    'age': [25, None, 30, 35],\n    'score': [85, 92, 78, None]\n})\n\nprint(\"Messy data:\")\nprint(messy_data)\nprint()\n\nprint(\"Check for missing values:\")\nprint(messy_data.isnull().sum())\nprint()\n\nprint(\"Non-null data only:\")\nprint(\"Names with data:\", messy_data['name'][messy_data['name'] != ''].tolist())\nprint(\"Ages with data:\", messy_data['age'].dropna().tolist())\n",[3605],{"type":393,"tag":482,"props":3606,"children":3607},{"__ignoreMap":6},[3608,3627,3634,3642,3658,3702,3747,3790,3797,3804,3824,3836,3847,3854,3874,3886,3897,3904,3924,3978],{"type":393,"tag":486,"props":3609,"children":3610},{"class":488,"line":11},[3611,3615,3619,3623],{"type":393,"tag":486,"props":3612,"children":3613},{"style":492},[3614],{"type":399,"value":495},{"type":393,"tag":486,"props":3616,"children":3617},{"style":498},[3618],{"type":399,"value":501},{"type":393,"tag":486,"props":3620,"children":3621},{"style":492},[3622],{"type":399,"value":506},{"type":393,"tag":486,"props":3624,"children":3625},{"style":498},[3626],{"type":399,"value":511},{"type":393,"tag":486,"props":3628,"children":3629},{"class":488,"line":27},[3630],{"type":393,"tag":486,"props":3631,"children":3632},{"emptyLinePlaceholder":12},[3633],{"type":399,"value":519},{"type":393,"tag":486,"props":3635,"children":3636},{"class":488,"line":36},[3637],{"type":393,"tag":486,"props":3638,"children":3639},{"style":525},[3640],{"type":399,"value":3641},"# Data with quality issues\n",{"type":393,"tag":486,"props":3643,"children":3644},{"class":488,"line":45},[3645,3650,3654],{"type":393,"tag":486,"props":3646,"children":3647},{"style":498},[3648],{"type":399,"value":3649},"messy_data ",{"type":393,"tag":486,"props":3651,"children":3652},{"style":492},[3653],{"type":399,"value":541},{"type":393,"tag":486,"props":3655,"children":3656},{"style":498},[3657],{"type":399,"value":546},{"type":393,"tag":486,"props":3659,"children":3660},{"class":488,"line":54},[3661,3665,3669,3673,3677,3681,3685,3690,3694,3698],{"type":393,"tag":486,"props":3662,"children":3663},{"style":552},[3664],{"type":399,"value":555},{"type":393,"tag":486,"props":3666,"children":3667},{"style":498},[3668],{"type":399,"value":560},{"type":393,"tag":486,"props":3670,"children":3671},{"style":552},[3672],{"type":399,"value":977},{"type":393,"tag":486,"props":3674,"children":3675},{"style":498},[3676],{"type":399,"value":570},{"type":393,"tag":486,"props":3678,"children":3679},{"style":552},[3680],{"type":399,"value":986},{"type":393,"tag":486,"props":3682,"children":3683},{"style":498},[3684],{"type":399,"value":570},{"type":393,"tag":486,"props":3686,"children":3687},{"style":552},[3688],{"type":399,"value":3689},"''",{"type":393,"tag":486,"props":3691,"children":3692},{"style":498},[3693],{"type":399,"value":570},{"type":393,"tag":486,"props":3695,"children":3696},{"style":552},[3697],{"type":399,"value":1004},{"type":393,"tag":486,"props":3699,"children":3700},{"style":498},[3701],{"type":399,"value":607},{"type":393,"tag":486,"props":3703,"children":3704},{"class":488,"line":63},[3705,3709,3713,3717,3721,3726,3730,3734,3738,3743],{"type":393,"tag":486,"props":3706,"children":3707},{"style":552},[3708],{"type":399,"value":1450},{"type":393,"tag":486,"props":3710,"children":3711},{"style":498},[3712],{"type":399,"value":560},{"type":393,"tag":486,"props":3714,"children":3715},{"style":622},[3716],{"type":399,"value":634},{"type":393,"tag":486,"props":3718,"children":3719},{"style":498},[3720],{"type":399,"value":570},{"type":393,"tag":486,"props":3722,"children":3723},{"style":622},[3724],{"type":399,"value":3725},"None",{"type":393,"tag":486,"props":3727,"children":3728},{"style":498},[3729],{"type":399,"value":570},{"type":393,"tag":486,"props":3731,"children":3732},{"style":622},[3733],{"type":399,"value":2062},{"type":393,"tag":486,"props":3735,"children":3736},{"style":498},[3737],{"type":399,"value":570},{"type":393,"tag":486,"props":3739,"children":3740},{"style":622},[3741],{"type":399,"value":3742},"35",{"type":393,"tag":486,"props":3744,"children":3745},{"style":498},[3746],{"type":399,"value":607},{"type":393,"tag":486,"props":3748,"children":3749},{"class":488,"line":72},[3750,3754,3758,3762,3766,3770,3774,3778,3782,3786],{"type":393,"tag":486,"props":3751,"children":3752},{"style":552},[3753],{"type":399,"value":1097},{"type":393,"tag":486,"props":3755,"children":3756},{"style":498},[3757],{"type":399,"value":560},{"type":393,"tag":486,"props":3759,"children":3760},{"style":622},[3761],{"type":399,"value":1106},{"type":393,"tag":486,"props":3763,"children":3764},{"style":498},[3765],{"type":399,"value":570},{"type":393,"tag":486,"props":3767,"children":3768},{"style":622},[3769],{"type":399,"value":1124},{"type":393,"tag":486,"props":3771,"children":3772},{"style":498},[3773],{"type":399,"value":570},{"type":393,"tag":486,"props":3775,"children":3776},{"style":622},[3777],{"type":399,"value":1115},{"type":393,"tag":486,"props":3779,"children":3780},{"style":498},[3781],{"type":399,"value":570},{"type":393,"tag":486,"props":3783,"children":3784},{"style":622},[3785],{"type":399,"value":3725},{"type":393,"tag":486,"props":3787,"children":3788},{"style":498},[3789],{"type":399,"value":720},{"type":393,"tag":486,"props":3791,"children":3792},{"class":488,"line":83},[3793],{"type":393,"tag":486,"props":3794,"children":3795},{"style":498},[3796],{"type":399,"value":728},{"type":393,"tag":486,"props":3798,"children":3799},{"class":488,"line":92},[3800],{"type":393,"tag":486,"props":3801,"children":3802},{"emptyLinePlaceholder":12},[3803],{"type":399,"value":519},{"type":393,"tag":486,"props":3805,"children":3806},{"class":488,"line":101},[3807,3811,3815,3820],{"type":393,"tag":486,"props":3808,"children":3809},{"style":622},[3810],{"type":399,"value":743},{"type":393,"tag":486,"props":3812,"children":3813},{"style":498},[3814],{"type":399,"value":748},{"type":393,"tag":486,"props":3816,"children":3817},{"style":552},[3818],{"type":399,"value":3819},"\"Messy data:\"",{"type":393,"tag":486,"props":3821,"children":3822},{"style":498},[3823],{"type":399,"value":758},{"type":393,"tag":486,"props":3825,"children":3826},{"class":488,"line":110},[3827,3831],{"type":393,"tag":486,"props":3828,"children":3829},{"style":622},[3830],{"type":399,"value":743},{"type":393,"tag":486,"props":3832,"children":3833},{"style":498},[3834],{"type":399,"value":3835},"(messy_data)\n",{"type":393,"tag":486,"props":3837,"children":3838},{"class":488,"line":121},[3839,3843],{"type":393,"tag":486,"props":3840,"children":3841},{"style":622},[3842],{"type":399,"value":743},{"type":393,"tag":486,"props":3844,"children":3845},{"style":498},[3846],{"type":399,"value":792},{"type":393,"tag":486,"props":3848,"children":3849},{"class":488,"line":130},[3850],{"type":393,"tag":486,"props":3851,"children":3852},{"emptyLinePlaceholder":12},[3853],{"type":399,"value":519},{"type":393,"tag":486,"props":3855,"children":3856},{"class":488,"line":139},[3857,3861,3865,3870],{"type":393,"tag":486,"props":3858,"children":3859},{"style":622},[3860],{"type":399,"value":743},{"type":393,"tag":486,"props":3862,"children":3863},{"style":498},[3864],{"type":399,"value":748},{"type":393,"tag":486,"props":3866,"children":3867},{"style":552},[3868],{"type":399,"value":3869},"\"Check for missing values:\"",{"type":393,"tag":486,"props":3871,"children":3872},{"style":498},[3873],{"type":399,"value":758},{"type":393,"tag":486,"props":3875,"children":3876},{"class":488,"line":148},[3877,3881],{"type":393,"tag":486,"props":3878,"children":3879},{"style":622},[3880],{"type":399,"value":743},{"type":393,"tag":486,"props":3882,"children":3883},{"style":498},[3884],{"type":399,"value":3885},"(messy_data.isnull().sum())\n",{"type":393,"tag":486,"props":3887,"children":3888},{"class":488,"line":159},[3889,3893],{"type":393,"tag":486,"props":3890,"children":3891},{"style":622},[3892],{"type":399,"value":743},{"type":393,"tag":486,"props":3894,"children":3895},{"style":498},[3896],{"type":399,"value":792},{"type":393,"tag":486,"props":3898,"children":3899},{"class":488,"line":168},[3900],{"type":393,"tag":486,"props":3901,"children":3902},{"emptyLinePlaceholder":12},[3903],{"type":399,"value":519},{"type":393,"tag":486,"props":3905,"children":3906},{"class":488,"line":177},[3907,3911,3915,3920],{"type":393,"tag":486,"props":3908,"children":3909},{"style":622},[3910],{"type":399,"value":743},{"type":393,"tag":486,"props":3912,"children":3913},{"style":498},[3914],{"type":399,"value":748},{"type":393,"tag":486,"props":3916,"children":3917},{"style":552},[3918],{"type":399,"value":3919},"\"Non-null data only:\"",{"type":393,"tag":486,"props":3921,"children":3922},{"style":498},[3923],{"type":399,"value":758},{"type":393,"tag":486,"props":3925,"children":3926},{"class":488,"line":186},[3927,3931,3935,3940,3945,3949,3954,3958,3963,3968,3973],{"type":393,"tag":486,"props":3928,"children":3929},{"style":622},[3930],{"type":399,"value":743},{"type":393,"tag":486,"props":3932,"children":3933},{"style":498},[3934],{"type":399,"value":748},{"type":393,"tag":486,"props":3936,"children":3937},{"style":552},[3938],{"type":399,"value":3939},"\"Names with data:\"",{"type":393,"tag":486,"props":3941,"children":3942},{"style":498},[3943],{"type":399,"value":3944},", messy_data[",{"type":393,"tag":486,"props":3946,"children":3947},{"style":552},[3948],{"type":399,"value":3505},{"type":393,"tag":486,"props":3950,"children":3951},{"style":498},[3952],{"type":399,"value":3953},"][messy_data[",{"type":393,"tag":486,"props":3955,"children":3956},{"style":552},[3957],{"type":399,"value":3505},{"type":393,"tag":486,"props":3959,"children":3960},{"style":498},[3961],{"type":399,"value":3962},"] ",{"type":393,"tag":486,"props":3964,"children":3965},{"style":492},[3966],{"type":399,"value":3967},"!=",{"type":393,"tag":486,"props":3969,"children":3970},{"style":552},[3971],{"type":399,"value":3972}," ''",{"type":393,"tag":486,"props":3974,"children":3975},{"style":498},[3976],{"type":399,"value":3977},"].tolist())\n",{"type":393,"tag":486,"props":3979,"children":3980},{"class":488,"line":197},[3981,3985,3989,3994,3998,4002],{"type":393,"tag":486,"props":3982,"children":3983},{"style":622},[3984],{"type":399,"value":743},{"type":393,"tag":486,"props":3986,"children":3987},{"style":498},[3988],{"type":399,"value":748},{"type":393,"tag":486,"props":3990,"children":3991},{"style":552},[3992],{"type":399,"value":3993},"\"Ages with data:\"",{"type":393,"tag":486,"props":3995,"children":3996},{"style":498},[3997],{"type":399,"value":3944},{"type":393,"tag":486,"props":3999,"children":4000},{"style":552},[4001],{"type":399,"value":1801},{"type":393,"tag":486,"props":4003,"children":4004},{"style":498},[4005],{"type":399,"value":4006},"].dropna().tolist())\n",{"type":393,"tag":459,"props":4008,"children":4010},{"id":4009},"viewing-best-practices",[4011],{"type":399,"value":4012},"🎯 Viewing Best Practices",{"type":393,"tag":408,"props":4014,"children":4018},{"emoji":4015,"title":4016,"type":4017},"📚","Smart Data Viewing","success",[4019,4027,4063,4071,4118,4126,4145,4153,4176,4184,4220],{"type":393,"tag":402,"props":4020,"children":4021},{},[4022],{"type":393,"tag":418,"props":4023,"children":4024},{},[4025],{"type":399,"value":4026},"Start With:",{"type":393,"tag":424,"props":4028,"children":4029},{},[4030,4041,4052],{"type":393,"tag":428,"props":4031,"children":4032},{},[4033,4039],{"type":393,"tag":482,"props":4034,"children":4036},{"className":4035},[],[4037],{"type":399,"value":4038},".shape",{"type":399,"value":4040}," - Know your data size",{"type":393,"tag":428,"props":4042,"children":4043},{},[4044,4050],{"type":393,"tag":482,"props":4045,"children":4047},{"className":4046},[],[4048],{"type":399,"value":4049},".head()",{"type":399,"value":4051}," - See structure and format",{"type":393,"tag":428,"props":4053,"children":4054},{},[4055,4061],{"type":393,"tag":482,"props":4056,"children":4058},{"className":4057},[],[4059],{"type":399,"value":4060},".sample()",{"type":399,"value":4062}," - Get random examples",{"type":393,"tag":402,"props":4064,"children":4065},{},[4066],{"type":393,"tag":418,"props":4067,"children":4068},{},[4069],{"type":399,"value":4070},"For Large Data:",{"type":393,"tag":424,"props":4072,"children":4073},{},[4074,4093,4106],{"type":393,"tag":428,"props":4075,"children":4076},{},[4077,4079,4085,4087],{"type":399,"value":4078},"Use ",{"type":393,"tag":482,"props":4080,"children":4082},{"className":4081},[],[4083],{"type":399,"value":4084},".head(10)",{"type":399,"value":4086}," or ",{"type":393,"tag":482,"props":4088,"children":4090},{"className":4089},[],[4091],{"type":399,"value":4092},".head(20)",{"type":393,"tag":428,"props":4094,"children":4095},{},[4096,4098,4104],{"type":399,"value":4097},"Check ",{"type":393,"tag":482,"props":4099,"children":4101},{"className":4100},[],[4102],{"type":399,"value":4103},".tail()",{"type":399,"value":4105}," to see if data changes",{"type":393,"tag":428,"props":4107,"children":4108},{},[4109,4110,4116],{"type":399,"value":4078},{"type":393,"tag":482,"props":4111,"children":4113},{"className":4112},[],[4114],{"type":399,"value":4115},".sample(50)",{"type":399,"value":4117}," for representative view",{"type":393,"tag":402,"props":4119,"children":4120},{},[4121],{"type":393,"tag":418,"props":4122,"children":4123},{},[4124],{"type":399,"value":4125},"For Small Data:",{"type":393,"tag":424,"props":4127,"children":4128},{},[4129,4134],{"type":393,"tag":428,"props":4130,"children":4131},{},[4132],{"type":399,"value":4133},"Print the whole DataFrame if \u003C 20 rows",{"type":393,"tag":428,"props":4135,"children":4136},{},[4137,4138,4143],{"type":399,"value":4078},{"type":393,"tag":482,"props":4139,"children":4141},{"className":4140},[],[4142],{"type":399,"value":3160},{"type":399,"value":4144}," for quick overview",{"type":393,"tag":402,"props":4146,"children":4147},{},[4148],{"type":393,"tag":418,"props":4149,"children":4150},{},[4151],{"type":399,"value":4152},"Look For:",{"type":393,"tag":424,"props":4154,"children":4155},{},[4156,4161,4166,4171],{"type":393,"tag":428,"props":4157,"children":4158},{},[4159],{"type":399,"value":4160},"Missing values (NaN, empty strings)",{"type":393,"tag":428,"props":4162,"children":4163},{},[4164],{"type":399,"value":4165},"Unexpected data types",{"type":393,"tag":428,"props":4167,"children":4168},{},[4169],{"type":399,"value":4170},"Consistent formatting",{"type":393,"tag":428,"props":4172,"children":4173},{},[4174],{"type":399,"value":4175},"Obvious errors or outliers",{"type":393,"tag":402,"props":4177,"children":4178},{},[4179],{"type":393,"tag":418,"props":4180,"children":4181},{},[4182],{"type":399,"value":4183},"Pro Tips:",{"type":393,"tag":424,"props":4185,"children":4186},{},[4187,4192,4197,4202],{"type":393,"tag":428,"props":4188,"children":4189},{},[4190],{"type":399,"value":4191},"View data immediately after loading",{"type":393,"tag":428,"props":4193,"children":4194},{},[4195],{"type":399,"value":4196},"Check both beginning and end of dataset",{"type":393,"tag":428,"props":4198,"children":4199},{},[4200],{"type":399,"value":4201},"Use sampling for large datasets",{"type":393,"tag":428,"props":4203,"children":4204},{},[4205,4207,4212,4214],{"type":399,"value":4206},"Combine viewing with ",{"type":393,"tag":482,"props":4208,"children":4210},{"className":4209},[],[4211],{"type":399,"value":3160},{"type":399,"value":4213}," and ",{"type":393,"tag":482,"props":4215,"children":4217},{"className":4216},[],[4218],{"type":399,"value":4219},".describe()",{"type":393,"tag":402,"props":4221,"children":4222},{},[4223,4228],{"type":393,"tag":418,"props":4224,"children":4225},{},[4226],{"type":399,"value":4227},"Remember:",{"type":399,"value":4229}," Good viewing leads to better understanding!",{"type":393,"tag":459,"props":4231,"children":4233},{"id":4232},"practice-viewing",[4234],{"type":399,"value":4235},"🎮 Practice Viewing",{"type":393,"tag":402,"props":4237,"children":4238},{},[4239],{"type":399,"value":4240},"Let's practice different viewing techniques:",{"type":393,"tag":471,"props":4242,"children":4243},{},[4244],{"type":393,"tag":475,"props":4245,"children":4247},{"className":477,"code":4246,"language":479,"meta":6,"style":6},"import pandas as pd\n\n# Practice dataset\npractice_data = pd.DataFrame({\n    'customer_id': [1001, 1002, 1003, 1004, 1005, 1006],\n    'product': ['Laptop', 'Mouse', 'Keyboard', 'Monitor', 'Tablet', 'Phone'],\n    'rating': [5, 4, 5, 3, 4, 5],\n    'purchase_date': ['2023-01-15', '2023-01-16', '2023-01-17', \n                      '2023-01-18', '2023-01-19', '2023-01-20']\n})\n\nprint(\"🎯 Viewing Practice:\")\nprint()\n\nprint(\"1. Quick overview:\")\nprint(f\"   Dataset has {practice_data.shape[0]} rows, {practice_data.shape[1]} columns\")\nprint()\n\nprint(\"2. First look:\")\nprint(practice_data.head(3))\nprint()\n\nprint(\"3. Random sample:\")\nprint(practice_data.sample(2))\nprint()\n\nprint(\"4. Key columns only:\")\nprint(practice_data[['product', 'rating']].head())\n",[4248],{"type":393,"tag":482,"props":4249,"children":4250},{"__ignoreMap":6},[4251,4270,4277,4285,4301,4367,4427,4487,4527,4557,4564,4571,4591,4602,4609,4629,4705,4716,4723,4743,4763,4774,4781,4801,4821,4832,4839,4859],{"type":393,"tag":486,"props":4252,"children":4253},{"class":488,"line":11},[4254,4258,4262,4266],{"type":393,"tag":486,"props":4255,"children":4256},{"style":492},[4257],{"type":399,"value":495},{"type":393,"tag":486,"props":4259,"children":4260},{"style":498},[4261],{"type":399,"value":501},{"type":393,"tag":486,"props":4263,"children":4264},{"style":492},[4265],{"type":399,"value":506},{"type":393,"tag":486,"props":4267,"children":4268},{"style":498},[4269],{"type":399,"value":511},{"type":393,"tag":486,"props":4271,"children":4272},{"class":488,"line":27},[4273],{"type":393,"tag":486,"props":4274,"children":4275},{"emptyLinePlaceholder":12},[4276],{"type":399,"value":519},{"type":393,"tag":486,"props":4278,"children":4279},{"class":488,"line":36},[4280],{"type":393,"tag":486,"props":4281,"children":4282},{"style":525},[4283],{"type":399,"value":4284},"# Practice dataset\n",{"type":393,"tag":486,"props":4286,"children":4287},{"class":488,"line":45},[4288,4293,4297],{"type":393,"tag":486,"props":4289,"children":4290},{"style":498},[4291],{"type":399,"value":4292},"practice_data ",{"type":393,"tag":486,"props":4294,"children":4295},{"style":492},[4296],{"type":399,"value":541},{"type":393,"tag":486,"props":4298,"children":4299},{"style":498},[4300],{"type":399,"value":546},{"type":393,"tag":486,"props":4302,"children":4303},{"class":488,"line":54},[4304,4309,4313,4318,4322,4327,4331,4336,4340,4345,4349,4354,4358,4363],{"type":393,"tag":486,"props":4305,"children":4306},{"style":552},[4307],{"type":399,"value":4308},"    'customer_id'",{"type":393,"tag":486,"props":4310,"children":4311},{"style":498},[4312],{"type":399,"value":560},{"type":393,"tag":486,"props":4314,"children":4315},{"style":622},[4316],{"type":399,"value":4317},"1001",{"type":393,"tag":486,"props":4319,"children":4320},{"style":498},[4321],{"type":399,"value":570},{"type":393,"tag":486,"props":4323,"children":4324},{"style":622},[4325],{"type":399,"value":4326},"1002",{"type":393,"tag":486,"props":4328,"children":4329},{"style":498},[4330],{"type":399,"value":570},{"type":393,"tag":486,"props":4332,"children":4333},{"style":622},[4334],{"type":399,"value":4335},"1003",{"type":393,"tag":486,"props":4337,"children":4338},{"style":498},[4339],{"type":399,"value":570},{"type":393,"tag":486,"props":4341,"children":4342},{"style":622},[4343],{"type":399,"value":4344},"1004",{"type":393,"tag":486,"props":4346,"children":4347},{"style":498},[4348],{"type":399,"value":570},{"type":393,"tag":486,"props":4350,"children":4351},{"style":622},[4352],{"type":399,"value":4353},"1005",{"type":393,"tag":486,"props":4355,"children":4356},{"style":498},[4357],{"type":399,"value":570},{"type":393,"tag":486,"props":4359,"children":4360},{"style":622},[4361],{"type":399,"value":4362},"1006",{"type":393,"tag":486,"props":4364,"children":4365},{"style":498},[4366],{"type":399,"value":607},{"type":393,"tag":486,"props":4368,"children":4369},{"class":488,"line":63},[4370,4374,4378,4382,4386,4390,4394,4398,4402,4406,4410,4414,4418,4423],{"type":393,"tag":486,"props":4371,"children":4372},{"style":552},[4373],{"type":399,"value":1893},{"type":393,"tag":486,"props":4375,"children":4376},{"style":498},[4377],{"type":399,"value":560},{"type":393,"tag":486,"props":4379,"children":4380},{"style":552},[4381],{"type":399,"value":565},{"type":393,"tag":486,"props":4383,"children":4384},{"style":498},[4385],{"type":399,"value":570},{"type":393,"tag":486,"props":4387,"children":4388},{"style":552},[4389],{"type":399,"value":575},{"type":393,"tag":486,"props":4391,"children":4392},{"style":498},[4393],{"type":399,"value":570},{"type":393,"tag":486,"props":4395,"children":4396},{"style":552},[4397],{"type":399,"value":584},{"type":393,"tag":486,"props":4399,"children":4400},{"style":498},[4401],{"type":399,"value":570},{"type":393,"tag":486,"props":4403,"children":4404},{"style":552},[4405],{"type":399,"value":593},{"type":393,"tag":486,"props":4407,"children":4408},{"style":498},[4409],{"type":399,"value":570},{"type":393,"tag":486,"props":4411,"children":4412},{"style":552},[4413],{"type":399,"value":602},{"type":393,"tag":486,"props":4415,"children":4416},{"style":498},[4417],{"type":399,"value":570},{"type":393,"tag":486,"props":4419,"children":4420},{"style":552},[4421],{"type":399,"value":4422},"'Phone'",{"type":393,"tag":486,"props":4424,"children":4425},{"style":498},[4426],{"type":399,"value":607},{"type":393,"tag":486,"props":4428,"children":4429},{"class":488,"line":72},[4430,4435,4439,4443,4447,4451,4455,4459,4463,4467,4471,4475,4479,4483],{"type":393,"tag":486,"props":4431,"children":4432},{"style":552},[4433],{"type":399,"value":4434},"    'rating'",{"type":393,"tag":486,"props":4436,"children":4437},{"style":498},[4438],{"type":399,"value":560},{"type":393,"tag":486,"props":4440,"children":4441},{"style":622},[4442],{"type":399,"value":1438},{"type":393,"tag":486,"props":4444,"children":4445},{"style":498},[4446],{"type":399,"value":570},{"type":393,"tag":486,"props":4448,"children":4449},{"style":622},[4450],{"type":399,"value":1429},{"type":393,"tag":486,"props":4452,"children":4453},{"style":498},[4454],{"type":399,"value":570},{"type":393,"tag":486,"props":4456,"children":4457},{"style":622},[4458],{"type":399,"value":1438},{"type":393,"tag":486,"props":4460,"children":4461},{"style":498},[4462],{"type":399,"value":570},{"type":393,"tag":486,"props":4464,"children":4465},{"style":622},[4466],{"type":399,"value":775},{"type":393,"tag":486,"props":4468,"children":4469},{"style":498},[4470],{"type":399,"value":570},{"type":393,"tag":486,"props":4472,"children":4473},{"style":622},[4474],{"type":399,"value":1429},{"type":393,"tag":486,"props":4476,"children":4477},{"style":498},[4478],{"type":399,"value":570},{"type":393,"tag":486,"props":4480,"children":4481},{"style":622},[4482],{"type":399,"value":1438},{"type":393,"tag":486,"props":4484,"children":4485},{"style":498},[4486],{"type":399,"value":607},{"type":393,"tag":486,"props":4488,"children":4489},{"class":488,"line":83},[4490,4495,4499,4504,4508,4513,4517,4522],{"type":393,"tag":486,"props":4491,"children":4492},{"style":552},[4493],{"type":399,"value":4494},"    'purchase_date'",{"type":393,"tag":486,"props":4496,"children":4497},{"style":498},[4498],{"type":399,"value":560},{"type":393,"tag":486,"props":4500,"children":4501},{"style":552},[4502],{"type":399,"value":4503},"'2023-01-15'",{"type":393,"tag":486,"props":4505,"children":4506},{"style":498},[4507],{"type":399,"value":570},{"type":393,"tag":486,"props":4509,"children":4510},{"style":552},[4511],{"type":399,"value":4512},"'2023-01-16'",{"type":393,"tag":486,"props":4514,"children":4515},{"style":498},[4516],{"type":399,"value":570},{"type":393,"tag":486,"props":4518,"children":4519},{"style":552},[4520],{"type":399,"value":4521},"'2023-01-17'",{"type":393,"tag":486,"props":4523,"children":4524},{"style":498},[4525],{"type":399,"value":4526},", \n",{"type":393,"tag":486,"props":4528,"children":4529},{"class":488,"line":92},[4530,4535,4539,4544,4548,4553],{"type":393,"tag":486,"props":4531,"children":4532},{"style":552},[4533],{"type":399,"value":4534},"                      '2023-01-18'",{"type":393,"tag":486,"props":4536,"children":4537},{"style":498},[4538],{"type":399,"value":570},{"type":393,"tag":486,"props":4540,"children":4541},{"style":552},[4542],{"type":399,"value":4543},"'2023-01-19'",{"type":393,"tag":486,"props":4545,"children":4546},{"style":498},[4547],{"type":399,"value":570},{"type":393,"tag":486,"props":4549,"children":4550},{"style":552},[4551],{"type":399,"value":4552},"'2023-01-20'",{"type":393,"tag":486,"props":4554,"children":4555},{"style":498},[4556],{"type":399,"value":720},{"type":393,"tag":486,"props":4558,"children":4559},{"class":488,"line":101},[4560],{"type":393,"tag":486,"props":4561,"children":4562},{"style":498},[4563],{"type":399,"value":728},{"type":393,"tag":486,"props":4565,"children":4566},{"class":488,"line":110},[4567],{"type":393,"tag":486,"props":4568,"children":4569},{"emptyLinePlaceholder":12},[4570],{"type":399,"value":519},{"type":393,"tag":486,"props":4572,"children":4573},{"class":488,"line":121},[4574,4578,4582,4587],{"type":393,"tag":486,"props":4575,"children":4576},{"style":622},[4577],{"type":399,"value":743},{"type":393,"tag":486,"props":4579,"children":4580},{"style":498},[4581],{"type":399,"value":748},{"type":393,"tag":486,"props":4583,"children":4584},{"style":552},[4585],{"type":399,"value":4586},"\"🎯 Viewing Practice:\"",{"type":393,"tag":486,"props":4588,"children":4589},{"style":498},[4590],{"type":399,"value":758},{"type":393,"tag":486,"props":4592,"children":4593},{"class":488,"line":130},[4594,4598],{"type":393,"tag":486,"props":4595,"children":4596},{"style":622},[4597],{"type":399,"value":743},{"type":393,"tag":486,"props":4599,"children":4600},{"style":498},[4601],{"type":399,"value":792},{"type":393,"tag":486,"props":4603,"children":4604},{"class":488,"line":139},[4605],{"type":393,"tag":486,"props":4606,"children":4607},{"emptyLinePlaceholder":12},[4608],{"type":399,"value":519},{"type":393,"tag":486,"props":4610,"children":4611},{"class":488,"line":148},[4612,4616,4620,4625],{"type":393,"tag":486,"props":4613,"children":4614},{"style":622},[4615],{"type":399,"value":743},{"type":393,"tag":486,"props":4617,"children":4618},{"style":498},[4619],{"type":399,"value":748},{"type":393,"tag":486,"props":4621,"children":4622},{"style":552},[4623],{"type":399,"value":4624},"\"1. Quick overview:\"",{"type":393,"tag":486,"props":4626,"children":4627},{"style":498},[4628],{"type":399,"value":758},{"type":393,"tag":486,"props":4630,"children":4631},{"class":488,"line":159},[4632,4636,4640,4644,4649,4653,4658,4662,4667,4671,4676,4680,4684,4688,4692,4696,4701],{"type":393,"tag":486,"props":4633,"children":4634},{"style":622},[4635],{"type":399,"value":743},{"type":393,"tag":486,"props":4637,"children":4638},{"style":498},[4639],{"type":399,"value":748},{"type":393,"tag":486,"props":4641,"children":4642},{"style":492},[4643],{"type":399,"value":2125},{"type":393,"tag":486,"props":4645,"children":4646},{"style":552},[4647],{"type":399,"value":4648},"\"   Dataset has ",{"type":393,"tag":486,"props":4650,"children":4651},{"style":622},[4652],{"type":399,"value":2135},{"type":393,"tag":486,"props":4654,"children":4655},{"style":498},[4656],{"type":399,"value":4657},"practice_data.shape[",{"type":393,"tag":486,"props":4659,"children":4660},{"style":622},[4661],{"type":399,"value":1657},{"type":393,"tag":486,"props":4663,"children":4664},{"style":498},[4665],{"type":399,"value":4666},"]",{"type":393,"tag":486,"props":4668,"children":4669},{"style":622},[4670],{"type":399,"value":2145},{"type":393,"tag":486,"props":4672,"children":4673},{"style":552},[4674],{"type":399,"value":4675}," rows, ",{"type":393,"tag":486,"props":4677,"children":4678},{"style":622},[4679],{"type":399,"value":2135},{"type":393,"tag":486,"props":4681,"children":4682},{"style":498},[4683],{"type":399,"value":4657},{"type":393,"tag":486,"props":4685,"children":4686},{"style":622},[4687],{"type":399,"value":1404},{"type":393,"tag":486,"props":4689,"children":4690},{"style":498},[4691],{"type":399,"value":4666},{"type":393,"tag":486,"props":4693,"children":4694},{"style":622},[4695],{"type":399,"value":2145},{"type":393,"tag":486,"props":4697,"children":4698},{"style":552},[4699],{"type":399,"value":4700}," columns\"",{"type":393,"tag":486,"props":4702,"children":4703},{"style":498},[4704],{"type":399,"value":758},{"type":393,"tag":486,"props":4706,"children":4707},{"class":488,"line":168},[4708,4712],{"type":393,"tag":486,"props":4709,"children":4710},{"style":622},[4711],{"type":399,"value":743},{"type":393,"tag":486,"props":4713,"children":4714},{"style":498},[4715],{"type":399,"value":792},{"type":393,"tag":486,"props":4717,"children":4718},{"class":488,"line":177},[4719],{"type":393,"tag":486,"props":4720,"children":4721},{"emptyLinePlaceholder":12},[4722],{"type":399,"value":519},{"type":393,"tag":486,"props":4724,"children":4725},{"class":488,"line":186},[4726,4730,4734,4739],{"type":393,"tag":486,"props":4727,"children":4728},{"style":622},[4729],{"type":399,"value":743},{"type":393,"tag":486,"props":4731,"children":4732},{"style":498},[4733],{"type":399,"value":748},{"type":393,"tag":486,"props":4735,"children":4736},{"style":552},[4737],{"type":399,"value":4738},"\"2. First look:\"",{"type":393,"tag":486,"props":4740,"children":4741},{"style":498},[4742],{"type":399,"value":758},{"type":393,"tag":486,"props":4744,"children":4745},{"class":488,"line":197},[4746,4750,4755,4759],{"type":393,"tag":486,"props":4747,"children":4748},{"style":622},[4749],{"type":399,"value":743},{"type":393,"tag":486,"props":4751,"children":4752},{"style":498},[4753],{"type":399,"value":4754},"(practice_data.head(",{"type":393,"tag":486,"props":4756,"children":4757},{"style":622},[4758],{"type":399,"value":775},{"type":393,"tag":486,"props":4760,"children":4761},{"style":498},[4762],{"type":399,"value":780},{"type":393,"tag":486,"props":4764,"children":4765},{"class":488,"line":206},[4766,4770],{"type":393,"tag":486,"props":4767,"children":4768},{"style":622},[4769],{"type":399,"value":743},{"type":393,"tag":486,"props":4771,"children":4772},{"style":498},[4773],{"type":399,"value":792},{"type":393,"tag":486,"props":4775,"children":4776},{"class":488,"line":215},[4777],{"type":393,"tag":486,"props":4778,"children":4779},{"emptyLinePlaceholder":12},[4780],{"type":399,"value":519},{"type":393,"tag":486,"props":4782,"children":4783},{"class":488,"line":224},[4784,4788,4792,4797],{"type":393,"tag":486,"props":4785,"children":4786},{"style":622},[4787],{"type":399,"value":743},{"type":393,"tag":486,"props":4789,"children":4790},{"style":498},[4791],{"type":399,"value":748},{"type":393,"tag":486,"props":4793,"children":4794},{"style":552},[4795],{"type":399,"value":4796},"\"3. Random sample:\"",{"type":393,"tag":486,"props":4798,"children":4799},{"style":498},[4800],{"type":399,"value":758},{"type":393,"tag":486,"props":4802,"children":4803},{"class":488,"line":233},[4804,4808,4813,4817],{"type":393,"tag":486,"props":4805,"children":4806},{"style":622},[4807],{"type":399,"value":743},{"type":393,"tag":486,"props":4809,"children":4810},{"style":498},[4811],{"type":399,"value":4812},"(practice_data.sample(",{"type":393,"tag":486,"props":4814,"children":4815},{"style":622},[4816],{"type":399,"value":836},{"type":393,"tag":486,"props":4818,"children":4819},{"style":498},[4820],{"type":399,"value":780},{"type":393,"tag":486,"props":4822,"children":4823},{"class":488,"line":244},[4824,4828],{"type":393,"tag":486,"props":4825,"children":4826},{"style":622},[4827],{"type":399,"value":743},{"type":393,"tag":486,"props":4829,"children":4830},{"style":498},[4831],{"type":399,"value":792},{"type":393,"tag":486,"props":4833,"children":4834},{"class":488,"line":253},[4835],{"type":393,"tag":486,"props":4836,"children":4837},{"emptyLinePlaceholder":12},[4838],{"type":399,"value":519},{"type":393,"tag":486,"props":4840,"children":4841},{"class":488,"line":262},[4842,4846,4850,4855],{"type":393,"tag":486,"props":4843,"children":4844},{"style":622},[4845],{"type":399,"value":743},{"type":393,"tag":486,"props":4847,"children":4848},{"style":498},[4849],{"type":399,"value":748},{"type":393,"tag":486,"props":4851,"children":4852},{"style":552},[4853],{"type":399,"value":4854},"\"4. Key columns only:\"",{"type":393,"tag":486,"props":4856,"children":4857},{"style":498},[4858],{"type":399,"value":758},{"type":393,"tag":486,"props":4860,"children":4861},{"class":488,"line":271},[4862,4866,4871,4875,4879,4884],{"type":393,"tag":486,"props":4863,"children":4864},{"style":622},[4865],{"type":399,"value":743},{"type":393,"tag":486,"props":4867,"children":4868},{"style":498},[4869],{"type":399,"value":4870},"(practice_data[[",{"type":393,"tag":486,"props":4872,"children":4873},{"style":552},[4874],{"type":399,"value":2251},{"type":393,"tag":486,"props":4876,"children":4877},{"style":498},[4878],{"type":399,"value":570},{"type":393,"tag":486,"props":4880,"children":4881},{"style":552},[4882],{"type":399,"value":4883},"'rating'",{"type":393,"tag":486,"props":4885,"children":4886},{"style":498},[4887],{"type":399,"value":3519},{"type":393,"tag":459,"props":4889,"children":4891},{"id":4890},"whats-next",[4892],{"type":399,"value":4893},"🚀 What's Next?",{"type":393,"tag":402,"props":4895,"children":4896},{},[4897],{"type":399,"value":4898},"Great! You now know how to view your data effectively. Next, let's learn about understanding data shape, size, and getting statistical summaries.",{"type":393,"tag":402,"props":4900,"children":4901},{},[4902,4907,4909],{"type":393,"tag":418,"props":4903,"children":4904},{},[4905],{"type":399,"value":4906},"Continue to",{"type":399,"value":4908},": ",{"type":393,"tag":4910,"props":4911,"children":4912},"a",{"href":126},[4913],{"type":399,"value":127},{"type":393,"tag":402,"props":4915,"children":4916},{},[4917],{"type":399,"value":4918},"You're becoming a data exploration expert! 👁️📊",{"type":393,"tag":4920,"props":4921,"children":4922},"style",{},[4923],{"type":399,"value":4924},"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":4926},[4927,4928,4929,4930,4931,4935,4936,4937,4938,4939,4940],{"id":461,"depth":27,"text":464},{"id":893,"depth":27,"text":896},{"id":1319,"depth":27,"text":1322},{"id":1817,"depth":27,"text":1820},{"id":2318,"depth":27,"text":2321,"children":4932},[4933,4934],{"id":2330,"depth":36,"text":2333},{"id":2590,"depth":36,"text":2593},{"id":3002,"depth":27,"text":3005},{"id":3173,"depth":27,"text":3176},{"id":3589,"depth":27,"text":3592},{"id":4009,"depth":27,"text":4012},{"id":4232,"depth":27,"text":4235},{"id":4890,"depth":27,"text":4893},1782373721316]