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