[{"data":1,"prerenderedAt":3792},["ShallowReactive",2],{"tutorials-pandas":3,"category-items-pandas":387,"content-/pandas/your-first-dataframe":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,"expanded":12},"/pandas","",false,"Getting Started","Learn the basics of Pandas, Python's powerful data analysis library for working with spreadsheet-like data","getting-started",1,true,"pi pi-play","markdown","content:pandas:1.index.md","content","pandas/1.index.md","pandas/1.index","md",[21,31,40,49,58],{"_path":22,"_dir":23,"_draft":7,"_partial":7,"_locale":6,"title":24,"description":25,"slug":26,"parentId":5,"order":27,"_type":14,"_id":28,"_source":16,"_file":29,"_stem":30,"_extension":19},"/pandas/what-is-pandas","pandas","What is Pandas","Understand what Pandas is, why it's essential for data analysis, and how it makes working with data simple and powerful","what-is-pandas",2,"content:pandas:2.what-is-pandas.md","pandas/2.what-is-pandas.md","pandas/2.what-is-pandas",{"_path":32,"_dir":23,"_draft":7,"_partial":7,"_locale":6,"title":33,"description":34,"slug":35,"parentId":5,"order":36,"_type":14,"_id":37,"_source":16,"_file":38,"_stem":39,"_extension":19},"/pandas/installing-pandas","Installing Pandas","Learn how to install Pandas on your computer and verify it's working properly","installing-pandas",3,"content:pandas:3.installing-pandas.md","pandas/3.installing-pandas.md","pandas/3.installing-pandas",{"_path":41,"_dir":23,"_draft":7,"_partial":7,"_locale":6,"title":42,"description":43,"slug":44,"parentId":5,"order":45,"_type":14,"_id":46,"_source":16,"_file":47,"_stem":48,"_extension":19},"/pandas/your-first-dataframe","Your First DataFrame","Create your first Pandas DataFrame and learn the basics of working with tabular data","your-first-dataframe",4,"content:pandas:4.your-first-dataframe.md","pandas/4.your-first-dataframe.md","pandas/4.your-first-dataframe",{"_path":50,"_dir":23,"_draft":7,"_partial":7,"_locale":6,"title":51,"description":52,"slug":53,"parentId":5,"order":54,"_type":14,"_id":55,"_source":16,"_file":56,"_stem":57,"_extension":19},"/pandas/series-vs-dataframe","Series vs DataFrame","Understand the difference between Pandas Series and DataFrames, and learn when to use each one","series-vs-dataframe",5,"content:pandas:5.series-vs-dataframe.md","pandas/5.series-vs-dataframe.md","pandas/5.series-vs-dataframe",{"_path":59,"_dir":23,"_draft":7,"_partial":7,"_locale":6,"title":60,"description":61,"slug":62,"parentId":5,"order":63,"_type":14,"_id":64,"_source":16,"_file":65,"_stem":66,"_extension":19},"/pandas/basic-dataframe-info","Basic DataFrame Info","Learn how to explore and get basic information about your DataFrames to understand your data","basic-dataframe-info",6,"content:pandas:6.basic-dataframe-info.md","pandas/6.basic-dataframe-info.md","pandas/6.basic-dataframe-info",{"_path":68,"_dir":23,"_draft":7,"_partial":7,"_locale":6,"title":69,"description":70,"slug":71,"order":72,"isParent":12,"icon":73,"_type":14,"_id":74,"_source":16,"_file":75,"_stem":76,"_extension":19,"children":77,"expanded":12},"/pandas/loading-data","Loading Data","Learn how to load data from various sources into Pandas DataFrames","loading-data",7,"pi pi-download","content:pandas:7.loading-data.md","pandas/7.loading-data.md","pandas/7.loading-data",[78,87,96],{"_path":79,"_dir":23,"_draft":7,"_partial":7,"_locale":6,"title":80,"description":81,"slug":82,"parentId":68,"order":83,"_type":14,"_id":84,"_source":16,"_file":85,"_stem":86,"_extension":19},"/pandas/reading-files","Reading Files (CSV, Excel, JSON)","Learn how to load data from CSV, Excel, and JSON files into Pandas DataFrames","reading-files",8,"content:pandas:8.reading-files.md","pandas/8.reading-files.md","pandas/8.reading-files",{"_path":88,"_dir":23,"_draft":7,"_partial":7,"_locale":6,"title":89,"description":90,"slug":91,"parentId":68,"order":92,"_type":14,"_id":93,"_source":16,"_file":94,"_stem":95,"_extension":19},"/pandas/loading-from-databases","Loading from Databases","Learn how to connect to databases and load data directly into Pandas DataFrames","loading-from-databases",9,"content:pandas:9.loading-from-databases.md","pandas/9.loading-from-databases.md","pandas/9.loading-from-databases",{"_path":97,"_dir":23,"_draft":7,"_partial":7,"_locale":6,"title":98,"description":99,"slug":100,"parentId":68,"order":101,"_type":14,"_id":102,"_source":16,"_file":103,"_stem":104,"_extension":19},"/pandas/handling-file-errors","Handling File Errors","Learn how to handle common errors when loading data files and how to troubleshoot loading problems","handling-file-errors",10,"content:pandas:10.handling-file-errors.md","pandas/10.handling-file-errors.md","pandas/10.handling-file-errors",{"_path":106,"_dir":23,"_draft":7,"_partial":7,"_locale":6,"title":107,"description":108,"slug":109,"order":110,"isParent":12,"icon":111,"_type":14,"_id":112,"_source":16,"_file":113,"_stem":114,"_extension":19,"children":115,"expanded":12},"/pandas/data-exploration","Data Exploration","Learn how to explore and understand your data using Pandas methods and techniques","data-exploration",11,"pi pi-search","content:pandas:11.data-exploration.md","pandas/11.data-exploration.md","pandas/11.data-exploration",[116,125,134],{"_path":117,"_dir":23,"_draft":7,"_partial":7,"_locale":6,"title":118,"description":119,"slug":120,"parentId":106,"order":121,"_type":14,"_id":122,"_source":16,"_file":123,"_stem":124,"_extension":19},"/pandas/viewing-your-data","Viewing Your Data","Learn different ways to look at and sample your DataFrame data for exploration and understanding","viewing-your-data",12,"content:pandas:12.viewing-your-data.md","pandas/12.viewing-your-data.md","pandas/12.viewing-your-data",{"_path":126,"_dir":23,"_draft":7,"_partial":7,"_locale":6,"title":127,"description":128,"slug":129,"parentId":106,"order":130,"_type":14,"_id":131,"_source":16,"_file":132,"_stem":133,"_extension":19},"/pandas/data-shape-and-statistics","Data Shape and Statistics","Learn how to understand your DataFrame's size, structure, and get basic statistical summaries","data-shape-and-statistics",13,"content:pandas:13.data-shape-and-statistics.md","pandas/13.data-shape-and-statistics.md","pandas/13.data-shape-and-statistics",{"_path":135,"_dir":23,"_draft":7,"_partial":7,"_locale":6,"title":136,"description":137,"slug":138,"parentId":106,"order":139,"_type":14,"_id":140,"_source":16,"_file":141,"_stem":142,"_extension":19},"/pandas/column-information-and-data-types","Column Information and Data Types","Learn how to explore individual columns and understand different data types in your DataFrames","column-information-and-data-types",14,"content:pandas:14.column-information-and-data-types.md","pandas/14.column-information-and-data-types.md","pandas/14.column-information-and-data-types",{"_path":144,"_dir":23,"_draft":7,"_partial":7,"_locale":6,"title":145,"description":146,"slug":147,"order":148,"isParent":12,"icon":149,"_type":14,"_id":150,"_source":16,"_file":151,"_stem":152,"_extension":19,"children":153,"expanded":12},"/pandas/selecting-data","Selecting Data","Learn how to select specific columns, rows, and subsets of data from your DataFrames","selecting-data",15,"pi pi-filter","content:pandas:15.selecting-data.md","pandas/15.selecting-data.md","pandas/15.selecting-data",[154,163,172],{"_path":155,"_dir":23,"_draft":7,"_partial":7,"_locale":6,"title":156,"description":157,"slug":158,"parentId":144,"order":159,"_type":14,"_id":160,"_source":16,"_file":161,"_stem":162,"_extension":19},"/pandas/selecting-columns-and-rows","Selecting Columns and Rows","Learn how to select specific columns and rows from your DataFrames using basic selection techniques","selecting-columns-and-rows",16,"content:pandas:16.selecting-columns-and-rows.md","pandas/16.selecting-columns-and-rows.md","pandas/16.selecting-columns-and-rows",{"_path":164,"_dir":23,"_draft":7,"_partial":7,"_locale":6,"title":165,"description":166,"slug":167,"parentId":144,"order":168,"_type":14,"_id":169,"_source":16,"_file":170,"_stem":171,"_extension":19},"/pandas/using-loc-and-iloc","Using loc and iloc","Master precise data selection with label-based (loc) and position-based (iloc) indexing in pandas","using-loc-and-iloc",17,"content:pandas:17.using-loc-and-iloc.md","pandas/17.using-loc-and-iloc.md","pandas/17.using-loc-and-iloc",{"_path":173,"_dir":23,"_draft":7,"_partial":7,"_locale":6,"title":174,"description":175,"slug":176,"parentId":144,"order":177,"_type":14,"_id":178,"_source":16,"_file":179,"_stem":180,"_extension":19},"/pandas/boolean-and-conditional-selection","Boolean and Conditional Selection","Learn to filter DataFrames using conditions, boolean logic, and multiple criteria for precise data selection","boolean-and-conditional-selection",18,"content:pandas:18.boolean-and-conditional-selection.md","pandas/18.boolean-and-conditional-selection.md","pandas/18.boolean-and-conditional-selection",{"_path":182,"_dir":23,"_draft":7,"_partial":7,"_locale":6,"title":183,"description":184,"slug":185,"order":186,"isParent":12,"icon":187,"_type":14,"_id":188,"_source":16,"_file":189,"_stem":190,"_extension":19,"children":191,"expanded":12},"/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,"expanded":12},"/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,"expanded":12},"/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,"expanded":12},"/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,"expanded":12},"/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,"expanded":12},"/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",[40],{"_path":41,"_dir":23,"_draft":7,"_partial":7,"_locale":6,"title":42,"description":43,"slug":44,"parentId":5,"order":45,"body":389,"_type":14,"_id":46,"_source":16,"_file":47,"_stem":48,"_extension":19},{"type":390,"children":391,"toc":3778},"root",[392,400,406,475,482,487,740,745,763,769,774,1282,1288,1295,1493,1499,1705,1711,1716,2099,2105,2110,2510,2516,2521,3029,3035,3040,3534,3540,3741,3747,3752,3767,3772],{"type":393,"tag":394,"props":395,"children":396},"element","h1",{"id":44},[397],{"type":398,"value":399},"text","📊 Your First DataFrame",{"type":393,"tag":401,"props":402,"children":403},"p",{},[404],{"type":398,"value":405},"A DataFrame is like a smart spreadsheet - it has rows and columns, but with superpowers! Let's create your first one and see what makes it special.",{"type":393,"tag":407,"props":408,"children":412},"info-box",{"emoji":409,"title":410,"type":411},"📋","What is a DataFrame?","info",[413,424,444,452],{"type":393,"tag":401,"props":414,"children":415},{},[416,422],{"type":393,"tag":417,"props":418,"children":419},"strong",{},[420],{"type":398,"value":421},"Simple Explanation:",{"type":398,"value":423},"\nA DataFrame is a table of data with labeled rows and columns. Think of it like:",{"type":393,"tag":425,"props":426,"children":427},"ul",{},[428,434,439],{"type":393,"tag":429,"props":430,"children":431},"li",{},[432],{"type":398,"value":433},"Excel spreadsheet",{"type":393,"tag":429,"props":435,"children":436},{},[437],{"type":398,"value":438},"Database table",{"type":393,"tag":429,"props":440,"children":441},{},[442],{"type":398,"value":443},"CSV file in Python",{"type":393,"tag":401,"props":445,"children":446},{},[447],{"type":393,"tag":417,"props":448,"children":449},{},[450],{"type":398,"value":451},"Key Features:",{"type":393,"tag":425,"props":453,"children":454},{},[455,460,465,470],{"type":393,"tag":429,"props":456,"children":457},{},[458],{"type":398,"value":459},"Columns have names (like \"Name\", \"Age\", \"Score\")",{"type":393,"tag":429,"props":461,"children":462},{},[463],{"type":398,"value":464},"Rows are numbered (0, 1, 2, 3...)",{"type":393,"tag":429,"props":466,"children":467},{},[468],{"type":398,"value":469},"Can hold different types of data (text, numbers, dates)",{"type":393,"tag":429,"props":471,"children":472},{},[473],{"type":398,"value":474},"Super easy to analyze and manipulate",{"type":393,"tag":476,"props":477,"children":479},"h2",{"id":478},"️-creating-your-first-dataframe",[480],{"type":398,"value":481},"🏗️ Creating Your First DataFrame",{"type":393,"tag":401,"props":483,"children":484},{},[485],{"type":398,"value":486},"Let's start with the simplest way - from a dictionary:",{"type":393,"tag":488,"props":489,"children":490},"code-try",{},[491],{"type":393,"tag":492,"props":493,"children":497},"pre",{"className":494,"code":495,"language":496,"meta":6,"style":6},"language-python shiki shiki-themes github-light github-dark","import pandas as pd\n\n# Create data using a dictionary\ndata = {\n    'name': ['Alice', 'Bob', 'Charlie'],\n    'age': [25, 30, 35],\n    'city': ['New York', 'London', 'Tokyo']\n}\n\n# Turn it into a DataFrame\ndf = pd.DataFrame(data)\nprint(df)\n","python",[498],{"type":393,"tag":499,"props":500,"children":501},"code",{"__ignoreMap":6},[502,529,537,546,564,607,647,687,695,702,710,727],{"type":393,"tag":503,"props":504,"children":506},"span",{"class":505,"line":11},"line",[507,513,519,524],{"type":393,"tag":503,"props":508,"children":510},{"style":509},"--shiki-default:#D73A49;--shiki-app-dark-mode:#F97583",[511],{"type":398,"value":512},"import",{"type":393,"tag":503,"props":514,"children":516},{"style":515},"--shiki-default:#24292E;--shiki-app-dark-mode:#E1E4E8",[517],{"type":398,"value":518}," pandas ",{"type":393,"tag":503,"props":520,"children":521},{"style":509},[522],{"type":398,"value":523},"as",{"type":393,"tag":503,"props":525,"children":526},{"style":515},[527],{"type":398,"value":528}," pd\n",{"type":393,"tag":503,"props":530,"children":531},{"class":505,"line":27},[532],{"type":393,"tag":503,"props":533,"children":534},{"emptyLinePlaceholder":12},[535],{"type":398,"value":536},"\n",{"type":393,"tag":503,"props":538,"children":539},{"class":505,"line":36},[540],{"type":393,"tag":503,"props":541,"children":543},{"style":542},"--shiki-default:#6A737D;--shiki-app-dark-mode:#6A737D",[544],{"type":398,"value":545},"# Create data using a dictionary\n",{"type":393,"tag":503,"props":547,"children":548},{"class":505,"line":45},[549,554,559],{"type":393,"tag":503,"props":550,"children":551},{"style":515},[552],{"type":398,"value":553},"data ",{"type":393,"tag":503,"props":555,"children":556},{"style":509},[557],{"type":398,"value":558},"=",{"type":393,"tag":503,"props":560,"children":561},{"style":515},[562],{"type":398,"value":563}," {\n",{"type":393,"tag":503,"props":565,"children":566},{"class":505,"line":54},[567,573,578,583,588,593,597,602],{"type":393,"tag":503,"props":568,"children":570},{"style":569},"--shiki-default:#032F62;--shiki-app-dark-mode:#9ECBFF",[571],{"type":398,"value":572},"    'name'",{"type":393,"tag":503,"props":574,"children":575},{"style":515},[576],{"type":398,"value":577},": [",{"type":393,"tag":503,"props":579,"children":580},{"style":569},[581],{"type":398,"value":582},"'Alice'",{"type":393,"tag":503,"props":584,"children":585},{"style":515},[586],{"type":398,"value":587},", ",{"type":393,"tag":503,"props":589,"children":590},{"style":569},[591],{"type":398,"value":592},"'Bob'",{"type":393,"tag":503,"props":594,"children":595},{"style":515},[596],{"type":398,"value":587},{"type":393,"tag":503,"props":598,"children":599},{"style":569},[600],{"type":398,"value":601},"'Charlie'",{"type":393,"tag":503,"props":603,"children":604},{"style":515},[605],{"type":398,"value":606},"],\n",{"type":393,"tag":503,"props":608,"children":609},{"class":505,"line":63},[610,615,619,625,629,634,638,643],{"type":393,"tag":503,"props":611,"children":612},{"style":569},[613],{"type":398,"value":614},"    'age'",{"type":393,"tag":503,"props":616,"children":617},{"style":515},[618],{"type":398,"value":577},{"type":393,"tag":503,"props":620,"children":622},{"style":621},"--shiki-default:#005CC5;--shiki-app-dark-mode:#79B8FF",[623],{"type":398,"value":624},"25",{"type":393,"tag":503,"props":626,"children":627},{"style":515},[628],{"type":398,"value":587},{"type":393,"tag":503,"props":630,"children":631},{"style":621},[632],{"type":398,"value":633},"30",{"type":393,"tag":503,"props":635,"children":636},{"style":515},[637],{"type":398,"value":587},{"type":393,"tag":503,"props":639,"children":640},{"style":621},[641],{"type":398,"value":642},"35",{"type":393,"tag":503,"props":644,"children":645},{"style":515},[646],{"type":398,"value":606},{"type":393,"tag":503,"props":648,"children":649},{"class":505,"line":72},[650,655,659,664,668,673,677,682],{"type":393,"tag":503,"props":651,"children":652},{"style":569},[653],{"type":398,"value":654},"    'city'",{"type":393,"tag":503,"props":656,"children":657},{"style":515},[658],{"type":398,"value":577},{"type":393,"tag":503,"props":660,"children":661},{"style":569},[662],{"type":398,"value":663},"'New York'",{"type":393,"tag":503,"props":665,"children":666},{"style":515},[667],{"type":398,"value":587},{"type":393,"tag":503,"props":669,"children":670},{"style":569},[671],{"type":398,"value":672},"'London'",{"type":393,"tag":503,"props":674,"children":675},{"style":515},[676],{"type":398,"value":587},{"type":393,"tag":503,"props":678,"children":679},{"style":569},[680],{"type":398,"value":681},"'Tokyo'",{"type":393,"tag":503,"props":683,"children":684},{"style":515},[685],{"type":398,"value":686},"]\n",{"type":393,"tag":503,"props":688,"children":689},{"class":505,"line":83},[690],{"type":393,"tag":503,"props":691,"children":692},{"style":515},[693],{"type":398,"value":694},"}\n",{"type":393,"tag":503,"props":696,"children":697},{"class":505,"line":92},[698],{"type":393,"tag":503,"props":699,"children":700},{"emptyLinePlaceholder":12},[701],{"type":398,"value":536},{"type":393,"tag":503,"props":703,"children":704},{"class":505,"line":101},[705],{"type":393,"tag":503,"props":706,"children":707},{"style":542},[708],{"type":398,"value":709},"# Turn it into a DataFrame\n",{"type":393,"tag":503,"props":711,"children":712},{"class":505,"line":110},[713,718,722],{"type":393,"tag":503,"props":714,"children":715},{"style":515},[716],{"type":398,"value":717},"df ",{"type":393,"tag":503,"props":719,"children":720},{"style":509},[721],{"type":398,"value":558},{"type":393,"tag":503,"props":723,"children":724},{"style":515},[725],{"type":398,"value":726}," pd.DataFrame(data)\n",{"type":393,"tag":503,"props":728,"children":729},{"class":505,"line":121},[730,735],{"type":393,"tag":503,"props":731,"children":732},{"style":621},[733],{"type":398,"value":734},"print",{"type":393,"tag":503,"props":736,"children":737},{"style":515},[738],{"type":398,"value":739},"(df)\n",{"type":393,"tag":401,"props":741,"children":742},{},[743],{"type":398,"value":744},"Congratulations! You just created your first DataFrame. Notice how it automatically:",{"type":393,"tag":425,"props":746,"children":747},{},[748,753,758],{"type":393,"tag":429,"props":749,"children":750},{},[751],{"type":398,"value":752},"Added row numbers (0, 1, 2)",{"type":393,"tag":429,"props":754,"children":755},{},[756],{"type":398,"value":757},"Organized your data into neat columns",{"type":393,"tag":429,"props":759,"children":760},{},[761],{"type":398,"value":762},"Made it easy to read",{"type":393,"tag":476,"props":764,"children":766},{"id":765},"understanding-your-dataframe",[767],{"type":398,"value":768},"🔍 Understanding Your DataFrame",{"type":393,"tag":401,"props":770,"children":771},{},[772],{"type":398,"value":773},"Let's explore what you can do with your DataFrame:",{"type":393,"tag":488,"props":775,"children":776},{},[777],{"type":393,"tag":492,"props":778,"children":780},{"className":494,"code":779,"language":496,"meta":6,"style":6},"import pandas as pd\n\n# Create a simple DataFrame\nstudents = pd.DataFrame({\n    'name': ['Alice', 'Bob', 'Charlie'],\n    'math': [85, 92, 78],\n    'english': [90, 87, 85]\n})\n\nprint(\"📚 Student Data:\")\nprint(students)\nprint()\n\n# Basic information\nprint(\"📊 Quick Info:\")\nprint(f\"Shape: {students.shape}\")  # (rows, columns)\nprint(f\"Columns: {list(students.columns)}\")\nprint()\n\n# Quick statistics\nprint(\"📈 Math Scores:\")\nprint(f\"Average: {students['math'].mean()}\")\nprint(f\"Highest: {students['math'].max()}\")\n",[781],{"type":393,"tag":499,"props":782,"children":783},{"__ignoreMap":6},[784,803,810,818,835,870,909,947,955,962,984,996,1008,1015,1023,1043,1094,1136,1147,1154,1162,1182,1233],{"type":393,"tag":503,"props":785,"children":786},{"class":505,"line":11},[787,791,795,799],{"type":393,"tag":503,"props":788,"children":789},{"style":509},[790],{"type":398,"value":512},{"type":393,"tag":503,"props":792,"children":793},{"style":515},[794],{"type":398,"value":518},{"type":393,"tag":503,"props":796,"children":797},{"style":509},[798],{"type":398,"value":523},{"type":393,"tag":503,"props":800,"children":801},{"style":515},[802],{"type":398,"value":528},{"type":393,"tag":503,"props":804,"children":805},{"class":505,"line":27},[806],{"type":393,"tag":503,"props":807,"children":808},{"emptyLinePlaceholder":12},[809],{"type":398,"value":536},{"type":393,"tag":503,"props":811,"children":812},{"class":505,"line":36},[813],{"type":393,"tag":503,"props":814,"children":815},{"style":542},[816],{"type":398,"value":817},"# Create a simple DataFrame\n",{"type":393,"tag":503,"props":819,"children":820},{"class":505,"line":45},[821,826,830],{"type":393,"tag":503,"props":822,"children":823},{"style":515},[824],{"type":398,"value":825},"students ",{"type":393,"tag":503,"props":827,"children":828},{"style":509},[829],{"type":398,"value":558},{"type":393,"tag":503,"props":831,"children":832},{"style":515},[833],{"type":398,"value":834}," pd.DataFrame({\n",{"type":393,"tag":503,"props":836,"children":837},{"class":505,"line":54},[838,842,846,850,854,858,862,866],{"type":393,"tag":503,"props":839,"children":840},{"style":569},[841],{"type":398,"value":572},{"type":393,"tag":503,"props":843,"children":844},{"style":515},[845],{"type":398,"value":577},{"type":393,"tag":503,"props":847,"children":848},{"style":569},[849],{"type":398,"value":582},{"type":393,"tag":503,"props":851,"children":852},{"style":515},[853],{"type":398,"value":587},{"type":393,"tag":503,"props":855,"children":856},{"style":569},[857],{"type":398,"value":592},{"type":393,"tag":503,"props":859,"children":860},{"style":515},[861],{"type":398,"value":587},{"type":393,"tag":503,"props":863,"children":864},{"style":569},[865],{"type":398,"value":601},{"type":393,"tag":503,"props":867,"children":868},{"style":515},[869],{"type":398,"value":606},{"type":393,"tag":503,"props":871,"children":872},{"class":505,"line":63},[873,878,882,887,891,896,900,905],{"type":393,"tag":503,"props":874,"children":875},{"style":569},[876],{"type":398,"value":877},"    'math'",{"type":393,"tag":503,"props":879,"children":880},{"style":515},[881],{"type":398,"value":577},{"type":393,"tag":503,"props":883,"children":884},{"style":621},[885],{"type":398,"value":886},"85",{"type":393,"tag":503,"props":888,"children":889},{"style":515},[890],{"type":398,"value":587},{"type":393,"tag":503,"props":892,"children":893},{"style":621},[894],{"type":398,"value":895},"92",{"type":393,"tag":503,"props":897,"children":898},{"style":515},[899],{"type":398,"value":587},{"type":393,"tag":503,"props":901,"children":902},{"style":621},[903],{"type":398,"value":904},"78",{"type":393,"tag":503,"props":906,"children":907},{"style":515},[908],{"type":398,"value":606},{"type":393,"tag":503,"props":910,"children":911},{"class":505,"line":72},[912,917,921,926,930,935,939,943],{"type":393,"tag":503,"props":913,"children":914},{"style":569},[915],{"type":398,"value":916},"    'english'",{"type":393,"tag":503,"props":918,"children":919},{"style":515},[920],{"type":398,"value":577},{"type":393,"tag":503,"props":922,"children":923},{"style":621},[924],{"type":398,"value":925},"90",{"type":393,"tag":503,"props":927,"children":928},{"style":515},[929],{"type":398,"value":587},{"type":393,"tag":503,"props":931,"children":932},{"style":621},[933],{"type":398,"value":934},"87",{"type":393,"tag":503,"props":936,"children":937},{"style":515},[938],{"type":398,"value":587},{"type":393,"tag":503,"props":940,"children":941},{"style":621},[942],{"type":398,"value":886},{"type":393,"tag":503,"props":944,"children":945},{"style":515},[946],{"type":398,"value":686},{"type":393,"tag":503,"props":948,"children":949},{"class":505,"line":83},[950],{"type":393,"tag":503,"props":951,"children":952},{"style":515},[953],{"type":398,"value":954},"})\n",{"type":393,"tag":503,"props":956,"children":957},{"class":505,"line":92},[958],{"type":393,"tag":503,"props":959,"children":960},{"emptyLinePlaceholder":12},[961],{"type":398,"value":536},{"type":393,"tag":503,"props":963,"children":964},{"class":505,"line":101},[965,969,974,979],{"type":393,"tag":503,"props":966,"children":967},{"style":621},[968],{"type":398,"value":734},{"type":393,"tag":503,"props":970,"children":971},{"style":515},[972],{"type":398,"value":973},"(",{"type":393,"tag":503,"props":975,"children":976},{"style":569},[977],{"type":398,"value":978},"\"📚 Student Data:\"",{"type":393,"tag":503,"props":980,"children":981},{"style":515},[982],{"type":398,"value":983},")\n",{"type":393,"tag":503,"props":985,"children":986},{"class":505,"line":110},[987,991],{"type":393,"tag":503,"props":988,"children":989},{"style":621},[990],{"type":398,"value":734},{"type":393,"tag":503,"props":992,"children":993},{"style":515},[994],{"type":398,"value":995},"(students)\n",{"type":393,"tag":503,"props":997,"children":998},{"class":505,"line":121},[999,1003],{"type":393,"tag":503,"props":1000,"children":1001},{"style":621},[1002],{"type":398,"value":734},{"type":393,"tag":503,"props":1004,"children":1005},{"style":515},[1006],{"type":398,"value":1007},"()\n",{"type":393,"tag":503,"props":1009,"children":1010},{"class":505,"line":130},[1011],{"type":393,"tag":503,"props":1012,"children":1013},{"emptyLinePlaceholder":12},[1014],{"type":398,"value":536},{"type":393,"tag":503,"props":1016,"children":1017},{"class":505,"line":139},[1018],{"type":393,"tag":503,"props":1019,"children":1020},{"style":542},[1021],{"type":398,"value":1022},"# Basic information\n",{"type":393,"tag":503,"props":1024,"children":1025},{"class":505,"line":148},[1026,1030,1034,1039],{"type":393,"tag":503,"props":1027,"children":1028},{"style":621},[1029],{"type":398,"value":734},{"type":393,"tag":503,"props":1031,"children":1032},{"style":515},[1033],{"type":398,"value":973},{"type":393,"tag":503,"props":1035,"children":1036},{"style":569},[1037],{"type":398,"value":1038},"\"📊 Quick Info:\"",{"type":393,"tag":503,"props":1040,"children":1041},{"style":515},[1042],{"type":398,"value":983},{"type":393,"tag":503,"props":1044,"children":1045},{"class":505,"line":159},[1046,1050,1054,1059,1064,1069,1074,1079,1084,1089],{"type":393,"tag":503,"props":1047,"children":1048},{"style":621},[1049],{"type":398,"value":734},{"type":393,"tag":503,"props":1051,"children":1052},{"style":515},[1053],{"type":398,"value":973},{"type":393,"tag":503,"props":1055,"children":1056},{"style":509},[1057],{"type":398,"value":1058},"f",{"type":393,"tag":503,"props":1060,"children":1061},{"style":569},[1062],{"type":398,"value":1063},"\"Shape: ",{"type":393,"tag":503,"props":1065,"children":1066},{"style":621},[1067],{"type":398,"value":1068},"{",{"type":393,"tag":503,"props":1070,"children":1071},{"style":515},[1072],{"type":398,"value":1073},"students.shape",{"type":393,"tag":503,"props":1075,"children":1076},{"style":621},[1077],{"type":398,"value":1078},"}",{"type":393,"tag":503,"props":1080,"children":1081},{"style":569},[1082],{"type":398,"value":1083},"\"",{"type":393,"tag":503,"props":1085,"children":1086},{"style":515},[1087],{"type":398,"value":1088},")  ",{"type":393,"tag":503,"props":1090,"children":1091},{"style":542},[1092],{"type":398,"value":1093},"# (rows, columns)\n",{"type":393,"tag":503,"props":1095,"children":1096},{"class":505,"line":168},[1097,1101,1105,1109,1114,1119,1124,1128,1132],{"type":393,"tag":503,"props":1098,"children":1099},{"style":621},[1100],{"type":398,"value":734},{"type":393,"tag":503,"props":1102,"children":1103},{"style":515},[1104],{"type":398,"value":973},{"type":393,"tag":503,"props":1106,"children":1107},{"style":509},[1108],{"type":398,"value":1058},{"type":393,"tag":503,"props":1110,"children":1111},{"style":569},[1112],{"type":398,"value":1113},"\"Columns: ",{"type":393,"tag":503,"props":1115,"children":1116},{"style":621},[1117],{"type":398,"value":1118},"{list",{"type":393,"tag":503,"props":1120,"children":1121},{"style":515},[1122],{"type":398,"value":1123},"(students.columns)",{"type":393,"tag":503,"props":1125,"children":1126},{"style":621},[1127],{"type":398,"value":1078},{"type":393,"tag":503,"props":1129,"children":1130},{"style":569},[1131],{"type":398,"value":1083},{"type":393,"tag":503,"props":1133,"children":1134},{"style":515},[1135],{"type":398,"value":983},{"type":393,"tag":503,"props":1137,"children":1138},{"class":505,"line":177},[1139,1143],{"type":393,"tag":503,"props":1140,"children":1141},{"style":621},[1142],{"type":398,"value":734},{"type":393,"tag":503,"props":1144,"children":1145},{"style":515},[1146],{"type":398,"value":1007},{"type":393,"tag":503,"props":1148,"children":1149},{"class":505,"line":186},[1150],{"type":393,"tag":503,"props":1151,"children":1152},{"emptyLinePlaceholder":12},[1153],{"type":398,"value":536},{"type":393,"tag":503,"props":1155,"children":1156},{"class":505,"line":197},[1157],{"type":393,"tag":503,"props":1158,"children":1159},{"style":542},[1160],{"type":398,"value":1161},"# Quick statistics\n",{"type":393,"tag":503,"props":1163,"children":1164},{"class":505,"line":206},[1165,1169,1173,1178],{"type":393,"tag":503,"props":1166,"children":1167},{"style":621},[1168],{"type":398,"value":734},{"type":393,"tag":503,"props":1170,"children":1171},{"style":515},[1172],{"type":398,"value":973},{"type":393,"tag":503,"props":1174,"children":1175},{"style":569},[1176],{"type":398,"value":1177},"\"📈 Math Scores:\"",{"type":393,"tag":503,"props":1179,"children":1180},{"style":515},[1181],{"type":398,"value":983},{"type":393,"tag":503,"props":1183,"children":1184},{"class":505,"line":215},[1185,1189,1193,1197,1202,1206,1211,1216,1221,1225,1229],{"type":393,"tag":503,"props":1186,"children":1187},{"style":621},[1188],{"type":398,"value":734},{"type":393,"tag":503,"props":1190,"children":1191},{"style":515},[1192],{"type":398,"value":973},{"type":393,"tag":503,"props":1194,"children":1195},{"style":509},[1196],{"type":398,"value":1058},{"type":393,"tag":503,"props":1198,"children":1199},{"style":569},[1200],{"type":398,"value":1201},"\"Average: ",{"type":393,"tag":503,"props":1203,"children":1204},{"style":621},[1205],{"type":398,"value":1068},{"type":393,"tag":503,"props":1207,"children":1208},{"style":515},[1209],{"type":398,"value":1210},"students[",{"type":393,"tag":503,"props":1212,"children":1213},{"style":569},[1214],{"type":398,"value":1215},"'math'",{"type":393,"tag":503,"props":1217,"children":1218},{"style":515},[1219],{"type":398,"value":1220},"].mean()",{"type":393,"tag":503,"props":1222,"children":1223},{"style":621},[1224],{"type":398,"value":1078},{"type":393,"tag":503,"props":1226,"children":1227},{"style":569},[1228],{"type":398,"value":1083},{"type":393,"tag":503,"props":1230,"children":1231},{"style":515},[1232],{"type":398,"value":983},{"type":393,"tag":503,"props":1234,"children":1235},{"class":505,"line":224},[1236,1240,1244,1248,1253,1257,1261,1265,1270,1274,1278],{"type":393,"tag":503,"props":1237,"children":1238},{"style":621},[1239],{"type":398,"value":734},{"type":393,"tag":503,"props":1241,"children":1242},{"style":515},[1243],{"type":398,"value":973},{"type":393,"tag":503,"props":1245,"children":1246},{"style":509},[1247],{"type":398,"value":1058},{"type":393,"tag":503,"props":1249,"children":1250},{"style":569},[1251],{"type":398,"value":1252},"\"Highest: ",{"type":393,"tag":503,"props":1254,"children":1255},{"style":621},[1256],{"type":398,"value":1068},{"type":393,"tag":503,"props":1258,"children":1259},{"style":515},[1260],{"type":398,"value":1210},{"type":393,"tag":503,"props":1262,"children":1263},{"style":569},[1264],{"type":398,"value":1215},{"type":393,"tag":503,"props":1266,"children":1267},{"style":515},[1268],{"type":398,"value":1269},"].max()",{"type":393,"tag":503,"props":1271,"children":1272},{"style":621},[1273],{"type":398,"value":1078},{"type":393,"tag":503,"props":1275,"children":1276},{"style":569},[1277],{"type":398,"value":1083},{"type":393,"tag":503,"props":1279,"children":1280},{"style":515},[1281],{"type":398,"value":983},{"type":393,"tag":476,"props":1283,"children":1285},{"id":1284},"different-ways-to-create-dataframes",[1286],{"type":398,"value":1287},"📋 Different Ways to Create DataFrames",{"type":393,"tag":1289,"props":1290,"children":1292},"h3",{"id":1291},"from-lists",[1293],{"type":398,"value":1294},"From Lists",{"type":393,"tag":488,"props":1296,"children":1297},{},[1298],{"type":393,"tag":492,"props":1299,"children":1301},{"className":494,"code":1300,"language":496,"meta":6,"style":6},"import pandas as pd\n\n# Using lists with column names\nnames = ['Alice', 'Bob', 'Charlie']\nscores = [85, 92, 78]\n\ndf = pd.DataFrame({\n    'student': names,\n    'score': scores\n})\n\nprint(df)\n",[1302],{"type":393,"tag":499,"props":1303,"children":1304},{"__ignoreMap":6},[1305,1324,1331,1339,1380,1420,1427,1442,1455,1468,1475,1482],{"type":393,"tag":503,"props":1306,"children":1307},{"class":505,"line":11},[1308,1312,1316,1320],{"type":393,"tag":503,"props":1309,"children":1310},{"style":509},[1311],{"type":398,"value":512},{"type":393,"tag":503,"props":1313,"children":1314},{"style":515},[1315],{"type":398,"value":518},{"type":393,"tag":503,"props":1317,"children":1318},{"style":509},[1319],{"type":398,"value":523},{"type":393,"tag":503,"props":1321,"children":1322},{"style":515},[1323],{"type":398,"value":528},{"type":393,"tag":503,"props":1325,"children":1326},{"class":505,"line":27},[1327],{"type":393,"tag":503,"props":1328,"children":1329},{"emptyLinePlaceholder":12},[1330],{"type":398,"value":536},{"type":393,"tag":503,"props":1332,"children":1333},{"class":505,"line":36},[1334],{"type":393,"tag":503,"props":1335,"children":1336},{"style":542},[1337],{"type":398,"value":1338},"# Using lists with column names\n",{"type":393,"tag":503,"props":1340,"children":1341},{"class":505,"line":45},[1342,1347,1351,1356,1360,1364,1368,1372,1376],{"type":393,"tag":503,"props":1343,"children":1344},{"style":515},[1345],{"type":398,"value":1346},"names ",{"type":393,"tag":503,"props":1348,"children":1349},{"style":509},[1350],{"type":398,"value":558},{"type":393,"tag":503,"props":1352,"children":1353},{"style":515},[1354],{"type":398,"value":1355}," [",{"type":393,"tag":503,"props":1357,"children":1358},{"style":569},[1359],{"type":398,"value":582},{"type":393,"tag":503,"props":1361,"children":1362},{"style":515},[1363],{"type":398,"value":587},{"type":393,"tag":503,"props":1365,"children":1366},{"style":569},[1367],{"type":398,"value":592},{"type":393,"tag":503,"props":1369,"children":1370},{"style":515},[1371],{"type":398,"value":587},{"type":393,"tag":503,"props":1373,"children":1374},{"style":569},[1375],{"type":398,"value":601},{"type":393,"tag":503,"props":1377,"children":1378},{"style":515},[1379],{"type":398,"value":686},{"type":393,"tag":503,"props":1381,"children":1382},{"class":505,"line":54},[1383,1388,1392,1396,1400,1404,1408,1412,1416],{"type":393,"tag":503,"props":1384,"children":1385},{"style":515},[1386],{"type":398,"value":1387},"scores ",{"type":393,"tag":503,"props":1389,"children":1390},{"style":509},[1391],{"type":398,"value":558},{"type":393,"tag":503,"props":1393,"children":1394},{"style":515},[1395],{"type":398,"value":1355},{"type":393,"tag":503,"props":1397,"children":1398},{"style":621},[1399],{"type":398,"value":886},{"type":393,"tag":503,"props":1401,"children":1402},{"style":515},[1403],{"type":398,"value":587},{"type":393,"tag":503,"props":1405,"children":1406},{"style":621},[1407],{"type":398,"value":895},{"type":393,"tag":503,"props":1409,"children":1410},{"style":515},[1411],{"type":398,"value":587},{"type":393,"tag":503,"props":1413,"children":1414},{"style":621},[1415],{"type":398,"value":904},{"type":393,"tag":503,"props":1417,"children":1418},{"style":515},[1419],{"type":398,"value":686},{"type":393,"tag":503,"props":1421,"children":1422},{"class":505,"line":63},[1423],{"type":393,"tag":503,"props":1424,"children":1425},{"emptyLinePlaceholder":12},[1426],{"type":398,"value":536},{"type":393,"tag":503,"props":1428,"children":1429},{"class":505,"line":72},[1430,1434,1438],{"type":393,"tag":503,"props":1431,"children":1432},{"style":515},[1433],{"type":398,"value":717},{"type":393,"tag":503,"props":1435,"children":1436},{"style":509},[1437],{"type":398,"value":558},{"type":393,"tag":503,"props":1439,"children":1440},{"style":515},[1441],{"type":398,"value":834},{"type":393,"tag":503,"props":1443,"children":1444},{"class":505,"line":83},[1445,1450],{"type":393,"tag":503,"props":1446,"children":1447},{"style":569},[1448],{"type":398,"value":1449},"    'student'",{"type":393,"tag":503,"props":1451,"children":1452},{"style":515},[1453],{"type":398,"value":1454},": names,\n",{"type":393,"tag":503,"props":1456,"children":1457},{"class":505,"line":92},[1458,1463],{"type":393,"tag":503,"props":1459,"children":1460},{"style":569},[1461],{"type":398,"value":1462},"    'score'",{"type":393,"tag":503,"props":1464,"children":1465},{"style":515},[1466],{"type":398,"value":1467},": scores\n",{"type":393,"tag":503,"props":1469,"children":1470},{"class":505,"line":101},[1471],{"type":393,"tag":503,"props":1472,"children":1473},{"style":515},[1474],{"type":398,"value":954},{"type":393,"tag":503,"props":1476,"children":1477},{"class":505,"line":110},[1478],{"type":393,"tag":503,"props":1479,"children":1480},{"emptyLinePlaceholder":12},[1481],{"type":398,"value":536},{"type":393,"tag":503,"props":1483,"children":1484},{"class":505,"line":121},[1485,1489],{"type":393,"tag":503,"props":1486,"children":1487},{"style":621},[1488],{"type":398,"value":734},{"type":393,"tag":503,"props":1490,"children":1491},{"style":515},[1492],{"type":398,"value":739},{"type":393,"tag":1289,"props":1494,"children":1496},{"id":1495},"from-list-of-lists",[1497],{"type":398,"value":1498},"From List of Lists",{"type":393,"tag":488,"props":1500,"children":1501},{},[1502],{"type":393,"tag":492,"props":1503,"children":1505},{"className":494,"code":1504,"language":496,"meta":6,"style":6},"import pandas as pd\n\n# Using list of lists (like rows)\ndata = [\n    ['Alice', 85],\n    ['Bob', 92], \n    ['Charlie', 78]\n]\n\ndf = pd.DataFrame(data, columns=['name', 'score'])\nprint(df)\n",[1506],{"type":393,"tag":499,"props":1507,"children":1508},{"__ignoreMap":6},[1509,1528,1535,1543,1559,1583,1607,1630,1637,1644,1694],{"type":393,"tag":503,"props":1510,"children":1511},{"class":505,"line":11},[1512,1516,1520,1524],{"type":393,"tag":503,"props":1513,"children":1514},{"style":509},[1515],{"type":398,"value":512},{"type":393,"tag":503,"props":1517,"children":1518},{"style":515},[1519],{"type":398,"value":518},{"type":393,"tag":503,"props":1521,"children":1522},{"style":509},[1523],{"type":398,"value":523},{"type":393,"tag":503,"props":1525,"children":1526},{"style":515},[1527],{"type":398,"value":528},{"type":393,"tag":503,"props":1529,"children":1530},{"class":505,"line":27},[1531],{"type":393,"tag":503,"props":1532,"children":1533},{"emptyLinePlaceholder":12},[1534],{"type":398,"value":536},{"type":393,"tag":503,"props":1536,"children":1537},{"class":505,"line":36},[1538],{"type":393,"tag":503,"props":1539,"children":1540},{"style":542},[1541],{"type":398,"value":1542},"# Using list of lists (like rows)\n",{"type":393,"tag":503,"props":1544,"children":1545},{"class":505,"line":45},[1546,1550,1554],{"type":393,"tag":503,"props":1547,"children":1548},{"style":515},[1549],{"type":398,"value":553},{"type":393,"tag":503,"props":1551,"children":1552},{"style":509},[1553],{"type":398,"value":558},{"type":393,"tag":503,"props":1555,"children":1556},{"style":515},[1557],{"type":398,"value":1558}," [\n",{"type":393,"tag":503,"props":1560,"children":1561},{"class":505,"line":54},[1562,1567,1571,1575,1579],{"type":393,"tag":503,"props":1563,"children":1564},{"style":515},[1565],{"type":398,"value":1566},"    [",{"type":393,"tag":503,"props":1568,"children":1569},{"style":569},[1570],{"type":398,"value":582},{"type":393,"tag":503,"props":1572,"children":1573},{"style":515},[1574],{"type":398,"value":587},{"type":393,"tag":503,"props":1576,"children":1577},{"style":621},[1578],{"type":398,"value":886},{"type":393,"tag":503,"props":1580,"children":1581},{"style":515},[1582],{"type":398,"value":606},{"type":393,"tag":503,"props":1584,"children":1585},{"class":505,"line":63},[1586,1590,1594,1598,1602],{"type":393,"tag":503,"props":1587,"children":1588},{"style":515},[1589],{"type":398,"value":1566},{"type":393,"tag":503,"props":1591,"children":1592},{"style":569},[1593],{"type":398,"value":592},{"type":393,"tag":503,"props":1595,"children":1596},{"style":515},[1597],{"type":398,"value":587},{"type":393,"tag":503,"props":1599,"children":1600},{"style":621},[1601],{"type":398,"value":895},{"type":393,"tag":503,"props":1603,"children":1604},{"style":515},[1605],{"type":398,"value":1606},"], \n",{"type":393,"tag":503,"props":1608,"children":1609},{"class":505,"line":72},[1610,1614,1618,1622,1626],{"type":393,"tag":503,"props":1611,"children":1612},{"style":515},[1613],{"type":398,"value":1566},{"type":393,"tag":503,"props":1615,"children":1616},{"style":569},[1617],{"type":398,"value":601},{"type":393,"tag":503,"props":1619,"children":1620},{"style":515},[1621],{"type":398,"value":587},{"type":393,"tag":503,"props":1623,"children":1624},{"style":621},[1625],{"type":398,"value":904},{"type":393,"tag":503,"props":1627,"children":1628},{"style":515},[1629],{"type":398,"value":686},{"type":393,"tag":503,"props":1631,"children":1632},{"class":505,"line":83},[1633],{"type":393,"tag":503,"props":1634,"children":1635},{"style":515},[1636],{"type":398,"value":686},{"type":393,"tag":503,"props":1638,"children":1639},{"class":505,"line":92},[1640],{"type":393,"tag":503,"props":1641,"children":1642},{"emptyLinePlaceholder":12},[1643],{"type":398,"value":536},{"type":393,"tag":503,"props":1645,"children":1646},{"class":505,"line":101},[1647,1651,1655,1660,1666,1670,1675,1680,1684,1689],{"type":393,"tag":503,"props":1648,"children":1649},{"style":515},[1650],{"type":398,"value":717},{"type":393,"tag":503,"props":1652,"children":1653},{"style":509},[1654],{"type":398,"value":558},{"type":393,"tag":503,"props":1656,"children":1657},{"style":515},[1658],{"type":398,"value":1659}," pd.DataFrame(data, ",{"type":393,"tag":503,"props":1661,"children":1663},{"style":1662},"--shiki-default:#E36209;--shiki-app-dark-mode:#FFAB70",[1664],{"type":398,"value":1665},"columns",{"type":393,"tag":503,"props":1667,"children":1668},{"style":509},[1669],{"type":398,"value":558},{"type":393,"tag":503,"props":1671,"children":1672},{"style":515},[1673],{"type":398,"value":1674},"[",{"type":393,"tag":503,"props":1676,"children":1677},{"style":569},[1678],{"type":398,"value":1679},"'name'",{"type":393,"tag":503,"props":1681,"children":1682},{"style":515},[1683],{"type":398,"value":587},{"type":393,"tag":503,"props":1685,"children":1686},{"style":569},[1687],{"type":398,"value":1688},"'score'",{"type":393,"tag":503,"props":1690,"children":1691},{"style":515},[1692],{"type":398,"value":1693},"])\n",{"type":393,"tag":503,"props":1695,"children":1696},{"class":505,"line":110},[1697,1701],{"type":393,"tag":503,"props":1698,"children":1699},{"style":621},[1700],{"type":398,"value":734},{"type":393,"tag":503,"props":1702,"children":1703},{"style":515},[1704],{"type":398,"value":739},{"type":393,"tag":476,"props":1706,"children":1708},{"id":1707},"accessing-data-in-your-dataframe",[1709],{"type":398,"value":1710},"🎯 Accessing Data in Your DataFrame",{"type":393,"tag":401,"props":1712,"children":1713},{},[1714],{"type":398,"value":1715},"Once you have a DataFrame, here's how to get data out:",{"type":393,"tag":488,"props":1717,"children":1718},{},[1719],{"type":393,"tag":492,"props":1720,"children":1722},{"className":494,"code":1721,"language":496,"meta":6,"style":6},"import pandas as pd\n\n# Create sample data\ndf = pd.DataFrame({\n    'name': ['Alice', 'Bob', 'Charlie'],\n    'age': [25, 30, 35]\n})\n\nprint(\"Original DataFrame:\")\nprint(df)\nprint()\n\n# Get one column\nprint(\"Just names:\")\nprint(df['name'])\nprint()\n\n# Get multiple columns\nprint(\"Name and age:\")\nprint(df[['name', 'age']])\nprint()\n\n# Get one row\nprint(\"First student:\")\nprint(df.loc[0])\n",[1723],{"type":393,"tag":499,"props":1724,"children":1725},{"__ignoreMap":6},[1726,1745,1752,1760,1775,1810,1845,1852,1859,1879,1890,1901,1908,1916,1936,1956,1967,1974,1982,2002,2032,2043,2050,2058,2078],{"type":393,"tag":503,"props":1727,"children":1728},{"class":505,"line":11},[1729,1733,1737,1741],{"type":393,"tag":503,"props":1730,"children":1731},{"style":509},[1732],{"type":398,"value":512},{"type":393,"tag":503,"props":1734,"children":1735},{"style":515},[1736],{"type":398,"value":518},{"type":393,"tag":503,"props":1738,"children":1739},{"style":509},[1740],{"type":398,"value":523},{"type":393,"tag":503,"props":1742,"children":1743},{"style":515},[1744],{"type":398,"value":528},{"type":393,"tag":503,"props":1746,"children":1747},{"class":505,"line":27},[1748],{"type":393,"tag":503,"props":1749,"children":1750},{"emptyLinePlaceholder":12},[1751],{"type":398,"value":536},{"type":393,"tag":503,"props":1753,"children":1754},{"class":505,"line":36},[1755],{"type":393,"tag":503,"props":1756,"children":1757},{"style":542},[1758],{"type":398,"value":1759},"# Create sample data\n",{"type":393,"tag":503,"props":1761,"children":1762},{"class":505,"line":45},[1763,1767,1771],{"type":393,"tag":503,"props":1764,"children":1765},{"style":515},[1766],{"type":398,"value":717},{"type":393,"tag":503,"props":1768,"children":1769},{"style":509},[1770],{"type":398,"value":558},{"type":393,"tag":503,"props":1772,"children":1773},{"style":515},[1774],{"type":398,"value":834},{"type":393,"tag":503,"props":1776,"children":1777},{"class":505,"line":54},[1778,1782,1786,1790,1794,1798,1802,1806],{"type":393,"tag":503,"props":1779,"children":1780},{"style":569},[1781],{"type":398,"value":572},{"type":393,"tag":503,"props":1783,"children":1784},{"style":515},[1785],{"type":398,"value":577},{"type":393,"tag":503,"props":1787,"children":1788},{"style":569},[1789],{"type":398,"value":582},{"type":393,"tag":503,"props":1791,"children":1792},{"style":515},[1793],{"type":398,"value":587},{"type":393,"tag":503,"props":1795,"children":1796},{"style":569},[1797],{"type":398,"value":592},{"type":393,"tag":503,"props":1799,"children":1800},{"style":515},[1801],{"type":398,"value":587},{"type":393,"tag":503,"props":1803,"children":1804},{"style":569},[1805],{"type":398,"value":601},{"type":393,"tag":503,"props":1807,"children":1808},{"style":515},[1809],{"type":398,"value":606},{"type":393,"tag":503,"props":1811,"children":1812},{"class":505,"line":63},[1813,1817,1821,1825,1829,1833,1837,1841],{"type":393,"tag":503,"props":1814,"children":1815},{"style":569},[1816],{"type":398,"value":614},{"type":393,"tag":503,"props":1818,"children":1819},{"style":515},[1820],{"type":398,"value":577},{"type":393,"tag":503,"props":1822,"children":1823},{"style":621},[1824],{"type":398,"value":624},{"type":393,"tag":503,"props":1826,"children":1827},{"style":515},[1828],{"type":398,"value":587},{"type":393,"tag":503,"props":1830,"children":1831},{"style":621},[1832],{"type":398,"value":633},{"type":393,"tag":503,"props":1834,"children":1835},{"style":515},[1836],{"type":398,"value":587},{"type":393,"tag":503,"props":1838,"children":1839},{"style":621},[1840],{"type":398,"value":642},{"type":393,"tag":503,"props":1842,"children":1843},{"style":515},[1844],{"type":398,"value":686},{"type":393,"tag":503,"props":1846,"children":1847},{"class":505,"line":72},[1848],{"type":393,"tag":503,"props":1849,"children":1850},{"style":515},[1851],{"type":398,"value":954},{"type":393,"tag":503,"props":1853,"children":1854},{"class":505,"line":83},[1855],{"type":393,"tag":503,"props":1856,"children":1857},{"emptyLinePlaceholder":12},[1858],{"type":398,"value":536},{"type":393,"tag":503,"props":1860,"children":1861},{"class":505,"line":92},[1862,1866,1870,1875],{"type":393,"tag":503,"props":1863,"children":1864},{"style":621},[1865],{"type":398,"value":734},{"type":393,"tag":503,"props":1867,"children":1868},{"style":515},[1869],{"type":398,"value":973},{"type":393,"tag":503,"props":1871,"children":1872},{"style":569},[1873],{"type":398,"value":1874},"\"Original DataFrame:\"",{"type":393,"tag":503,"props":1876,"children":1877},{"style":515},[1878],{"type":398,"value":983},{"type":393,"tag":503,"props":1880,"children":1881},{"class":505,"line":101},[1882,1886],{"type":393,"tag":503,"props":1883,"children":1884},{"style":621},[1885],{"type":398,"value":734},{"type":393,"tag":503,"props":1887,"children":1888},{"style":515},[1889],{"type":398,"value":739},{"type":393,"tag":503,"props":1891,"children":1892},{"class":505,"line":110},[1893,1897],{"type":393,"tag":503,"props":1894,"children":1895},{"style":621},[1896],{"type":398,"value":734},{"type":393,"tag":503,"props":1898,"children":1899},{"style":515},[1900],{"type":398,"value":1007},{"type":393,"tag":503,"props":1902,"children":1903},{"class":505,"line":121},[1904],{"type":393,"tag":503,"props":1905,"children":1906},{"emptyLinePlaceholder":12},[1907],{"type":398,"value":536},{"type":393,"tag":503,"props":1909,"children":1910},{"class":505,"line":130},[1911],{"type":393,"tag":503,"props":1912,"children":1913},{"style":542},[1914],{"type":398,"value":1915},"# Get one column\n",{"type":393,"tag":503,"props":1917,"children":1918},{"class":505,"line":139},[1919,1923,1927,1932],{"type":393,"tag":503,"props":1920,"children":1921},{"style":621},[1922],{"type":398,"value":734},{"type":393,"tag":503,"props":1924,"children":1925},{"style":515},[1926],{"type":398,"value":973},{"type":393,"tag":503,"props":1928,"children":1929},{"style":569},[1930],{"type":398,"value":1931},"\"Just names:\"",{"type":393,"tag":503,"props":1933,"children":1934},{"style":515},[1935],{"type":398,"value":983},{"type":393,"tag":503,"props":1937,"children":1938},{"class":505,"line":148},[1939,1943,1948,1952],{"type":393,"tag":503,"props":1940,"children":1941},{"style":621},[1942],{"type":398,"value":734},{"type":393,"tag":503,"props":1944,"children":1945},{"style":515},[1946],{"type":398,"value":1947},"(df[",{"type":393,"tag":503,"props":1949,"children":1950},{"style":569},[1951],{"type":398,"value":1679},{"type":393,"tag":503,"props":1953,"children":1954},{"style":515},[1955],{"type":398,"value":1693},{"type":393,"tag":503,"props":1957,"children":1958},{"class":505,"line":159},[1959,1963],{"type":393,"tag":503,"props":1960,"children":1961},{"style":621},[1962],{"type":398,"value":734},{"type":393,"tag":503,"props":1964,"children":1965},{"style":515},[1966],{"type":398,"value":1007},{"type":393,"tag":503,"props":1968,"children":1969},{"class":505,"line":168},[1970],{"type":393,"tag":503,"props":1971,"children":1972},{"emptyLinePlaceholder":12},[1973],{"type":398,"value":536},{"type":393,"tag":503,"props":1975,"children":1976},{"class":505,"line":177},[1977],{"type":393,"tag":503,"props":1978,"children":1979},{"style":542},[1980],{"type":398,"value":1981},"# Get multiple columns\n",{"type":393,"tag":503,"props":1983,"children":1984},{"class":505,"line":186},[1985,1989,1993,1998],{"type":393,"tag":503,"props":1986,"children":1987},{"style":621},[1988],{"type":398,"value":734},{"type":393,"tag":503,"props":1990,"children":1991},{"style":515},[1992],{"type":398,"value":973},{"type":393,"tag":503,"props":1994,"children":1995},{"style":569},[1996],{"type":398,"value":1997},"\"Name and age:\"",{"type":393,"tag":503,"props":1999,"children":2000},{"style":515},[2001],{"type":398,"value":983},{"type":393,"tag":503,"props":2003,"children":2004},{"class":505,"line":197},[2005,2009,2014,2018,2022,2027],{"type":393,"tag":503,"props":2006,"children":2007},{"style":621},[2008],{"type":398,"value":734},{"type":393,"tag":503,"props":2010,"children":2011},{"style":515},[2012],{"type":398,"value":2013},"(df[[",{"type":393,"tag":503,"props":2015,"children":2016},{"style":569},[2017],{"type":398,"value":1679},{"type":393,"tag":503,"props":2019,"children":2020},{"style":515},[2021],{"type":398,"value":587},{"type":393,"tag":503,"props":2023,"children":2024},{"style":569},[2025],{"type":398,"value":2026},"'age'",{"type":393,"tag":503,"props":2028,"children":2029},{"style":515},[2030],{"type":398,"value":2031},"]])\n",{"type":393,"tag":503,"props":2033,"children":2034},{"class":505,"line":206},[2035,2039],{"type":393,"tag":503,"props":2036,"children":2037},{"style":621},[2038],{"type":398,"value":734},{"type":393,"tag":503,"props":2040,"children":2041},{"style":515},[2042],{"type":398,"value":1007},{"type":393,"tag":503,"props":2044,"children":2045},{"class":505,"line":215},[2046],{"type":393,"tag":503,"props":2047,"children":2048},{"emptyLinePlaceholder":12},[2049],{"type":398,"value":536},{"type":393,"tag":503,"props":2051,"children":2052},{"class":505,"line":224},[2053],{"type":393,"tag":503,"props":2054,"children":2055},{"style":542},[2056],{"type":398,"value":2057},"# Get one row\n",{"type":393,"tag":503,"props":2059,"children":2060},{"class":505,"line":233},[2061,2065,2069,2074],{"type":393,"tag":503,"props":2062,"children":2063},{"style":621},[2064],{"type":398,"value":734},{"type":393,"tag":503,"props":2066,"children":2067},{"style":515},[2068],{"type":398,"value":973},{"type":393,"tag":503,"props":2070,"children":2071},{"style":569},[2072],{"type":398,"value":2073},"\"First student:\"",{"type":393,"tag":503,"props":2075,"children":2076},{"style":515},[2077],{"type":398,"value":983},{"type":393,"tag":503,"props":2079,"children":2080},{"class":505,"line":244},[2081,2085,2090,2095],{"type":393,"tag":503,"props":2082,"children":2083},{"style":621},[2084],{"type":398,"value":734},{"type":393,"tag":503,"props":2086,"children":2087},{"style":515},[2088],{"type":398,"value":2089},"(df.loc[",{"type":393,"tag":503,"props":2091,"children":2092},{"style":621},[2093],{"type":398,"value":2094},"0",{"type":393,"tag":503,"props":2096,"children":2097},{"style":515},[2098],{"type":398,"value":1693},{"type":393,"tag":476,"props":2100,"children":2102},{"id":2101},"adding-and-modifying-data",[2103],{"type":398,"value":2104},"➕ Adding and Modifying Data",{"type":393,"tag":401,"props":2106,"children":2107},{},[2108],{"type":398,"value":2109},"DataFrames are flexible - you can easily add new columns or change existing data:",{"type":393,"tag":488,"props":2111,"children":2112},{},[2113],{"type":393,"tag":492,"props":2114,"children":2116},{"className":494,"code":2115,"language":496,"meta":6,"style":6},"import pandas as pd\n\n# Start with basic data\ndf = pd.DataFrame({\n    'name': ['Alice', 'Bob', 'Charlie'],\n    'math': [85, 92, 78]\n})\n\nprint(\"Original:\")\nprint(df)\nprint()\n\n# Add a new column\ndf['english'] = [90, 87, 85]\nprint(\"Added English scores:\")\nprint(df)\nprint()\n\n# Add calculated column\ndf['average'] = (df['math'] + df['english']) / 2\nprint(\"Added averages:\")\nprint(df)\n",[2117],{"type":393,"tag":499,"props":2118,"children":2119},{"__ignoreMap":6},[2120,2139,2146,2154,2169,2204,2239,2246,2253,2273,2284,2295,2302,2310,2360,2380,2391,2402,2409,2417,2479,2499],{"type":393,"tag":503,"props":2121,"children":2122},{"class":505,"line":11},[2123,2127,2131,2135],{"type":393,"tag":503,"props":2124,"children":2125},{"style":509},[2126],{"type":398,"value":512},{"type":393,"tag":503,"props":2128,"children":2129},{"style":515},[2130],{"type":398,"value":518},{"type":393,"tag":503,"props":2132,"children":2133},{"style":509},[2134],{"type":398,"value":523},{"type":393,"tag":503,"props":2136,"children":2137},{"style":515},[2138],{"type":398,"value":528},{"type":393,"tag":503,"props":2140,"children":2141},{"class":505,"line":27},[2142],{"type":393,"tag":503,"props":2143,"children":2144},{"emptyLinePlaceholder":12},[2145],{"type":398,"value":536},{"type":393,"tag":503,"props":2147,"children":2148},{"class":505,"line":36},[2149],{"type":393,"tag":503,"props":2150,"children":2151},{"style":542},[2152],{"type":398,"value":2153},"# Start with basic data\n",{"type":393,"tag":503,"props":2155,"children":2156},{"class":505,"line":45},[2157,2161,2165],{"type":393,"tag":503,"props":2158,"children":2159},{"style":515},[2160],{"type":398,"value":717},{"type":393,"tag":503,"props":2162,"children":2163},{"style":509},[2164],{"type":398,"value":558},{"type":393,"tag":503,"props":2166,"children":2167},{"style":515},[2168],{"type":398,"value":834},{"type":393,"tag":503,"props":2170,"children":2171},{"class":505,"line":54},[2172,2176,2180,2184,2188,2192,2196,2200],{"type":393,"tag":503,"props":2173,"children":2174},{"style":569},[2175],{"type":398,"value":572},{"type":393,"tag":503,"props":2177,"children":2178},{"style":515},[2179],{"type":398,"value":577},{"type":393,"tag":503,"props":2181,"children":2182},{"style":569},[2183],{"type":398,"value":582},{"type":393,"tag":503,"props":2185,"children":2186},{"style":515},[2187],{"type":398,"value":587},{"type":393,"tag":503,"props":2189,"children":2190},{"style":569},[2191],{"type":398,"value":592},{"type":393,"tag":503,"props":2193,"children":2194},{"style":515},[2195],{"type":398,"value":587},{"type":393,"tag":503,"props":2197,"children":2198},{"style":569},[2199],{"type":398,"value":601},{"type":393,"tag":503,"props":2201,"children":2202},{"style":515},[2203],{"type":398,"value":606},{"type":393,"tag":503,"props":2205,"children":2206},{"class":505,"line":63},[2207,2211,2215,2219,2223,2227,2231,2235],{"type":393,"tag":503,"props":2208,"children":2209},{"style":569},[2210],{"type":398,"value":877},{"type":393,"tag":503,"props":2212,"children":2213},{"style":515},[2214],{"type":398,"value":577},{"type":393,"tag":503,"props":2216,"children":2217},{"style":621},[2218],{"type":398,"value":886},{"type":393,"tag":503,"props":2220,"children":2221},{"style":515},[2222],{"type":398,"value":587},{"type":393,"tag":503,"props":2224,"children":2225},{"style":621},[2226],{"type":398,"value":895},{"type":393,"tag":503,"props":2228,"children":2229},{"style":515},[2230],{"type":398,"value":587},{"type":393,"tag":503,"props":2232,"children":2233},{"style":621},[2234],{"type":398,"value":904},{"type":393,"tag":503,"props":2236,"children":2237},{"style":515},[2238],{"type":398,"value":686},{"type":393,"tag":503,"props":2240,"children":2241},{"class":505,"line":72},[2242],{"type":393,"tag":503,"props":2243,"children":2244},{"style":515},[2245],{"type":398,"value":954},{"type":393,"tag":503,"props":2247,"children":2248},{"class":505,"line":83},[2249],{"type":393,"tag":503,"props":2250,"children":2251},{"emptyLinePlaceholder":12},[2252],{"type":398,"value":536},{"type":393,"tag":503,"props":2254,"children":2255},{"class":505,"line":92},[2256,2260,2264,2269],{"type":393,"tag":503,"props":2257,"children":2258},{"style":621},[2259],{"type":398,"value":734},{"type":393,"tag":503,"props":2261,"children":2262},{"style":515},[2263],{"type":398,"value":973},{"type":393,"tag":503,"props":2265,"children":2266},{"style":569},[2267],{"type":398,"value":2268},"\"Original:\"",{"type":393,"tag":503,"props":2270,"children":2271},{"style":515},[2272],{"type":398,"value":983},{"type":393,"tag":503,"props":2274,"children":2275},{"class":505,"line":101},[2276,2280],{"type":393,"tag":503,"props":2277,"children":2278},{"style":621},[2279],{"type":398,"value":734},{"type":393,"tag":503,"props":2281,"children":2282},{"style":515},[2283],{"type":398,"value":739},{"type":393,"tag":503,"props":2285,"children":2286},{"class":505,"line":110},[2287,2291],{"type":393,"tag":503,"props":2288,"children":2289},{"style":621},[2290],{"type":398,"value":734},{"type":393,"tag":503,"props":2292,"children":2293},{"style":515},[2294],{"type":398,"value":1007},{"type":393,"tag":503,"props":2296,"children":2297},{"class":505,"line":121},[2298],{"type":393,"tag":503,"props":2299,"children":2300},{"emptyLinePlaceholder":12},[2301],{"type":398,"value":536},{"type":393,"tag":503,"props":2303,"children":2304},{"class":505,"line":130},[2305],{"type":393,"tag":503,"props":2306,"children":2307},{"style":542},[2308],{"type":398,"value":2309},"# Add a new column\n",{"type":393,"tag":503,"props":2311,"children":2312},{"class":505,"line":139},[2313,2318,2323,2328,2332,2336,2340,2344,2348,2352,2356],{"type":393,"tag":503,"props":2314,"children":2315},{"style":515},[2316],{"type":398,"value":2317},"df[",{"type":393,"tag":503,"props":2319,"children":2320},{"style":569},[2321],{"type":398,"value":2322},"'english'",{"type":393,"tag":503,"props":2324,"children":2325},{"style":515},[2326],{"type":398,"value":2327},"] ",{"type":393,"tag":503,"props":2329,"children":2330},{"style":509},[2331],{"type":398,"value":558},{"type":393,"tag":503,"props":2333,"children":2334},{"style":515},[2335],{"type":398,"value":1355},{"type":393,"tag":503,"props":2337,"children":2338},{"style":621},[2339],{"type":398,"value":925},{"type":393,"tag":503,"props":2341,"children":2342},{"style":515},[2343],{"type":398,"value":587},{"type":393,"tag":503,"props":2345,"children":2346},{"style":621},[2347],{"type":398,"value":934},{"type":393,"tag":503,"props":2349,"children":2350},{"style":515},[2351],{"type":398,"value":587},{"type":393,"tag":503,"props":2353,"children":2354},{"style":621},[2355],{"type":398,"value":886},{"type":393,"tag":503,"props":2357,"children":2358},{"style":515},[2359],{"type":398,"value":686},{"type":393,"tag":503,"props":2361,"children":2362},{"class":505,"line":148},[2363,2367,2371,2376],{"type":393,"tag":503,"props":2364,"children":2365},{"style":621},[2366],{"type":398,"value":734},{"type":393,"tag":503,"props":2368,"children":2369},{"style":515},[2370],{"type":398,"value":973},{"type":393,"tag":503,"props":2372,"children":2373},{"style":569},[2374],{"type":398,"value":2375},"\"Added English scores:\"",{"type":393,"tag":503,"props":2377,"children":2378},{"style":515},[2379],{"type":398,"value":983},{"type":393,"tag":503,"props":2381,"children":2382},{"class":505,"line":159},[2383,2387],{"type":393,"tag":503,"props":2384,"children":2385},{"style":621},[2386],{"type":398,"value":734},{"type":393,"tag":503,"props":2388,"children":2389},{"style":515},[2390],{"type":398,"value":739},{"type":393,"tag":503,"props":2392,"children":2393},{"class":505,"line":168},[2394,2398],{"type":393,"tag":503,"props":2395,"children":2396},{"style":621},[2397],{"type":398,"value":734},{"type":393,"tag":503,"props":2399,"children":2400},{"style":515},[2401],{"type":398,"value":1007},{"type":393,"tag":503,"props":2403,"children":2404},{"class":505,"line":177},[2405],{"type":393,"tag":503,"props":2406,"children":2407},{"emptyLinePlaceholder":12},[2408],{"type":398,"value":536},{"type":393,"tag":503,"props":2410,"children":2411},{"class":505,"line":186},[2412],{"type":393,"tag":503,"props":2413,"children":2414},{"style":542},[2415],{"type":398,"value":2416},"# Add calculated column\n",{"type":393,"tag":503,"props":2418,"children":2419},{"class":505,"line":197},[2420,2424,2429,2433,2437,2442,2446,2450,2455,2460,2464,2469,2474],{"type":393,"tag":503,"props":2421,"children":2422},{"style":515},[2423],{"type":398,"value":2317},{"type":393,"tag":503,"props":2425,"children":2426},{"style":569},[2427],{"type":398,"value":2428},"'average'",{"type":393,"tag":503,"props":2430,"children":2431},{"style":515},[2432],{"type":398,"value":2327},{"type":393,"tag":503,"props":2434,"children":2435},{"style":509},[2436],{"type":398,"value":558},{"type":393,"tag":503,"props":2438,"children":2439},{"style":515},[2440],{"type":398,"value":2441}," (df[",{"type":393,"tag":503,"props":2443,"children":2444},{"style":569},[2445],{"type":398,"value":1215},{"type":393,"tag":503,"props":2447,"children":2448},{"style":515},[2449],{"type":398,"value":2327},{"type":393,"tag":503,"props":2451,"children":2452},{"style":509},[2453],{"type":398,"value":2454},"+",{"type":393,"tag":503,"props":2456,"children":2457},{"style":515},[2458],{"type":398,"value":2459}," df[",{"type":393,"tag":503,"props":2461,"children":2462},{"style":569},[2463],{"type":398,"value":2322},{"type":393,"tag":503,"props":2465,"children":2466},{"style":515},[2467],{"type":398,"value":2468},"]) ",{"type":393,"tag":503,"props":2470,"children":2471},{"style":509},[2472],{"type":398,"value":2473},"/",{"type":393,"tag":503,"props":2475,"children":2476},{"style":621},[2477],{"type":398,"value":2478}," 2\n",{"type":393,"tag":503,"props":2480,"children":2481},{"class":505,"line":206},[2482,2486,2490,2495],{"type":393,"tag":503,"props":2483,"children":2484},{"style":621},[2485],{"type":398,"value":734},{"type":393,"tag":503,"props":2487,"children":2488},{"style":515},[2489],{"type":398,"value":973},{"type":393,"tag":503,"props":2491,"children":2492},{"style":569},[2493],{"type":398,"value":2494},"\"Added averages:\"",{"type":393,"tag":503,"props":2496,"children":2497},{"style":515},[2498],{"type":398,"value":983},{"type":393,"tag":503,"props":2500,"children":2501},{"class":505,"line":215},[2502,2506],{"type":393,"tag":503,"props":2503,"children":2504},{"style":621},[2505],{"type":398,"value":734},{"type":393,"tag":503,"props":2507,"children":2508},{"style":515},[2509],{"type":398,"value":739},{"type":393,"tag":476,"props":2511,"children":2513},{"id":2512},"basic-dataframe-operations",[2514],{"type":398,"value":2515},"🔢 Basic DataFrame Operations",{"type":393,"tag":401,"props":2517,"children":2518},{},[2519],{"type":398,"value":2520},"Here are the most common things you'll do with DataFrames:",{"type":393,"tag":488,"props":2522,"children":2523},{},[2524],{"type":393,"tag":492,"props":2525,"children":2527},{"className":494,"code":2526,"language":496,"meta":6,"style":6},"import pandas as pd\n\n# Sample data\ndf = pd.DataFrame({\n    'product': ['Laptop', 'Mouse', 'Keyboard'],\n    'price': [999, 25, 75],\n    'quantity': [2, 10, 5]\n})\n\nprint(\"Product Data:\")\nprint(df)\nprint()\n\n# Calculate totals\ndf['total'] = df['price'] * df['quantity']\nprint(\"With totals:\")\nprint(df)\nprint()\n\n# Sort by price\nsorted_df = df.sort_values('price')\nprint(\"Sorted by price:\")\nprint(sorted_df)\nprint()\n\n# Filter expensive items\nexpensive = df[df['price'] > 50]\nprint(\"Expensive items:\")\nprint(expensive)\n",[2528],{"type":393,"tag":499,"props":2529,"children":2530},{"__ignoreMap":6},[2531,2550,2557,2565,2580,2619,2657,2696,2703,2710,2730,2741,2752,2759,2767,2818,2838,2849,2860,2867,2875,2900,2920,2932,2943,2950,2958,2997,3017],{"type":393,"tag":503,"props":2532,"children":2533},{"class":505,"line":11},[2534,2538,2542,2546],{"type":393,"tag":503,"props":2535,"children":2536},{"style":509},[2537],{"type":398,"value":512},{"type":393,"tag":503,"props":2539,"children":2540},{"style":515},[2541],{"type":398,"value":518},{"type":393,"tag":503,"props":2543,"children":2544},{"style":509},[2545],{"type":398,"value":523},{"type":393,"tag":503,"props":2547,"children":2548},{"style":515},[2549],{"type":398,"value":528},{"type":393,"tag":503,"props":2551,"children":2552},{"class":505,"line":27},[2553],{"type":393,"tag":503,"props":2554,"children":2555},{"emptyLinePlaceholder":12},[2556],{"type":398,"value":536},{"type":393,"tag":503,"props":2558,"children":2559},{"class":505,"line":36},[2560],{"type":393,"tag":503,"props":2561,"children":2562},{"style":542},[2563],{"type":398,"value":2564},"# Sample data\n",{"type":393,"tag":503,"props":2566,"children":2567},{"class":505,"line":45},[2568,2572,2576],{"type":393,"tag":503,"props":2569,"children":2570},{"style":515},[2571],{"type":398,"value":717},{"type":393,"tag":503,"props":2573,"children":2574},{"style":509},[2575],{"type":398,"value":558},{"type":393,"tag":503,"props":2577,"children":2578},{"style":515},[2579],{"type":398,"value":834},{"type":393,"tag":503,"props":2581,"children":2582},{"class":505,"line":54},[2583,2588,2592,2597,2601,2606,2610,2615],{"type":393,"tag":503,"props":2584,"children":2585},{"style":569},[2586],{"type":398,"value":2587},"    'product'",{"type":393,"tag":503,"props":2589,"children":2590},{"style":515},[2591],{"type":398,"value":577},{"type":393,"tag":503,"props":2593,"children":2594},{"style":569},[2595],{"type":398,"value":2596},"'Laptop'",{"type":393,"tag":503,"props":2598,"children":2599},{"style":515},[2600],{"type":398,"value":587},{"type":393,"tag":503,"props":2602,"children":2603},{"style":569},[2604],{"type":398,"value":2605},"'Mouse'",{"type":393,"tag":503,"props":2607,"children":2608},{"style":515},[2609],{"type":398,"value":587},{"type":393,"tag":503,"props":2611,"children":2612},{"style":569},[2613],{"type":398,"value":2614},"'Keyboard'",{"type":393,"tag":503,"props":2616,"children":2617},{"style":515},[2618],{"type":398,"value":606},{"type":393,"tag":503,"props":2620,"children":2621},{"class":505,"line":63},[2622,2627,2631,2636,2640,2644,2648,2653],{"type":393,"tag":503,"props":2623,"children":2624},{"style":569},[2625],{"type":398,"value":2626},"    'price'",{"type":393,"tag":503,"props":2628,"children":2629},{"style":515},[2630],{"type":398,"value":577},{"type":393,"tag":503,"props":2632,"children":2633},{"style":621},[2634],{"type":398,"value":2635},"999",{"type":393,"tag":503,"props":2637,"children":2638},{"style":515},[2639],{"type":398,"value":587},{"type":393,"tag":503,"props":2641,"children":2642},{"style":621},[2643],{"type":398,"value":624},{"type":393,"tag":503,"props":2645,"children":2646},{"style":515},[2647],{"type":398,"value":587},{"type":393,"tag":503,"props":2649,"children":2650},{"style":621},[2651],{"type":398,"value":2652},"75",{"type":393,"tag":503,"props":2654,"children":2655},{"style":515},[2656],{"type":398,"value":606},{"type":393,"tag":503,"props":2658,"children":2659},{"class":505,"line":72},[2660,2665,2669,2674,2678,2683,2687,2692],{"type":393,"tag":503,"props":2661,"children":2662},{"style":569},[2663],{"type":398,"value":2664},"    'quantity'",{"type":393,"tag":503,"props":2666,"children":2667},{"style":515},[2668],{"type":398,"value":577},{"type":393,"tag":503,"props":2670,"children":2671},{"style":621},[2672],{"type":398,"value":2673},"2",{"type":393,"tag":503,"props":2675,"children":2676},{"style":515},[2677],{"type":398,"value":587},{"type":393,"tag":503,"props":2679,"children":2680},{"style":621},[2681],{"type":398,"value":2682},"10",{"type":393,"tag":503,"props":2684,"children":2685},{"style":515},[2686],{"type":398,"value":587},{"type":393,"tag":503,"props":2688,"children":2689},{"style":621},[2690],{"type":398,"value":2691},"5",{"type":393,"tag":503,"props":2693,"children":2694},{"style":515},[2695],{"type":398,"value":686},{"type":393,"tag":503,"props":2697,"children":2698},{"class":505,"line":83},[2699],{"type":393,"tag":503,"props":2700,"children":2701},{"style":515},[2702],{"type":398,"value":954},{"type":393,"tag":503,"props":2704,"children":2705},{"class":505,"line":92},[2706],{"type":393,"tag":503,"props":2707,"children":2708},{"emptyLinePlaceholder":12},[2709],{"type":398,"value":536},{"type":393,"tag":503,"props":2711,"children":2712},{"class":505,"line":101},[2713,2717,2721,2726],{"type":393,"tag":503,"props":2714,"children":2715},{"style":621},[2716],{"type":398,"value":734},{"type":393,"tag":503,"props":2718,"children":2719},{"style":515},[2720],{"type":398,"value":973},{"type":393,"tag":503,"props":2722,"children":2723},{"style":569},[2724],{"type":398,"value":2725},"\"Product Data:\"",{"type":393,"tag":503,"props":2727,"children":2728},{"style":515},[2729],{"type":398,"value":983},{"type":393,"tag":503,"props":2731,"children":2732},{"class":505,"line":110},[2733,2737],{"type":393,"tag":503,"props":2734,"children":2735},{"style":621},[2736],{"type":398,"value":734},{"type":393,"tag":503,"props":2738,"children":2739},{"style":515},[2740],{"type":398,"value":739},{"type":393,"tag":503,"props":2742,"children":2743},{"class":505,"line":121},[2744,2748],{"type":393,"tag":503,"props":2745,"children":2746},{"style":621},[2747],{"type":398,"value":734},{"type":393,"tag":503,"props":2749,"children":2750},{"style":515},[2751],{"type":398,"value":1007},{"type":393,"tag":503,"props":2753,"children":2754},{"class":505,"line":130},[2755],{"type":393,"tag":503,"props":2756,"children":2757},{"emptyLinePlaceholder":12},[2758],{"type":398,"value":536},{"type":393,"tag":503,"props":2760,"children":2761},{"class":505,"line":139},[2762],{"type":393,"tag":503,"props":2763,"children":2764},{"style":542},[2765],{"type":398,"value":2766},"# Calculate totals\n",{"type":393,"tag":503,"props":2768,"children":2769},{"class":505,"line":148},[2770,2774,2779,2783,2787,2791,2796,2800,2805,2809,2814],{"type":393,"tag":503,"props":2771,"children":2772},{"style":515},[2773],{"type":398,"value":2317},{"type":393,"tag":503,"props":2775,"children":2776},{"style":569},[2777],{"type":398,"value":2778},"'total'",{"type":393,"tag":503,"props":2780,"children":2781},{"style":515},[2782],{"type":398,"value":2327},{"type":393,"tag":503,"props":2784,"children":2785},{"style":509},[2786],{"type":398,"value":558},{"type":393,"tag":503,"props":2788,"children":2789},{"style":515},[2790],{"type":398,"value":2459},{"type":393,"tag":503,"props":2792,"children":2793},{"style":569},[2794],{"type":398,"value":2795},"'price'",{"type":393,"tag":503,"props":2797,"children":2798},{"style":515},[2799],{"type":398,"value":2327},{"type":393,"tag":503,"props":2801,"children":2802},{"style":509},[2803],{"type":398,"value":2804},"*",{"type":393,"tag":503,"props":2806,"children":2807},{"style":515},[2808],{"type":398,"value":2459},{"type":393,"tag":503,"props":2810,"children":2811},{"style":569},[2812],{"type":398,"value":2813},"'quantity'",{"type":393,"tag":503,"props":2815,"children":2816},{"style":515},[2817],{"type":398,"value":686},{"type":393,"tag":503,"props":2819,"children":2820},{"class":505,"line":159},[2821,2825,2829,2834],{"type":393,"tag":503,"props":2822,"children":2823},{"style":621},[2824],{"type":398,"value":734},{"type":393,"tag":503,"props":2826,"children":2827},{"style":515},[2828],{"type":398,"value":973},{"type":393,"tag":503,"props":2830,"children":2831},{"style":569},[2832],{"type":398,"value":2833},"\"With totals:\"",{"type":393,"tag":503,"props":2835,"children":2836},{"style":515},[2837],{"type":398,"value":983},{"type":393,"tag":503,"props":2839,"children":2840},{"class":505,"line":168},[2841,2845],{"type":393,"tag":503,"props":2842,"children":2843},{"style":621},[2844],{"type":398,"value":734},{"type":393,"tag":503,"props":2846,"children":2847},{"style":515},[2848],{"type":398,"value":739},{"type":393,"tag":503,"props":2850,"children":2851},{"class":505,"line":177},[2852,2856],{"type":393,"tag":503,"props":2853,"children":2854},{"style":621},[2855],{"type":398,"value":734},{"type":393,"tag":503,"props":2857,"children":2858},{"style":515},[2859],{"type":398,"value":1007},{"type":393,"tag":503,"props":2861,"children":2862},{"class":505,"line":186},[2863],{"type":393,"tag":503,"props":2864,"children":2865},{"emptyLinePlaceholder":12},[2866],{"type":398,"value":536},{"type":393,"tag":503,"props":2868,"children":2869},{"class":505,"line":197},[2870],{"type":393,"tag":503,"props":2871,"children":2872},{"style":542},[2873],{"type":398,"value":2874},"# Sort by price\n",{"type":393,"tag":503,"props":2876,"children":2877},{"class":505,"line":206},[2878,2883,2887,2892,2896],{"type":393,"tag":503,"props":2879,"children":2880},{"style":515},[2881],{"type":398,"value":2882},"sorted_df ",{"type":393,"tag":503,"props":2884,"children":2885},{"style":509},[2886],{"type":398,"value":558},{"type":393,"tag":503,"props":2888,"children":2889},{"style":515},[2890],{"type":398,"value":2891}," df.sort_values(",{"type":393,"tag":503,"props":2893,"children":2894},{"style":569},[2895],{"type":398,"value":2795},{"type":393,"tag":503,"props":2897,"children":2898},{"style":515},[2899],{"type":398,"value":983},{"type":393,"tag":503,"props":2901,"children":2902},{"class":505,"line":215},[2903,2907,2911,2916],{"type":393,"tag":503,"props":2904,"children":2905},{"style":621},[2906],{"type":398,"value":734},{"type":393,"tag":503,"props":2908,"children":2909},{"style":515},[2910],{"type":398,"value":973},{"type":393,"tag":503,"props":2912,"children":2913},{"style":569},[2914],{"type":398,"value":2915},"\"Sorted by price:\"",{"type":393,"tag":503,"props":2917,"children":2918},{"style":515},[2919],{"type":398,"value":983},{"type":393,"tag":503,"props":2921,"children":2922},{"class":505,"line":224},[2923,2927],{"type":393,"tag":503,"props":2924,"children":2925},{"style":621},[2926],{"type":398,"value":734},{"type":393,"tag":503,"props":2928,"children":2929},{"style":515},[2930],{"type":398,"value":2931},"(sorted_df)\n",{"type":393,"tag":503,"props":2933,"children":2934},{"class":505,"line":233},[2935,2939],{"type":393,"tag":503,"props":2936,"children":2937},{"style":621},[2938],{"type":398,"value":734},{"type":393,"tag":503,"props":2940,"children":2941},{"style":515},[2942],{"type":398,"value":1007},{"type":393,"tag":503,"props":2944,"children":2945},{"class":505,"line":244},[2946],{"type":393,"tag":503,"props":2947,"children":2948},{"emptyLinePlaceholder":12},[2949],{"type":398,"value":536},{"type":393,"tag":503,"props":2951,"children":2952},{"class":505,"line":253},[2953],{"type":393,"tag":503,"props":2954,"children":2955},{"style":542},[2956],{"type":398,"value":2957},"# Filter expensive items\n",{"type":393,"tag":503,"props":2959,"children":2960},{"class":505,"line":262},[2961,2966,2970,2975,2979,2983,2988,2993],{"type":393,"tag":503,"props":2962,"children":2963},{"style":515},[2964],{"type":398,"value":2965},"expensive ",{"type":393,"tag":503,"props":2967,"children":2968},{"style":509},[2969],{"type":398,"value":558},{"type":393,"tag":503,"props":2971,"children":2972},{"style":515},[2973],{"type":398,"value":2974}," df[df[",{"type":393,"tag":503,"props":2976,"children":2977},{"style":569},[2978],{"type":398,"value":2795},{"type":393,"tag":503,"props":2980,"children":2981},{"style":515},[2982],{"type":398,"value":2327},{"type":393,"tag":503,"props":2984,"children":2985},{"style":509},[2986],{"type":398,"value":2987},">",{"type":393,"tag":503,"props":2989,"children":2990},{"style":621},[2991],{"type":398,"value":2992}," 50",{"type":393,"tag":503,"props":2994,"children":2995},{"style":515},[2996],{"type":398,"value":686},{"type":393,"tag":503,"props":2998,"children":2999},{"class":505,"line":271},[3000,3004,3008,3013],{"type":393,"tag":503,"props":3001,"children":3002},{"style":621},[3003],{"type":398,"value":734},{"type":393,"tag":503,"props":3005,"children":3006},{"style":515},[3007],{"type":398,"value":973},{"type":393,"tag":503,"props":3009,"children":3010},{"style":569},[3011],{"type":398,"value":3012},"\"Expensive items:\"",{"type":393,"tag":503,"props":3014,"children":3015},{"style":515},[3016],{"type":398,"value":983},{"type":393,"tag":503,"props":3018,"children":3019},{"class":505,"line":281},[3020,3024],{"type":393,"tag":503,"props":3021,"children":3022},{"style":621},[3023],{"type":398,"value":734},{"type":393,"tag":503,"props":3025,"children":3026},{"style":515},[3027],{"type":398,"value":3028},"(expensive)\n",{"type":393,"tag":476,"props":3030,"children":3032},{"id":3031},"quick-analysis",[3033],{"type":398,"value":3034},"📈 Quick Analysis",{"type":393,"tag":401,"props":3036,"children":3037},{},[3038],{"type":398,"value":3039},"DataFrames make analysis super easy:",{"type":393,"tag":488,"props":3041,"children":3042},{},[3043],{"type":393,"tag":492,"props":3044,"children":3046},{"className":494,"code":3045,"language":496,"meta":6,"style":6},"import pandas as pd\n\n# Sales data\nsales = pd.DataFrame({\n    'day': ['Mon', 'Tue', 'Wed', 'Thu', 'Fri'],\n    'revenue': [100, 150, 120, 200, 180]\n})\n\nprint(\"Sales Data:\")\nprint(sales)\nprint()\n\n# Quick insights\nprint(\"Quick Analysis:\")\nprint(f\"Total revenue: ${sales['revenue'].sum()}\")\nprint(f\"Average daily: ${sales['revenue'].mean():.0f}\")\nprint(f\"Best day: {sales.loc[sales['revenue'].idxmax(), 'day']}\")\nprint(f\"Days over $150: {len(sales[sales['revenue'] > 150])}\")\n",[3047],{"type":393,"tag":499,"props":3048,"children":3049},{"__ignoreMap":6},[3050,3069,3076,3084,3100,3157,3214,3221,3228,3248,3260,3271,3278,3286,3306,3357,3410,3470],{"type":393,"tag":503,"props":3051,"children":3052},{"class":505,"line":11},[3053,3057,3061,3065],{"type":393,"tag":503,"props":3054,"children":3055},{"style":509},[3056],{"type":398,"value":512},{"type":393,"tag":503,"props":3058,"children":3059},{"style":515},[3060],{"type":398,"value":518},{"type":393,"tag":503,"props":3062,"children":3063},{"style":509},[3064],{"type":398,"value":523},{"type":393,"tag":503,"props":3066,"children":3067},{"style":515},[3068],{"type":398,"value":528},{"type":393,"tag":503,"props":3070,"children":3071},{"class":505,"line":27},[3072],{"type":393,"tag":503,"props":3073,"children":3074},{"emptyLinePlaceholder":12},[3075],{"type":398,"value":536},{"type":393,"tag":503,"props":3077,"children":3078},{"class":505,"line":36},[3079],{"type":393,"tag":503,"props":3080,"children":3081},{"style":542},[3082],{"type":398,"value":3083},"# Sales data\n",{"type":393,"tag":503,"props":3085,"children":3086},{"class":505,"line":45},[3087,3092,3096],{"type":393,"tag":503,"props":3088,"children":3089},{"style":515},[3090],{"type":398,"value":3091},"sales ",{"type":393,"tag":503,"props":3093,"children":3094},{"style":509},[3095],{"type":398,"value":558},{"type":393,"tag":503,"props":3097,"children":3098},{"style":515},[3099],{"type":398,"value":834},{"type":393,"tag":503,"props":3101,"children":3102},{"class":505,"line":54},[3103,3108,3112,3117,3121,3126,3130,3135,3139,3144,3148,3153],{"type":393,"tag":503,"props":3104,"children":3105},{"style":569},[3106],{"type":398,"value":3107},"    'day'",{"type":393,"tag":503,"props":3109,"children":3110},{"style":515},[3111],{"type":398,"value":577},{"type":393,"tag":503,"props":3113,"children":3114},{"style":569},[3115],{"type":398,"value":3116},"'Mon'",{"type":393,"tag":503,"props":3118,"children":3119},{"style":515},[3120],{"type":398,"value":587},{"type":393,"tag":503,"props":3122,"children":3123},{"style":569},[3124],{"type":398,"value":3125},"'Tue'",{"type":393,"tag":503,"props":3127,"children":3128},{"style":515},[3129],{"type":398,"value":587},{"type":393,"tag":503,"props":3131,"children":3132},{"style":569},[3133],{"type":398,"value":3134},"'Wed'",{"type":393,"tag":503,"props":3136,"children":3137},{"style":515},[3138],{"type":398,"value":587},{"type":393,"tag":503,"props":3140,"children":3141},{"style":569},[3142],{"type":398,"value":3143},"'Thu'",{"type":393,"tag":503,"props":3145,"children":3146},{"style":515},[3147],{"type":398,"value":587},{"type":393,"tag":503,"props":3149,"children":3150},{"style":569},[3151],{"type":398,"value":3152},"'Fri'",{"type":393,"tag":503,"props":3154,"children":3155},{"style":515},[3156],{"type":398,"value":606},{"type":393,"tag":503,"props":3158,"children":3159},{"class":505,"line":63},[3160,3165,3169,3174,3178,3183,3187,3192,3196,3201,3205,3210],{"type":393,"tag":503,"props":3161,"children":3162},{"style":569},[3163],{"type":398,"value":3164},"    'revenue'",{"type":393,"tag":503,"props":3166,"children":3167},{"style":515},[3168],{"type":398,"value":577},{"type":393,"tag":503,"props":3170,"children":3171},{"style":621},[3172],{"type":398,"value":3173},"100",{"type":393,"tag":503,"props":3175,"children":3176},{"style":515},[3177],{"type":398,"value":587},{"type":393,"tag":503,"props":3179,"children":3180},{"style":621},[3181],{"type":398,"value":3182},"150",{"type":393,"tag":503,"props":3184,"children":3185},{"style":515},[3186],{"type":398,"value":587},{"type":393,"tag":503,"props":3188,"children":3189},{"style":621},[3190],{"type":398,"value":3191},"120",{"type":393,"tag":503,"props":3193,"children":3194},{"style":515},[3195],{"type":398,"value":587},{"type":393,"tag":503,"props":3197,"children":3198},{"style":621},[3199],{"type":398,"value":3200},"200",{"type":393,"tag":503,"props":3202,"children":3203},{"style":515},[3204],{"type":398,"value":587},{"type":393,"tag":503,"props":3206,"children":3207},{"style":621},[3208],{"type":398,"value":3209},"180",{"type":393,"tag":503,"props":3211,"children":3212},{"style":515},[3213],{"type":398,"value":686},{"type":393,"tag":503,"props":3215,"children":3216},{"class":505,"line":72},[3217],{"type":393,"tag":503,"props":3218,"children":3219},{"style":515},[3220],{"type":398,"value":954},{"type":393,"tag":503,"props":3222,"children":3223},{"class":505,"line":83},[3224],{"type":393,"tag":503,"props":3225,"children":3226},{"emptyLinePlaceholder":12},[3227],{"type":398,"value":536},{"type":393,"tag":503,"props":3229,"children":3230},{"class":505,"line":92},[3231,3235,3239,3244],{"type":393,"tag":503,"props":3232,"children":3233},{"style":621},[3234],{"type":398,"value":734},{"type":393,"tag":503,"props":3236,"children":3237},{"style":515},[3238],{"type":398,"value":973},{"type":393,"tag":503,"props":3240,"children":3241},{"style":569},[3242],{"type":398,"value":3243},"\"Sales Data:\"",{"type":393,"tag":503,"props":3245,"children":3246},{"style":515},[3247],{"type":398,"value":983},{"type":393,"tag":503,"props":3249,"children":3250},{"class":505,"line":101},[3251,3255],{"type":393,"tag":503,"props":3252,"children":3253},{"style":621},[3254],{"type":398,"value":734},{"type":393,"tag":503,"props":3256,"children":3257},{"style":515},[3258],{"type":398,"value":3259},"(sales)\n",{"type":393,"tag":503,"props":3261,"children":3262},{"class":505,"line":110},[3263,3267],{"type":393,"tag":503,"props":3264,"children":3265},{"style":621},[3266],{"type":398,"value":734},{"type":393,"tag":503,"props":3268,"children":3269},{"style":515},[3270],{"type":398,"value":1007},{"type":393,"tag":503,"props":3272,"children":3273},{"class":505,"line":121},[3274],{"type":393,"tag":503,"props":3275,"children":3276},{"emptyLinePlaceholder":12},[3277],{"type":398,"value":536},{"type":393,"tag":503,"props":3279,"children":3280},{"class":505,"line":130},[3281],{"type":393,"tag":503,"props":3282,"children":3283},{"style":542},[3284],{"type":398,"value":3285},"# Quick insights\n",{"type":393,"tag":503,"props":3287,"children":3288},{"class":505,"line":139},[3289,3293,3297,3302],{"type":393,"tag":503,"props":3290,"children":3291},{"style":621},[3292],{"type":398,"value":734},{"type":393,"tag":503,"props":3294,"children":3295},{"style":515},[3296],{"type":398,"value":973},{"type":393,"tag":503,"props":3298,"children":3299},{"style":569},[3300],{"type":398,"value":3301},"\"Quick Analysis:\"",{"type":393,"tag":503,"props":3303,"children":3304},{"style":515},[3305],{"type":398,"value":983},{"type":393,"tag":503,"props":3307,"children":3308},{"class":505,"line":148},[3309,3313,3317,3321,3326,3330,3335,3340,3345,3349,3353],{"type":393,"tag":503,"props":3310,"children":3311},{"style":621},[3312],{"type":398,"value":734},{"type":393,"tag":503,"props":3314,"children":3315},{"style":515},[3316],{"type":398,"value":973},{"type":393,"tag":503,"props":3318,"children":3319},{"style":509},[3320],{"type":398,"value":1058},{"type":393,"tag":503,"props":3322,"children":3323},{"style":569},[3324],{"type":398,"value":3325},"\"Total revenue: $",{"type":393,"tag":503,"props":3327,"children":3328},{"style":621},[3329],{"type":398,"value":1068},{"type":393,"tag":503,"props":3331,"children":3332},{"style":515},[3333],{"type":398,"value":3334},"sales[",{"type":393,"tag":503,"props":3336,"children":3337},{"style":569},[3338],{"type":398,"value":3339},"'revenue'",{"type":393,"tag":503,"props":3341,"children":3342},{"style":515},[3343],{"type":398,"value":3344},"].sum()",{"type":393,"tag":503,"props":3346,"children":3347},{"style":621},[3348],{"type":398,"value":1078},{"type":393,"tag":503,"props":3350,"children":3351},{"style":569},[3352],{"type":398,"value":1083},{"type":393,"tag":503,"props":3354,"children":3355},{"style":515},[3356],{"type":398,"value":983},{"type":393,"tag":503,"props":3358,"children":3359},{"class":505,"line":159},[3360,3364,3368,3372,3377,3381,3385,3389,3393,3398,3402,3406],{"type":393,"tag":503,"props":3361,"children":3362},{"style":621},[3363],{"type":398,"value":734},{"type":393,"tag":503,"props":3365,"children":3366},{"style":515},[3367],{"type":398,"value":973},{"type":393,"tag":503,"props":3369,"children":3370},{"style":509},[3371],{"type":398,"value":1058},{"type":393,"tag":503,"props":3373,"children":3374},{"style":569},[3375],{"type":398,"value":3376},"\"Average daily: $",{"type":393,"tag":503,"props":3378,"children":3379},{"style":621},[3380],{"type":398,"value":1068},{"type":393,"tag":503,"props":3382,"children":3383},{"style":515},[3384],{"type":398,"value":3334},{"type":393,"tag":503,"props":3386,"children":3387},{"style":569},[3388],{"type":398,"value":3339},{"type":393,"tag":503,"props":3390,"children":3391},{"style":515},[3392],{"type":398,"value":1220},{"type":393,"tag":503,"props":3394,"children":3395},{"style":509},[3396],{"type":398,"value":3397},":.0f",{"type":393,"tag":503,"props":3399,"children":3400},{"style":621},[3401],{"type":398,"value":1078},{"type":393,"tag":503,"props":3403,"children":3404},{"style":569},[3405],{"type":398,"value":1083},{"type":393,"tag":503,"props":3407,"children":3408},{"style":515},[3409],{"type":398,"value":983},{"type":393,"tag":503,"props":3411,"children":3412},{"class":505,"line":168},[3413,3417,3421,3425,3430,3434,3439,3443,3448,3453,3458,3462,3466],{"type":393,"tag":503,"props":3414,"children":3415},{"style":621},[3416],{"type":398,"value":734},{"type":393,"tag":503,"props":3418,"children":3419},{"style":515},[3420],{"type":398,"value":973},{"type":393,"tag":503,"props":3422,"children":3423},{"style":509},[3424],{"type":398,"value":1058},{"type":393,"tag":503,"props":3426,"children":3427},{"style":569},[3428],{"type":398,"value":3429},"\"Best day: ",{"type":393,"tag":503,"props":3431,"children":3432},{"style":621},[3433],{"type":398,"value":1068},{"type":393,"tag":503,"props":3435,"children":3436},{"style":515},[3437],{"type":398,"value":3438},"sales.loc[sales[",{"type":393,"tag":503,"props":3440,"children":3441},{"style":569},[3442],{"type":398,"value":3339},{"type":393,"tag":503,"props":3444,"children":3445},{"style":515},[3446],{"type":398,"value":3447},"].idxmax(), ",{"type":393,"tag":503,"props":3449,"children":3450},{"style":569},[3451],{"type":398,"value":3452},"'day'",{"type":393,"tag":503,"props":3454,"children":3455},{"style":515},[3456],{"type":398,"value":3457},"]",{"type":393,"tag":503,"props":3459,"children":3460},{"style":621},[3461],{"type":398,"value":1078},{"type":393,"tag":503,"props":3463,"children":3464},{"style":569},[3465],{"type":398,"value":1083},{"type":393,"tag":503,"props":3467,"children":3468},{"style":515},[3469],{"type":398,"value":983},{"type":393,"tag":503,"props":3471,"children":3472},{"class":505,"line":177},[3473,3477,3481,3485,3490,3495,3500,3504,3508,3512,3517,3522,3526,3530],{"type":393,"tag":503,"props":3474,"children":3475},{"style":621},[3476],{"type":398,"value":734},{"type":393,"tag":503,"props":3478,"children":3479},{"style":515},[3480],{"type":398,"value":973},{"type":393,"tag":503,"props":3482,"children":3483},{"style":509},[3484],{"type":398,"value":1058},{"type":393,"tag":503,"props":3486,"children":3487},{"style":569},[3488],{"type":398,"value":3489},"\"Days over $150: ",{"type":393,"tag":503,"props":3491,"children":3492},{"style":621},[3493],{"type":398,"value":3494},"{len",{"type":393,"tag":503,"props":3496,"children":3497},{"style":515},[3498],{"type":398,"value":3499},"(sales[sales[",{"type":393,"tag":503,"props":3501,"children":3502},{"style":569},[3503],{"type":398,"value":3339},{"type":393,"tag":503,"props":3505,"children":3506},{"style":515},[3507],{"type":398,"value":2327},{"type":393,"tag":503,"props":3509,"children":3510},{"style":509},[3511],{"type":398,"value":2987},{"type":393,"tag":503,"props":3513,"children":3514},{"style":621},[3515],{"type":398,"value":3516}," 150",{"type":393,"tag":503,"props":3518,"children":3519},{"style":515},[3520],{"type":398,"value":3521},"])",{"type":393,"tag":503,"props":3523,"children":3524},{"style":621},[3525],{"type":398,"value":1078},{"type":393,"tag":503,"props":3527,"children":3528},{"style":569},[3529],{"type":398,"value":1083},{"type":393,"tag":503,"props":3531,"children":3532},{"style":515},[3533],{"type":398,"value":983},{"type":393,"tag":476,"props":3535,"children":3537},{"id":3536},"key-takeaways",[3538],{"type":398,"value":3539},"🎯 Key Takeaways",{"type":393,"tag":407,"props":3541,"children":3545},{"emoji":3542,"title":3543,"type":3544},"📚","DataFrame Essentials","success",[3546,3554,3579,3587,3625,3633,3669,3677,3731],{"type":393,"tag":401,"props":3547,"children":3548},{},[3549],{"type":393,"tag":417,"props":3550,"children":3551},{},[3552],{"type":398,"value":3553},"Creating DataFrames:",{"type":393,"tag":425,"props":3555,"children":3556},{},[3557,3568],{"type":393,"tag":429,"props":3558,"children":3559},{},[3560,3562],{"type":398,"value":3561},"From dictionary: ",{"type":393,"tag":499,"props":3563,"children":3565},{"className":3564},[],[3566],{"type":398,"value":3567},"pd.DataFrame({'col1': [data], 'col2': [data]})",{"type":393,"tag":429,"props":3569,"children":3570},{},[3571,3573],{"type":398,"value":3572},"From lists: ",{"type":393,"tag":499,"props":3574,"children":3576},{"className":3575},[],[3577],{"type":398,"value":3578},"pd.DataFrame(data, columns=['name1', 'name2'])",{"type":393,"tag":401,"props":3580,"children":3581},{},[3582],{"type":393,"tag":417,"props":3583,"children":3584},{},[3585],{"type":398,"value":3586},"Basic Info:",{"type":393,"tag":425,"props":3588,"children":3589},{},[3590,3603,3614],{"type":393,"tag":429,"props":3591,"children":3592},{},[3593,3595,3601],{"type":398,"value":3594},"Shape: ",{"type":393,"tag":499,"props":3596,"children":3598},{"className":3597},[],[3599],{"type":398,"value":3600},"df.shape",{"type":398,"value":3602}," (rows, columns)",{"type":393,"tag":429,"props":3604,"children":3605},{},[3606,3608],{"type":398,"value":3607},"Columns: ",{"type":393,"tag":499,"props":3609,"children":3611},{"className":3610},[],[3612],{"type":398,"value":3613},"df.columns",{"type":393,"tag":429,"props":3615,"children":3616},{},[3617,3619],{"type":398,"value":3618},"First few rows: ",{"type":393,"tag":499,"props":3620,"children":3622},{"className":3621},[],[3623],{"type":398,"value":3624},"df.head()",{"type":393,"tag":401,"props":3626,"children":3627},{},[3628],{"type":393,"tag":417,"props":3629,"children":3630},{},[3631],{"type":398,"value":3632},"Accessing Data:",{"type":393,"tag":425,"props":3634,"children":3635},{},[3636,3647,3658],{"type":393,"tag":429,"props":3637,"children":3638},{},[3639,3641],{"type":398,"value":3640},"One column: ",{"type":393,"tag":499,"props":3642,"children":3644},{"className":3643},[],[3645],{"type":398,"value":3646},"df['column_name']",{"type":393,"tag":429,"props":3648,"children":3649},{},[3650,3652],{"type":398,"value":3651},"Multiple columns: ",{"type":393,"tag":499,"props":3653,"children":3655},{"className":3654},[],[3656],{"type":398,"value":3657},"df[['col1', 'col2']]",{"type":393,"tag":429,"props":3659,"children":3660},{},[3661,3663],{"type":398,"value":3662},"One row: ",{"type":393,"tag":499,"props":3664,"children":3666},{"className":3665},[],[3667],{"type":398,"value":3668},"df.loc[0]",{"type":393,"tag":401,"props":3670,"children":3671},{},[3672],{"type":393,"tag":417,"props":3673,"children":3674},{},[3675],{"type":398,"value":3676},"Common Operations:",{"type":393,"tag":425,"props":3678,"children":3679},{},[3680,3691,3702,3713],{"type":393,"tag":429,"props":3681,"children":3682},{},[3683,3685],{"type":398,"value":3684},"Add column: ",{"type":393,"tag":499,"props":3686,"children":3688},{"className":3687},[],[3689],{"type":398,"value":3690},"df['new_col'] = values",{"type":393,"tag":429,"props":3692,"children":3693},{},[3694,3696],{"type":398,"value":3695},"Filter: ",{"type":393,"tag":499,"props":3697,"children":3699},{"className":3698},[],[3700],{"type":398,"value":3701},"df[df['column'] > value]",{"type":393,"tag":429,"props":3703,"children":3704},{},[3705,3707],{"type":398,"value":3706},"Sort: ",{"type":393,"tag":499,"props":3708,"children":3710},{"className":3709},[],[3711],{"type":398,"value":3712},"df.sort_values('column')",{"type":393,"tag":429,"props":3714,"children":3715},{},[3716,3718,3724,3725],{"type":398,"value":3717},"Calculate: ",{"type":393,"tag":499,"props":3719,"children":3721},{"className":3720},[],[3722],{"type":398,"value":3723},"df['col'].sum()",{"type":398,"value":587},{"type":393,"tag":499,"props":3726,"children":3728},{"className":3727},[],[3729],{"type":398,"value":3730},"df['col'].mean()",{"type":393,"tag":401,"props":3732,"children":3733},{},[3734,3739],{"type":393,"tag":417,"props":3735,"children":3736},{},[3737],{"type":398,"value":3738},"Remember:",{"type":398,"value":3740}," DataFrames are your data workspace - create, explore, analyze!",{"type":393,"tag":476,"props":3742,"children":3744},{"id":3743},"whats-next",[3745],{"type":398,"value":3746},"🚀 What's Next?",{"type":393,"tag":401,"props":3748,"children":3749},{},[3750],{"type":398,"value":3751},"Now you know how to create and work with DataFrames! Next, let's understand the difference between Series and DataFrames, and when to use each.",{"type":393,"tag":401,"props":3753,"children":3754},{},[3755,3760,3762],{"type":393,"tag":417,"props":3756,"children":3757},{},[3758],{"type":398,"value":3759},"Continue to",{"type":398,"value":3761},": ",{"type":393,"tag":3763,"props":3764,"children":3765},"a",{"href":50},[3766],{"type":398,"value":51},{"type":393,"tag":401,"props":3768,"children":3769},{},[3770],{"type":398,"value":3771},"You're building your Pandas foundation! 🏗️📊",{"type":393,"tag":3773,"props":3774,"children":3775},"style",{},[3776],{"type":398,"value":3777},"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":3779},[3780,3781,3782,3786,3787,3788,3789,3790,3791],{"id":478,"depth":27,"text":481},{"id":765,"depth":27,"text":768},{"id":1284,"depth":27,"text":1287,"children":3783},[3784,3785],{"id":1291,"depth":36,"text":1294},{"id":1495,"depth":36,"text":1498},{"id":1707,"depth":27,"text":1710},{"id":2101,"depth":27,"text":2104},{"id":2512,"depth":27,"text":2515},{"id":3031,"depth":27,"text":3034},{"id":3536,"depth":27,"text":3539},{"id":3743,"depth":27,"text":3746},1782373727654]