[{"data":1,"prerenderedAt":2447},["ShallowReactive",2],{"tutorials-pandas":3,"category-items-pandas":387,"content-/pandas/what-is-pandas":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},"/pandas/data-cleaning","Data Cleaning","Learn essential data cleaning techniques to prepare messy data for analysis","data-cleaning",19,"pi pi-wrench","content:pandas:19.data-cleaning.md","pandas/19.data-cleaning.md","pandas/19.data-cleaning",[192,201,210,219],{"_path":193,"_dir":23,"_draft":7,"_partial":7,"_locale":6,"title":194,"description":195,"slug":196,"parentId":182,"order":197,"_type":14,"_id":198,"_source":16,"_file":199,"_stem":200,"_extension":19},"/pandas/handling-missing-data","Handling Missing Data","Learn to identify, fill, and remove missing values in your DataFrames effectively","handling-missing-data",20,"content:pandas:20.handling-missing-data.md","pandas/20.handling-missing-data.md","pandas/20.handling-missing-data",{"_path":202,"_dir":23,"_draft":7,"_partial":7,"_locale":6,"title":203,"description":204,"slug":205,"parentId":182,"order":206,"_type":14,"_id":207,"_source":16,"_file":208,"_stem":209,"_extension":19},"/pandas/removing-duplicates","Removing Duplicates","Learn to find and eliminate duplicate rows from your DataFrames to ensure data quality","removing-duplicates",21,"content:pandas:21.removing-duplicates.md","pandas/21.removing-duplicates.md","pandas/21.removing-duplicates",{"_path":211,"_dir":23,"_draft":7,"_partial":7,"_locale":6,"title":212,"description":213,"slug":214,"parentId":182,"order":215,"_type":14,"_id":216,"_source":16,"_file":217,"_stem":218,"_extension":19},"/pandas/data-type-conversion","Data Type Conversion","Learn to convert data to the right types for proper analysis and calculations","data-type-conversion",22,"content:pandas:22.data-type-conversion.md","pandas/22.data-type-conversion.md","pandas/22.data-type-conversion",{"_path":220,"_dir":23,"_draft":7,"_partial":7,"_locale":6,"title":221,"description":222,"slug":223,"parentId":182,"order":224,"_type":14,"_id":225,"_source":16,"_file":226,"_stem":227,"_extension":19},"/pandas/string-cleaning-operations","String Cleaning Operations","Learn to clean and standardize text data for consistent analysis using pandas string methods","string-cleaning-operations",23,"content:pandas:23.string-cleaning-operations.md","pandas/23.string-cleaning-operations.md","pandas/23.string-cleaning-operations",{"_path":229,"_dir":23,"_draft":7,"_partial":7,"_locale":6,"title":230,"description":231,"slug":232,"order":233,"isParent":12,"icon":234,"_type":14,"_id":235,"_source":16,"_file":236,"_stem":237,"_extension":19,"children":238},"/pandas/data-transformation","Data Transformation","Learn how to modify, add, and transform data in your DataFrames for analysis","data-transformation",24,"pi pi-folder","content:pandas:24.data-transformation.md","pandas/24.data-transformation.md","pandas/24.data-transformation",[239,248,257],{"_path":240,"_dir":23,"_draft":7,"_partial":7,"_locale":6,"title":241,"description":242,"slug":243,"parentId":229,"order":244,"_type":14,"_id":245,"_source":16,"_file":246,"_stem":247,"_extension":19},"/pandas/adding-and-modifying-columns","Adding and Modifying Columns","Learn how to create new columns and update existing ones with calculations and conditional logic","adding-and-modifying-columns",25,"content:pandas:25.adding-and-modifying-columns.md","pandas/25.adding-and-modifying-columns.md","pandas/25.adding-and-modifying-columns",{"_path":249,"_dir":23,"_draft":7,"_partial":7,"_locale":6,"title":250,"description":251,"slug":252,"parentId":229,"order":253,"_type":14,"_id":254,"_source":16,"_file":255,"_stem":256,"_extension":19},"/pandas/applying-functions","Applying Functions","Use built-in and custom functions to transform your data efficiently","applying-functions",26,"content:pandas:26.applying-functions.md","pandas/26.applying-functions.md","pandas/26.applying-functions",{"_path":258,"_dir":23,"_draft":7,"_partial":7,"_locale":6,"title":259,"description":260,"slug":261,"parentId":229,"order":262,"_type":14,"_id":263,"_source":16,"_file":264,"_stem":265,"_extension":19},"/pandas/renaming-and-sorting-data","Renaming and Sorting Data","Organize your DataFrame with better column names and logical data ordering","renaming-and-sorting-data",27,"content:pandas:27.renaming-and-sorting-data.md","pandas/27.renaming-and-sorting-data.md","pandas/27.renaming-and-sorting-data",{"_path":267,"_dir":23,"_draft":7,"_partial":7,"_locale":6,"title":268,"description":269,"slug":270,"order":271,"isParent":12,"icon":234,"_type":14,"_id":272,"_source":16,"_file":273,"_stem":274,"_extension":19,"children":275},"/pandas/grouping-and-aggregation","Grouping and Aggregation","Learn to group data and calculate summary statistics for powerful data analysis","grouping-and-aggregation",28,"content:pandas:28.grouping-and-aggregation.md","pandas/28.grouping-and-aggregation.md","pandas/28.grouping-and-aggregation",[276,285,294],{"_path":277,"_dir":23,"_draft":7,"_partial":7,"_locale":6,"title":278,"description":279,"slug":280,"parentId":267,"order":281,"_type":14,"_id":282,"_source":16,"_file":283,"_stem":284,"_extension":19},"/pandas/groupby-operations","GroupBy Operations","Learn the fundamentals of splitting data into groups and basic aggregations","groupby-operations",29,"content:pandas:29.groupby-operations.md","pandas/29.groupby-operations.md","pandas/29.groupby-operations",{"_path":286,"_dir":23,"_draft":7,"_partial":7,"_locale":6,"title":287,"description":288,"slug":289,"parentId":267,"order":290,"_type":14,"_id":291,"_source":16,"_file":292,"_stem":293,"_extension":19},"/pandas/aggregation-functions","Aggregation Functions","Explore different ways to summarize your grouped data with built-in and custom functions","aggregation-functions",30,"content:pandas:30.aggregation-functions.md","pandas/30.aggregation-functions.md","pandas/30.aggregation-functions",{"_path":295,"_dir":23,"_draft":7,"_partial":7,"_locale":6,"title":296,"description":297,"slug":298,"parentId":267,"order":299,"_type":14,"_id":300,"_source":16,"_file":301,"_stem":302,"_extension":19},"/pandas/pivot-tables-and-cross-tabulation","Pivot Tables and Cross Tabulation","Create powerful summary tables and cross-tabulations for analysis","pivot-tables-and-cross-tabulation",31,"content:pandas:31.pivot-tables-and-cross-tabulation.md","pandas/31.pivot-tables-and-cross-tabulation.md","pandas/31.pivot-tables-and-cross-tabulation",{"_path":304,"_dir":23,"_draft":7,"_partial":7,"_locale":6,"title":305,"description":306,"slug":307,"order":308,"isParent":12,"icon":234,"_type":14,"_id":309,"_source":16,"_file":310,"_stem":311,"_extension":19,"children":312},"/pandas/combining-data","Combining Data","Learn to combine data from multiple DataFrames for comprehensive analysis","combining-data",32,"content:pandas:32.combining-data.md","pandas/32.combining-data.md","pandas/32.combining-data",[313,322],{"_path":314,"_dir":23,"_draft":7,"_partial":7,"_locale":6,"title":315,"description":316,"slug":317,"parentId":304,"order":318,"_type":14,"_id":319,"_source":16,"_file":320,"_stem":321,"_extension":19},"/pandas/concatenating-dataframes","Concatenating DataFrames","Learn to stack DataFrames vertically and horizontally for simple data combination","concatenating-dataframes",33,"content:pandas:33.concatenating-dataframes.md","pandas/33.concatenating-dataframes.md","pandas/33.concatenating-dataframes",{"_path":323,"_dir":23,"_draft":7,"_partial":7,"_locale":6,"title":324,"description":325,"slug":326,"parentId":304,"order":327,"_type":14,"_id":328,"_source":16,"_file":329,"_stem":330,"_extension":19},"/pandas/merging-and-join-operations","Merging and Join Operations","Master different types of joins to combine related data from multiple sources","merging-and-join-operations",34,"content:pandas:34.merging-and-join-operations.md","pandas/34.merging-and-join-operations.md","pandas/34.merging-and-join-operations",{"_path":332,"_dir":23,"_draft":7,"_partial":7,"_locale":6,"title":333,"description":334,"slug":335,"order":336,"isParent":12,"icon":234,"_type":14,"_id":337,"_source":16,"_file":338,"_stem":339,"_extension":19,"children":340},"/pandas/working-with-dates","Working with Dates","Master date and time operations for time-based analysis and reporting","working-with-dates",35,"content:pandas:35.working-with-dates.md","pandas/35.working-with-dates.md","pandas/35.working-with-dates",[341,350],{"_path":342,"_dir":23,"_draft":7,"_partial":7,"_locale":6,"title":343,"description":344,"slug":345,"parentId":332,"order":346,"_type":14,"_id":347,"_source":16,"_file":348,"_stem":349,"_extension":19},"/pandas/datetime-operations","DateTime Operations","Learn to convert, manipulate, and extract information from dates and times","datetime-operations",36,"content:pandas:36.datetime-operations.md","pandas/36.datetime-operations.md","pandas/36.datetime-operations",{"_path":351,"_dir":23,"_draft":7,"_partial":7,"_locale":6,"title":352,"description":353,"slug":354,"parentId":332,"order":355,"_type":14,"_id":356,"_source":16,"_file":357,"_stem":358,"_extension":19},"/pandas/time-series-and-resampling","Time Series and Resampling","Discover how to analyze data over time periods and aggregate by different time intervals","time-series-and-resampling",37,"content:pandas:37.time-series-and-resampling.md","pandas/37.time-series-and-resampling.md","pandas/37.time-series-and-resampling",{"_path":360,"_dir":23,"_draft":7,"_partial":7,"_locale":6,"title":361,"description":362,"slug":363,"order":364,"isParent":12,"icon":234,"_type":14,"_id":365,"_source":16,"_file":366,"_stem":367,"_extension":19,"children":368},"/pandas/saving-your-work","Saving Your Work","Learn to export your analyzed data to different formats for sharing and reporting","saving-your-work",38,"content:pandas:38.saving-your-work.md","pandas/38.saving-your-work.md","pandas/38.saving-your-work",[369,378],{"_path":370,"_dir":23,"_draft":7,"_partial":7,"_locale":6,"title":371,"description":372,"slug":373,"parentId":360,"order":374,"_type":14,"_id":375,"_source":16,"_file":376,"_stem":377,"_extension":19},"/pandas/exporting-data","Exporting Data (CSV, Excel, JSON)","Learn to save your DataFrames to common file formats for sharing and reporting","exporting-data",39,"content:pandas:39.exporting-data.md","pandas/39.exporting-data.md","pandas/39.exporting-data",{"_path":379,"_dir":23,"_draft":7,"_partial":7,"_locale":6,"title":380,"description":381,"slug":382,"parentId":360,"order":383,"_type":14,"_id":384,"_source":16,"_file":385,"_stem":386,"_extension":19},"/pandas/database-export","Database Export","Discover how to save data back to databases for integration with other systems","database-export",40,"content:pandas:40.database-export.md","pandas/40.database-export.md","pandas/40.database-export",[21],{"_path":22,"_dir":23,"_draft":7,"_partial":7,"_locale":6,"title":24,"description":25,"slug":26,"parentId":5,"order":27,"body":389,"_type":14,"_id":28,"_source":16,"_file":29,"_stem":30,"_extension":19},{"type":390,"children":391,"toc":2433},"root",[392,400,406,486,491,826,833,838,910,917,1196,1202,1207,1398,1404,1730,1736,1802,1808,2155,2161,2238,2244,2396,2402,2407,2422,2427],{"type":393,"tag":394,"props":395,"children":396},"element","h1",{"id":26},[397],{"type":398,"value":399},"text","🐼 What is Pandas",{"type":393,"tag":401,"props":402,"children":403},"p",{},[404],{"type":398,"value":405},"Pandas is Python's most popular tool for working with data. Think of it as giving Excel superpowers to Python - you can analyze, clean, and manipulate data with just a few lines of code instead of clicking through endless menus.",{"type":393,"tag":407,"props":408,"children":412},"info-box",{"emoji":409,"title":410,"type":411},"🎯","Pandas in Simple Terms","info",[413,424,432,476],{"type":393,"tag":401,"props":414,"children":415},{},[416,422],{"type":393,"tag":417,"props":418,"children":419},"strong",{},[420],{"type":398,"value":421},"What Pandas Actually Is:",{"type":398,"value":423},"\nPandas is a Python library that creates smart tables (called DataFrames) from your data. These tables can do amazing things that regular spreadsheets struggle with.",{"type":393,"tag":401,"props":425,"children":426},{},[427],{"type":393,"tag":417,"props":428,"children":429},{},[430],{"type":398,"value":431},"Real-World Comparison:",{"type":393,"tag":433,"props":434,"children":435},"ul",{},[436,447,457,467],{"type":393,"tag":437,"props":438,"children":439},"li",{},[440,445],{"type":393,"tag":417,"props":441,"children":442},{},[443],{"type":398,"value":444},"Excel",{"type":398,"value":446},": Good for small datasets, lots of manual work",{"type":393,"tag":437,"props":448,"children":449},{},[450,455],{"type":393,"tag":417,"props":451,"children":452},{},[453],{"type":398,"value":454},"Pandas",{"type":398,"value":456},": Handles massive datasets, automates repetitive tasks",{"type":393,"tag":437,"props":458,"children":459},{},[460,465],{"type":393,"tag":417,"props":461,"children":462},{},[463],{"type":398,"value":464},"Google Sheets",{"type":398,"value":466},": Great for collaboration, limited analysis power",{"type":393,"tag":437,"props":468,"children":469},{},[470,474],{"type":393,"tag":417,"props":471,"children":472},{},[473],{"type":398,"value":454},{"type":398,"value":475},": Unlimited analysis power, perfect for complex data work",{"type":393,"tag":401,"props":477,"children":478},{},[479,484],{"type":393,"tag":417,"props":480,"children":481},{},[482],{"type":398,"value":483},"The Bottom Line:",{"type":398,"value":485}," If Excel is a bicycle, Pandas is a sports car. Both get you places, but one is way more powerful!",{"type":393,"tag":401,"props":487,"children":488},{},[489],{"type":398,"value":490},"Let's see Pandas in action:",{"type":393,"tag":492,"props":493,"children":494},"code-try",{},[495],{"type":393,"tag":496,"props":497,"children":501},"pre",{"className":498,"code":499,"language":500,"meta":6,"style":6},"language-python shiki shiki-themes github-light github-dark","import pandas as pd\n\n# Simple sales data\nsales = {\n    'day': ['Mon', 'Tue', 'Wed'],\n    'amount': [100, 150, 120]\n}\n\n# Create a DataFrame\ndf = pd.DataFrame(sales)\nprint(df)\n\n# Quick analysis\nprint(f\"Total sales: {df['amount'].sum()}\")\nprint(f\"Average: {df['amount'].mean()}\")\n","python",[502],{"type":393,"tag":503,"props":504,"children":505},"code",{"__ignoreMap":6},[506,533,541,550,568,611,652,660,667,675,692,705,712,720,777],{"type":393,"tag":507,"props":508,"children":510},"span",{"class":509,"line":11},"line",[511,517,523,528],{"type":393,"tag":507,"props":512,"children":514},{"style":513},"--shiki-default:#D73A49;--shiki-app-dark-mode:#F97583",[515],{"type":398,"value":516},"import",{"type":393,"tag":507,"props":518,"children":520},{"style":519},"--shiki-default:#24292E;--shiki-app-dark-mode:#E1E4E8",[521],{"type":398,"value":522}," pandas ",{"type":393,"tag":507,"props":524,"children":525},{"style":513},[526],{"type":398,"value":527},"as",{"type":393,"tag":507,"props":529,"children":530},{"style":519},[531],{"type":398,"value":532}," pd\n",{"type":393,"tag":507,"props":534,"children":535},{"class":509,"line":27},[536],{"type":393,"tag":507,"props":537,"children":538},{"emptyLinePlaceholder":12},[539],{"type":398,"value":540},"\n",{"type":393,"tag":507,"props":542,"children":543},{"class":509,"line":36},[544],{"type":393,"tag":507,"props":545,"children":547},{"style":546},"--shiki-default:#6A737D;--shiki-app-dark-mode:#6A737D",[548],{"type":398,"value":549},"# Simple sales data\n",{"type":393,"tag":507,"props":551,"children":552},{"class":509,"line":45},[553,558,563],{"type":393,"tag":507,"props":554,"children":555},{"style":519},[556],{"type":398,"value":557},"sales ",{"type":393,"tag":507,"props":559,"children":560},{"style":513},[561],{"type":398,"value":562},"=",{"type":393,"tag":507,"props":564,"children":565},{"style":519},[566],{"type":398,"value":567}," {\n",{"type":393,"tag":507,"props":569,"children":570},{"class":509,"line":54},[571,577,582,587,592,597,601,606],{"type":393,"tag":507,"props":572,"children":574},{"style":573},"--shiki-default:#032F62;--shiki-app-dark-mode:#9ECBFF",[575],{"type":398,"value":576},"    'day'",{"type":393,"tag":507,"props":578,"children":579},{"style":519},[580],{"type":398,"value":581},": [",{"type":393,"tag":507,"props":583,"children":584},{"style":573},[585],{"type":398,"value":586},"'Mon'",{"type":393,"tag":507,"props":588,"children":589},{"style":519},[590],{"type":398,"value":591},", ",{"type":393,"tag":507,"props":593,"children":594},{"style":573},[595],{"type":398,"value":596},"'Tue'",{"type":393,"tag":507,"props":598,"children":599},{"style":519},[600],{"type":398,"value":591},{"type":393,"tag":507,"props":602,"children":603},{"style":573},[604],{"type":398,"value":605},"'Wed'",{"type":393,"tag":507,"props":607,"children":608},{"style":519},[609],{"type":398,"value":610},"],\n",{"type":393,"tag":507,"props":612,"children":613},{"class":509,"line":63},[614,619,623,629,633,638,642,647],{"type":393,"tag":507,"props":615,"children":616},{"style":573},[617],{"type":398,"value":618},"    'amount'",{"type":393,"tag":507,"props":620,"children":621},{"style":519},[622],{"type":398,"value":581},{"type":393,"tag":507,"props":624,"children":626},{"style":625},"--shiki-default:#005CC5;--shiki-app-dark-mode:#79B8FF",[627],{"type":398,"value":628},"100",{"type":393,"tag":507,"props":630,"children":631},{"style":519},[632],{"type":398,"value":591},{"type":393,"tag":507,"props":634,"children":635},{"style":625},[636],{"type":398,"value":637},"150",{"type":393,"tag":507,"props":639,"children":640},{"style":519},[641],{"type":398,"value":591},{"type":393,"tag":507,"props":643,"children":644},{"style":625},[645],{"type":398,"value":646},"120",{"type":393,"tag":507,"props":648,"children":649},{"style":519},[650],{"type":398,"value":651},"]\n",{"type":393,"tag":507,"props":653,"children":654},{"class":509,"line":72},[655],{"type":393,"tag":507,"props":656,"children":657},{"style":519},[658],{"type":398,"value":659},"}\n",{"type":393,"tag":507,"props":661,"children":662},{"class":509,"line":83},[663],{"type":393,"tag":507,"props":664,"children":665},{"emptyLinePlaceholder":12},[666],{"type":398,"value":540},{"type":393,"tag":507,"props":668,"children":669},{"class":509,"line":92},[670],{"type":393,"tag":507,"props":671,"children":672},{"style":546},[673],{"type":398,"value":674},"# Create a DataFrame\n",{"type":393,"tag":507,"props":676,"children":677},{"class":509,"line":101},[678,683,687],{"type":393,"tag":507,"props":679,"children":680},{"style":519},[681],{"type":398,"value":682},"df ",{"type":393,"tag":507,"props":684,"children":685},{"style":513},[686],{"type":398,"value":562},{"type":393,"tag":507,"props":688,"children":689},{"style":519},[690],{"type":398,"value":691}," pd.DataFrame(sales)\n",{"type":393,"tag":507,"props":693,"children":694},{"class":509,"line":110},[695,700],{"type":393,"tag":507,"props":696,"children":697},{"style":625},[698],{"type":398,"value":699},"print",{"type":393,"tag":507,"props":701,"children":702},{"style":519},[703],{"type":398,"value":704},"(df)\n",{"type":393,"tag":507,"props":706,"children":707},{"class":509,"line":121},[708],{"type":393,"tag":507,"props":709,"children":710},{"emptyLinePlaceholder":12},[711],{"type":398,"value":540},{"type":393,"tag":507,"props":713,"children":714},{"class":509,"line":130},[715],{"type":393,"tag":507,"props":716,"children":717},{"style":546},[718],{"type":398,"value":719},"# Quick analysis\n",{"type":393,"tag":507,"props":721,"children":722},{"class":509,"line":139},[723,727,732,737,742,747,752,757,762,767,772],{"type":393,"tag":507,"props":724,"children":725},{"style":625},[726],{"type":398,"value":699},{"type":393,"tag":507,"props":728,"children":729},{"style":519},[730],{"type":398,"value":731},"(",{"type":393,"tag":507,"props":733,"children":734},{"style":513},[735],{"type":398,"value":736},"f",{"type":393,"tag":507,"props":738,"children":739},{"style":573},[740],{"type":398,"value":741},"\"Total sales: ",{"type":393,"tag":507,"props":743,"children":744},{"style":625},[745],{"type":398,"value":746},"{",{"type":393,"tag":507,"props":748,"children":749},{"style":519},[750],{"type":398,"value":751},"df[",{"type":393,"tag":507,"props":753,"children":754},{"style":573},[755],{"type":398,"value":756},"'amount'",{"type":393,"tag":507,"props":758,"children":759},{"style":519},[760],{"type":398,"value":761},"].sum()",{"type":393,"tag":507,"props":763,"children":764},{"style":625},[765],{"type":398,"value":766},"}",{"type":393,"tag":507,"props":768,"children":769},{"style":573},[770],{"type":398,"value":771},"\"",{"type":393,"tag":507,"props":773,"children":774},{"style":519},[775],{"type":398,"value":776},")\n",{"type":393,"tag":507,"props":778,"children":779},{"class":509,"line":148},[780,784,788,792,797,801,805,809,814,818,822],{"type":393,"tag":507,"props":781,"children":782},{"style":625},[783],{"type":398,"value":699},{"type":393,"tag":507,"props":785,"children":786},{"style":519},[787],{"type":398,"value":731},{"type":393,"tag":507,"props":789,"children":790},{"style":513},[791],{"type":398,"value":736},{"type":393,"tag":507,"props":793,"children":794},{"style":573},[795],{"type":398,"value":796},"\"Average: ",{"type":393,"tag":507,"props":798,"children":799},{"style":625},[800],{"type":398,"value":746},{"type":393,"tag":507,"props":802,"children":803},{"style":519},[804],{"type":398,"value":751},{"type":393,"tag":507,"props":806,"children":807},{"style":573},[808],{"type":398,"value":756},{"type":393,"tag":507,"props":810,"children":811},{"style":519},[812],{"type":398,"value":813},"].mean()",{"type":393,"tag":507,"props":815,"children":816},{"style":625},[817],{"type":398,"value":766},{"type":393,"tag":507,"props":819,"children":820},{"style":573},[821],{"type":398,"value":771},{"type":393,"tag":507,"props":823,"children":824},{"style":519},[825],{"type":398,"value":776},{"type":393,"tag":827,"props":828,"children":830},"h2",{"id":829},"the-two-main-building-blocks",[831],{"type":398,"value":832},"🔍 The Two Main Building Blocks",{"type":393,"tag":401,"props":834,"children":835},{},[836],{"type":398,"value":837},"Pandas has two core data structures that you'll use for everything:",{"type":393,"tag":407,"props":839,"children":843},{"emoji":840,"title":841,"type":842},"📋","DataFrame vs Series - Made Simple","success",[844,854,872,882,900],{"type":393,"tag":401,"props":845,"children":846},{},[847,852],{"type":393,"tag":417,"props":848,"children":849},{},[850],{"type":398,"value":851},"DataFrame",{"type":398,"value":853}," = The whole spreadsheet",{"type":393,"tag":433,"props":855,"children":856},{},[857,862,867],{"type":393,"tag":437,"props":858,"children":859},{},[860],{"type":398,"value":861},"Has rows AND columns",{"type":393,"tag":437,"props":863,"children":864},{},[865],{"type":398,"value":866},"Like an entire Excel file",{"type":393,"tag":437,"props":868,"children":869},{},[870],{"type":398,"value":871},"Most of your work happens here",{"type":393,"tag":401,"props":873,"children":874},{},[875,880],{"type":393,"tag":417,"props":876,"children":877},{},[878],{"type":398,"value":879},"Series",{"type":398,"value":881}," = One column from the spreadsheet",{"type":393,"tag":433,"props":883,"children":884},{},[885,890,895],{"type":393,"tag":437,"props":886,"children":887},{},[888],{"type":398,"value":889},"Just a single column of data",{"type":393,"tag":437,"props":891,"children":892},{},[893],{"type":398,"value":894},"Like selecting column A in Excel",{"type":393,"tag":437,"props":896,"children":897},{},[898],{"type":398,"value":899},"Useful for focused analysis",{"type":393,"tag":401,"props":901,"children":902},{},[903,908],{"type":393,"tag":417,"props":904,"children":905},{},[906],{"type":398,"value":907},"Memory Trick:",{"type":398,"value":909}," DataFrame = Data + Frame (the whole picture), Series = One series of numbers",{"type":393,"tag":911,"props":912,"children":914},"h3",{"id":913},"understanding-dataframes",[915],{"type":398,"value":916},"Understanding DataFrames",{"type":393,"tag":492,"props":918,"children":919},{},[920],{"type":393,"tag":496,"props":921,"children":923},{"className":498,"code":922,"language":500,"meta":6,"style":6},"import pandas as pd\n\n# DataFrame - Multiple columns\ndf = pd.DataFrame({\n    'name': ['Alice', 'Bob'],\n    'score': [85, 92]\n})\n\nprint(\"DataFrame:\")\nprint(df)\n\n# Series - Single column\nscores = df['score']\nprint(\"Series:\")\nprint(scores)\nprint(f\"Average: {scores.mean()}\")\n",[924],{"type":393,"tag":503,"props":925,"children":926},{"__ignoreMap":6},[927,946,953,961,977,1007,1037,1045,1052,1072,1083,1090,1098,1124,1144,1156],{"type":393,"tag":507,"props":928,"children":929},{"class":509,"line":11},[930,934,938,942],{"type":393,"tag":507,"props":931,"children":932},{"style":513},[933],{"type":398,"value":516},{"type":393,"tag":507,"props":935,"children":936},{"style":519},[937],{"type":398,"value":522},{"type":393,"tag":507,"props":939,"children":940},{"style":513},[941],{"type":398,"value":527},{"type":393,"tag":507,"props":943,"children":944},{"style":519},[945],{"type":398,"value":532},{"type":393,"tag":507,"props":947,"children":948},{"class":509,"line":27},[949],{"type":393,"tag":507,"props":950,"children":951},{"emptyLinePlaceholder":12},[952],{"type":398,"value":540},{"type":393,"tag":507,"props":954,"children":955},{"class":509,"line":36},[956],{"type":393,"tag":507,"props":957,"children":958},{"style":546},[959],{"type":398,"value":960},"# DataFrame - Multiple columns\n",{"type":393,"tag":507,"props":962,"children":963},{"class":509,"line":45},[964,968,972],{"type":393,"tag":507,"props":965,"children":966},{"style":519},[967],{"type":398,"value":682},{"type":393,"tag":507,"props":969,"children":970},{"style":513},[971],{"type":398,"value":562},{"type":393,"tag":507,"props":973,"children":974},{"style":519},[975],{"type":398,"value":976}," pd.DataFrame({\n",{"type":393,"tag":507,"props":978,"children":979},{"class":509,"line":54},[980,985,989,994,998,1003],{"type":393,"tag":507,"props":981,"children":982},{"style":573},[983],{"type":398,"value":984},"    'name'",{"type":393,"tag":507,"props":986,"children":987},{"style":519},[988],{"type":398,"value":581},{"type":393,"tag":507,"props":990,"children":991},{"style":573},[992],{"type":398,"value":993},"'Alice'",{"type":393,"tag":507,"props":995,"children":996},{"style":519},[997],{"type":398,"value":591},{"type":393,"tag":507,"props":999,"children":1000},{"style":573},[1001],{"type":398,"value":1002},"'Bob'",{"type":393,"tag":507,"props":1004,"children":1005},{"style":519},[1006],{"type":398,"value":610},{"type":393,"tag":507,"props":1008,"children":1009},{"class":509,"line":63},[1010,1015,1019,1024,1028,1033],{"type":393,"tag":507,"props":1011,"children":1012},{"style":573},[1013],{"type":398,"value":1014},"    'score'",{"type":393,"tag":507,"props":1016,"children":1017},{"style":519},[1018],{"type":398,"value":581},{"type":393,"tag":507,"props":1020,"children":1021},{"style":625},[1022],{"type":398,"value":1023},"85",{"type":393,"tag":507,"props":1025,"children":1026},{"style":519},[1027],{"type":398,"value":591},{"type":393,"tag":507,"props":1029,"children":1030},{"style":625},[1031],{"type":398,"value":1032},"92",{"type":393,"tag":507,"props":1034,"children":1035},{"style":519},[1036],{"type":398,"value":651},{"type":393,"tag":507,"props":1038,"children":1039},{"class":509,"line":72},[1040],{"type":393,"tag":507,"props":1041,"children":1042},{"style":519},[1043],{"type":398,"value":1044},"})\n",{"type":393,"tag":507,"props":1046,"children":1047},{"class":509,"line":83},[1048],{"type":393,"tag":507,"props":1049,"children":1050},{"emptyLinePlaceholder":12},[1051],{"type":398,"value":540},{"type":393,"tag":507,"props":1053,"children":1054},{"class":509,"line":92},[1055,1059,1063,1068],{"type":393,"tag":507,"props":1056,"children":1057},{"style":625},[1058],{"type":398,"value":699},{"type":393,"tag":507,"props":1060,"children":1061},{"style":519},[1062],{"type":398,"value":731},{"type":393,"tag":507,"props":1064,"children":1065},{"style":573},[1066],{"type":398,"value":1067},"\"DataFrame:\"",{"type":393,"tag":507,"props":1069,"children":1070},{"style":519},[1071],{"type":398,"value":776},{"type":393,"tag":507,"props":1073,"children":1074},{"class":509,"line":101},[1075,1079],{"type":393,"tag":507,"props":1076,"children":1077},{"style":625},[1078],{"type":398,"value":699},{"type":393,"tag":507,"props":1080,"children":1081},{"style":519},[1082],{"type":398,"value":704},{"type":393,"tag":507,"props":1084,"children":1085},{"class":509,"line":110},[1086],{"type":393,"tag":507,"props":1087,"children":1088},{"emptyLinePlaceholder":12},[1089],{"type":398,"value":540},{"type":393,"tag":507,"props":1091,"children":1092},{"class":509,"line":121},[1093],{"type":393,"tag":507,"props":1094,"children":1095},{"style":546},[1096],{"type":398,"value":1097},"# Series - Single column\n",{"type":393,"tag":507,"props":1099,"children":1100},{"class":509,"line":130},[1101,1106,1110,1115,1120],{"type":393,"tag":507,"props":1102,"children":1103},{"style":519},[1104],{"type":398,"value":1105},"scores ",{"type":393,"tag":507,"props":1107,"children":1108},{"style":513},[1109],{"type":398,"value":562},{"type":393,"tag":507,"props":1111,"children":1112},{"style":519},[1113],{"type":398,"value":1114}," df[",{"type":393,"tag":507,"props":1116,"children":1117},{"style":573},[1118],{"type":398,"value":1119},"'score'",{"type":393,"tag":507,"props":1121,"children":1122},{"style":519},[1123],{"type":398,"value":651},{"type":393,"tag":507,"props":1125,"children":1126},{"class":509,"line":139},[1127,1131,1135,1140],{"type":393,"tag":507,"props":1128,"children":1129},{"style":625},[1130],{"type":398,"value":699},{"type":393,"tag":507,"props":1132,"children":1133},{"style":519},[1134],{"type":398,"value":731},{"type":393,"tag":507,"props":1136,"children":1137},{"style":573},[1138],{"type":398,"value":1139},"\"Series:\"",{"type":393,"tag":507,"props":1141,"children":1142},{"style":519},[1143],{"type":398,"value":776},{"type":393,"tag":507,"props":1145,"children":1146},{"class":509,"line":148},[1147,1151],{"type":393,"tag":507,"props":1148,"children":1149},{"style":625},[1150],{"type":398,"value":699},{"type":393,"tag":507,"props":1152,"children":1153},{"style":519},[1154],{"type":398,"value":1155},"(scores)\n",{"type":393,"tag":507,"props":1157,"children":1158},{"class":509,"line":159},[1159,1163,1167,1171,1175,1179,1184,1188,1192],{"type":393,"tag":507,"props":1160,"children":1161},{"style":625},[1162],{"type":398,"value":699},{"type":393,"tag":507,"props":1164,"children":1165},{"style":519},[1166],{"type":398,"value":731},{"type":393,"tag":507,"props":1168,"children":1169},{"style":513},[1170],{"type":398,"value":736},{"type":393,"tag":507,"props":1172,"children":1173},{"style":573},[1174],{"type":398,"value":796},{"type":393,"tag":507,"props":1176,"children":1177},{"style":625},[1178],{"type":398,"value":746},{"type":393,"tag":507,"props":1180,"children":1181},{"style":519},[1182],{"type":398,"value":1183},"scores.mean()",{"type":393,"tag":507,"props":1185,"children":1186},{"style":625},[1187],{"type":398,"value":766},{"type":393,"tag":507,"props":1189,"children":1190},{"style":573},[1191],{"type":398,"value":771},{"type":393,"tag":507,"props":1193,"children":1194},{"style":519},[1195],{"type":398,"value":776},{"type":393,"tag":827,"props":1197,"children":1199},{"id":1198},"why-pandas-is-a-game-changer",[1200],{"type":398,"value":1201},"🚀 Why Pandas is a Game-Changer",{"type":393,"tag":401,"props":1203,"children":1204},{},[1205],{"type":398,"value":1206},"Here's what makes Pandas special compared to other ways of working with data:",{"type":393,"tag":1208,"props":1209,"children":1210},"table",{},[1211,1235],{"type":393,"tag":1212,"props":1213,"children":1214},"thead",{},[1215],{"type":393,"tag":1216,"props":1217,"children":1218},"tr",{},[1219,1225,1230],{"type":393,"tag":1220,"props":1221,"children":1222},"th",{},[1223],{"type":398,"value":1224},"Task",{"type":393,"tag":1220,"props":1226,"children":1227},{},[1228],{"type":398,"value":1229},"Without Pandas",{"type":393,"tag":1220,"props":1231,"children":1232},{},[1233],{"type":398,"value":1234},"With Pandas",{"type":393,"tag":1236,"props":1237,"children":1238},"tbody",{},[1239,1265,1290,1315,1348,1373],{"type":393,"tag":1216,"props":1240,"children":1241},{},[1242,1251,1256],{"type":393,"tag":1243,"props":1244,"children":1245},"td",{},[1246],{"type":393,"tag":417,"props":1247,"children":1248},{},[1249],{"type":398,"value":1250},"Load 1000-row CSV",{"type":393,"tag":1243,"props":1252,"children":1253},{},[1254],{"type":398,"value":1255},"Write complex file reading code",{"type":393,"tag":1243,"props":1257,"children":1258},{},[1259],{"type":393,"tag":503,"props":1260,"children":1262},{"className":1261},[],[1263],{"type":398,"value":1264},"pd.read_csv('file.csv')",{"type":393,"tag":1216,"props":1266,"children":1267},{},[1268,1276,1281],{"type":393,"tag":1243,"props":1269,"children":1270},{},[1271],{"type":393,"tag":417,"props":1272,"children":1273},{},[1274],{"type":398,"value":1275},"Find average",{"type":393,"tag":1243,"props":1277,"children":1278},{},[1279],{"type":398,"value":1280},"Loop through data manually",{"type":393,"tag":1243,"props":1282,"children":1283},{},[1284],{"type":393,"tag":503,"props":1285,"children":1287},{"className":1286},[],[1288],{"type":398,"value":1289},"df['column'].mean()",{"type":393,"tag":1216,"props":1291,"children":1292},{},[1293,1301,1306],{"type":393,"tag":1243,"props":1294,"children":1295},{},[1296],{"type":393,"tag":417,"props":1297,"children":1298},{},[1299],{"type":398,"value":1300},"Filter data",{"type":393,"tag":1243,"props":1302,"children":1303},{},[1304],{"type":398,"value":1305},"Write if statements and loops",{"type":393,"tag":1243,"props":1307,"children":1308},{},[1309],{"type":393,"tag":503,"props":1310,"children":1312},{"className":1311},[],[1313],{"type":398,"value":1314},"df[df['sales'] > 100]",{"type":393,"tag":1216,"props":1316,"children":1317},{},[1318,1326,1331],{"type":393,"tag":1243,"props":1319,"children":1320},{},[1321],{"type":393,"tag":417,"props":1322,"children":1323},{},[1324],{"type":398,"value":1325},"Handle missing data",{"type":393,"tag":1243,"props":1327,"children":1328},{},[1329],{"type":398,"value":1330},"Check each value individually",{"type":393,"tag":1243,"props":1332,"children":1333},{},[1334,1340,1342],{"type":393,"tag":503,"props":1335,"children":1337},{"className":1336},[],[1338],{"type":398,"value":1339},"df.fillna(0)",{"type":398,"value":1341}," or ",{"type":393,"tag":503,"props":1343,"children":1345},{"className":1344},[],[1346],{"type":398,"value":1347},"df.dropna()",{"type":393,"tag":1216,"props":1349,"children":1350},{},[1351,1359,1364],{"type":393,"tag":1243,"props":1352,"children":1353},{},[1354],{"type":393,"tag":417,"props":1355,"children":1356},{},[1357],{"type":398,"value":1358},"Group by category",{"type":393,"tag":1243,"props":1360,"children":1361},{},[1362],{"type":398,"value":1363},"Complex nested loops",{"type":393,"tag":1243,"props":1365,"children":1366},{},[1367],{"type":393,"tag":503,"props":1368,"children":1370},{"className":1369},[],[1371],{"type":398,"value":1372},"df.groupby('category').sum()",{"type":393,"tag":1216,"props":1374,"children":1375},{},[1376,1384,1389],{"type":393,"tag":1243,"props":1377,"children":1378},{},[1379],{"type":393,"tag":417,"props":1380,"children":1381},{},[1382],{"type":398,"value":1383},"Sort data",{"type":393,"tag":1243,"props":1385,"children":1386},{},[1387],{"type":398,"value":1388},"Write sorting algorithms",{"type":393,"tag":1243,"props":1390,"children":1391},{},[1392],{"type":393,"tag":503,"props":1393,"children":1395},{"className":1394},[],[1396],{"type":398,"value":1397},"df.sort_values('column')",{"type":393,"tag":911,"props":1399,"children":1401},{"id":1400},"simple-analysis-example",[1402],{"type":398,"value":1403},"Simple Analysis Example",{"type":393,"tag":492,"props":1405,"children":1406},{},[1407],{"type":393,"tag":496,"props":1408,"children":1410},{"className":498,"code":1409,"language":500,"meta":6,"style":6},"import pandas as pd\n\n# Customer ratings\ndata = {\n    'customer': ['A', 'B', 'C', 'D'],\n    'rating': [5, 3, 4, 5]\n}\n\ndf = pd.DataFrame(data)\nprint(df)\n\n# Quick insights\nprint(f\"Average rating: {df['rating'].mean()}\")\nprint(f\"High ratings: {len(df[df['rating'] >= 4])}\")\n",[1411],{"type":393,"tag":503,"props":1412,"children":1413},{"__ignoreMap":6},[1414,1433,1440,1448,1464,1512,1559,1566,1573,1589,1600,1607,1615,1664],{"type":393,"tag":507,"props":1415,"children":1416},{"class":509,"line":11},[1417,1421,1425,1429],{"type":393,"tag":507,"props":1418,"children":1419},{"style":513},[1420],{"type":398,"value":516},{"type":393,"tag":507,"props":1422,"children":1423},{"style":519},[1424],{"type":398,"value":522},{"type":393,"tag":507,"props":1426,"children":1427},{"style":513},[1428],{"type":398,"value":527},{"type":393,"tag":507,"props":1430,"children":1431},{"style":519},[1432],{"type":398,"value":532},{"type":393,"tag":507,"props":1434,"children":1435},{"class":509,"line":27},[1436],{"type":393,"tag":507,"props":1437,"children":1438},{"emptyLinePlaceholder":12},[1439],{"type":398,"value":540},{"type":393,"tag":507,"props":1441,"children":1442},{"class":509,"line":36},[1443],{"type":393,"tag":507,"props":1444,"children":1445},{"style":546},[1446],{"type":398,"value":1447},"# Customer ratings\n",{"type":393,"tag":507,"props":1449,"children":1450},{"class":509,"line":45},[1451,1456,1460],{"type":393,"tag":507,"props":1452,"children":1453},{"style":519},[1454],{"type":398,"value":1455},"data ",{"type":393,"tag":507,"props":1457,"children":1458},{"style":513},[1459],{"type":398,"value":562},{"type":393,"tag":507,"props":1461,"children":1462},{"style":519},[1463],{"type":398,"value":567},{"type":393,"tag":507,"props":1465,"children":1466},{"class":509,"line":54},[1467,1472,1476,1481,1485,1490,1494,1499,1503,1508],{"type":393,"tag":507,"props":1468,"children":1469},{"style":573},[1470],{"type":398,"value":1471},"    'customer'",{"type":393,"tag":507,"props":1473,"children":1474},{"style":519},[1475],{"type":398,"value":581},{"type":393,"tag":507,"props":1477,"children":1478},{"style":573},[1479],{"type":398,"value":1480},"'A'",{"type":393,"tag":507,"props":1482,"children":1483},{"style":519},[1484],{"type":398,"value":591},{"type":393,"tag":507,"props":1486,"children":1487},{"style":573},[1488],{"type":398,"value":1489},"'B'",{"type":393,"tag":507,"props":1491,"children":1492},{"style":519},[1493],{"type":398,"value":591},{"type":393,"tag":507,"props":1495,"children":1496},{"style":573},[1497],{"type":398,"value":1498},"'C'",{"type":393,"tag":507,"props":1500,"children":1501},{"style":519},[1502],{"type":398,"value":591},{"type":393,"tag":507,"props":1504,"children":1505},{"style":573},[1506],{"type":398,"value":1507},"'D'",{"type":393,"tag":507,"props":1509,"children":1510},{"style":519},[1511],{"type":398,"value":610},{"type":393,"tag":507,"props":1513,"children":1514},{"class":509,"line":63},[1515,1520,1524,1529,1533,1538,1542,1547,1551,1555],{"type":393,"tag":507,"props":1516,"children":1517},{"style":573},[1518],{"type":398,"value":1519},"    'rating'",{"type":393,"tag":507,"props":1521,"children":1522},{"style":519},[1523],{"type":398,"value":581},{"type":393,"tag":507,"props":1525,"children":1526},{"style":625},[1527],{"type":398,"value":1528},"5",{"type":393,"tag":507,"props":1530,"children":1531},{"style":519},[1532],{"type":398,"value":591},{"type":393,"tag":507,"props":1534,"children":1535},{"style":625},[1536],{"type":398,"value":1537},"3",{"type":393,"tag":507,"props":1539,"children":1540},{"style":519},[1541],{"type":398,"value":591},{"type":393,"tag":507,"props":1543,"children":1544},{"style":625},[1545],{"type":398,"value":1546},"4",{"type":393,"tag":507,"props":1548,"children":1549},{"style":519},[1550],{"type":398,"value":591},{"type":393,"tag":507,"props":1552,"children":1553},{"style":625},[1554],{"type":398,"value":1528},{"type":393,"tag":507,"props":1556,"children":1557},{"style":519},[1558],{"type":398,"value":651},{"type":393,"tag":507,"props":1560,"children":1561},{"class":509,"line":72},[1562],{"type":393,"tag":507,"props":1563,"children":1564},{"style":519},[1565],{"type":398,"value":659},{"type":393,"tag":507,"props":1567,"children":1568},{"class":509,"line":83},[1569],{"type":393,"tag":507,"props":1570,"children":1571},{"emptyLinePlaceholder":12},[1572],{"type":398,"value":540},{"type":393,"tag":507,"props":1574,"children":1575},{"class":509,"line":92},[1576,1580,1584],{"type":393,"tag":507,"props":1577,"children":1578},{"style":519},[1579],{"type":398,"value":682},{"type":393,"tag":507,"props":1581,"children":1582},{"style":513},[1583],{"type":398,"value":562},{"type":393,"tag":507,"props":1585,"children":1586},{"style":519},[1587],{"type":398,"value":1588}," pd.DataFrame(data)\n",{"type":393,"tag":507,"props":1590,"children":1591},{"class":509,"line":101},[1592,1596],{"type":393,"tag":507,"props":1593,"children":1594},{"style":625},[1595],{"type":398,"value":699},{"type":393,"tag":507,"props":1597,"children":1598},{"style":519},[1599],{"type":398,"value":704},{"type":393,"tag":507,"props":1601,"children":1602},{"class":509,"line":110},[1603],{"type":393,"tag":507,"props":1604,"children":1605},{"emptyLinePlaceholder":12},[1606],{"type":398,"value":540},{"type":393,"tag":507,"props":1608,"children":1609},{"class":509,"line":121},[1610],{"type":393,"tag":507,"props":1611,"children":1612},{"style":546},[1613],{"type":398,"value":1614},"# Quick insights\n",{"type":393,"tag":507,"props":1616,"children":1617},{"class":509,"line":130},[1618,1622,1626,1630,1635,1639,1643,1648,1652,1656,1660],{"type":393,"tag":507,"props":1619,"children":1620},{"style":625},[1621],{"type":398,"value":699},{"type":393,"tag":507,"props":1623,"children":1624},{"style":519},[1625],{"type":398,"value":731},{"type":393,"tag":507,"props":1627,"children":1628},{"style":513},[1629],{"type":398,"value":736},{"type":393,"tag":507,"props":1631,"children":1632},{"style":573},[1633],{"type":398,"value":1634},"\"Average rating: ",{"type":393,"tag":507,"props":1636,"children":1637},{"style":625},[1638],{"type":398,"value":746},{"type":393,"tag":507,"props":1640,"children":1641},{"style":519},[1642],{"type":398,"value":751},{"type":393,"tag":507,"props":1644,"children":1645},{"style":573},[1646],{"type":398,"value":1647},"'rating'",{"type":393,"tag":507,"props":1649,"children":1650},{"style":519},[1651],{"type":398,"value":813},{"type":393,"tag":507,"props":1653,"children":1654},{"style":625},[1655],{"type":398,"value":766},{"type":393,"tag":507,"props":1657,"children":1658},{"style":573},[1659],{"type":398,"value":771},{"type":393,"tag":507,"props":1661,"children":1662},{"style":519},[1663],{"type":398,"value":776},{"type":393,"tag":507,"props":1665,"children":1666},{"class":509,"line":139},[1667,1671,1675,1679,1684,1689,1694,1698,1703,1708,1713,1718,1722,1726],{"type":393,"tag":507,"props":1668,"children":1669},{"style":625},[1670],{"type":398,"value":699},{"type":393,"tag":507,"props":1672,"children":1673},{"style":519},[1674],{"type":398,"value":731},{"type":393,"tag":507,"props":1676,"children":1677},{"style":513},[1678],{"type":398,"value":736},{"type":393,"tag":507,"props":1680,"children":1681},{"style":573},[1682],{"type":398,"value":1683},"\"High ratings: ",{"type":393,"tag":507,"props":1685,"children":1686},{"style":625},[1687],{"type":398,"value":1688},"{len",{"type":393,"tag":507,"props":1690,"children":1691},{"style":519},[1692],{"type":398,"value":1693},"(df[df[",{"type":393,"tag":507,"props":1695,"children":1696},{"style":573},[1697],{"type":398,"value":1647},{"type":393,"tag":507,"props":1699,"children":1700},{"style":519},[1701],{"type":398,"value":1702},"] ",{"type":393,"tag":507,"props":1704,"children":1705},{"style":513},[1706],{"type":398,"value":1707},">=",{"type":393,"tag":507,"props":1709,"children":1710},{"style":625},[1711],{"type":398,"value":1712}," 4",{"type":393,"tag":507,"props":1714,"children":1715},{"style":519},[1716],{"type":398,"value":1717},"])",{"type":393,"tag":507,"props":1719,"children":1720},{"style":625},[1721],{"type":398,"value":766},{"type":393,"tag":507,"props":1723,"children":1724},{"style":573},[1725],{"type":398,"value":771},{"type":393,"tag":507,"props":1727,"children":1728},{"style":519},[1729],{"type":398,"value":776},{"type":393,"tag":827,"props":1731,"children":1733},{"id":1732},"️-what-makes-pandas-powerful",[1734],{"type":398,"value":1735},"🛠️ What Makes Pandas Powerful",{"type":393,"tag":407,"props":1737,"children":1741},{"emoji":1738,"title":1739,"type":1740},"⚡","Pandas Superpowers","warning",[1742,1752,1762,1772,1782,1792],{"type":393,"tag":401,"props":1743,"children":1744},{},[1745,1750],{"type":393,"tag":417,"props":1746,"children":1747},{},[1748],{"type":398,"value":1749},"Speed:",{"type":398,"value":1751}," Handles millions of rows without breaking a sweat",{"type":393,"tag":401,"props":1753,"children":1754},{},[1755,1760],{"type":393,"tag":417,"props":1756,"children":1757},{},[1758],{"type":398,"value":1759},"Flexibility:",{"type":398,"value":1761}," Works with any type of data (numbers, text, dates)",{"type":393,"tag":401,"props":1763,"children":1764},{},[1765,1770],{"type":393,"tag":417,"props":1766,"children":1767},{},[1768],{"type":398,"value":1769},"Integration:",{"type":398,"value":1771}," Plays nicely with Excel, databases, web APIs",{"type":393,"tag":401,"props":1773,"children":1774},{},[1775,1780],{"type":393,"tag":417,"props":1776,"children":1777},{},[1778],{"type":398,"value":1779},"Built-in Functions:",{"type":398,"value":1781}," Hundreds of ready-to-use analysis functions",{"type":393,"tag":401,"props":1783,"children":1784},{},[1785,1790],{"type":393,"tag":417,"props":1786,"children":1787},{},[1788],{"type":398,"value":1789},"Memory Smart:",{"type":398,"value":1791}," Only loads what you need, when you need it",{"type":393,"tag":401,"props":1793,"children":1794},{},[1795,1800],{"type":393,"tag":417,"props":1796,"children":1797},{},[1798],{"type":398,"value":1799},"Real Talk:",{"type":398,"value":1801}," Data scientists choose Pandas because it turns 100 lines of code into 5 lines, and hours of work into minutes.",{"type":393,"tag":911,"props":1803,"children":1805},{"id":1804},"basic-operations",[1806],{"type":398,"value":1807},"Basic Operations",{"type":393,"tag":492,"props":1809,"children":1810},{},[1811],{"type":393,"tag":496,"props":1812,"children":1814},{"className":498,"code":1813,"language":500,"meta":6,"style":6},"import pandas as pd\n\n# Simple product data\nproducts = pd.DataFrame({\n    'item': ['Laptop', 'Mouse', 'Keyboard'],\n    'price': [999, 25, 75],\n    'quantity': [2, 10, 5]\n})\n\nprint(products)\n\n# Add calculated column\nproducts['total'] = products['price'] * products['quantity']\nprint(products)\n\n# Filter data\nexpensive = products[products['price'] > 50]\nprint(expensive)\n",[1815],{"type":393,"tag":503,"props":1816,"children":1817},{"__ignoreMap":6},[1818,1837,1844,1852,1868,1907,1946,1984,1991,1998,2010,2017,2025,2078,2089,2096,2104,2143],{"type":393,"tag":507,"props":1819,"children":1820},{"class":509,"line":11},[1821,1825,1829,1833],{"type":393,"tag":507,"props":1822,"children":1823},{"style":513},[1824],{"type":398,"value":516},{"type":393,"tag":507,"props":1826,"children":1827},{"style":519},[1828],{"type":398,"value":522},{"type":393,"tag":507,"props":1830,"children":1831},{"style":513},[1832],{"type":398,"value":527},{"type":393,"tag":507,"props":1834,"children":1835},{"style":519},[1836],{"type":398,"value":532},{"type":393,"tag":507,"props":1838,"children":1839},{"class":509,"line":27},[1840],{"type":393,"tag":507,"props":1841,"children":1842},{"emptyLinePlaceholder":12},[1843],{"type":398,"value":540},{"type":393,"tag":507,"props":1845,"children":1846},{"class":509,"line":36},[1847],{"type":393,"tag":507,"props":1848,"children":1849},{"style":546},[1850],{"type":398,"value":1851},"# Simple product data\n",{"type":393,"tag":507,"props":1853,"children":1854},{"class":509,"line":45},[1855,1860,1864],{"type":393,"tag":507,"props":1856,"children":1857},{"style":519},[1858],{"type":398,"value":1859},"products ",{"type":393,"tag":507,"props":1861,"children":1862},{"style":513},[1863],{"type":398,"value":562},{"type":393,"tag":507,"props":1865,"children":1866},{"style":519},[1867],{"type":398,"value":976},{"type":393,"tag":507,"props":1869,"children":1870},{"class":509,"line":54},[1871,1876,1880,1885,1889,1894,1898,1903],{"type":393,"tag":507,"props":1872,"children":1873},{"style":573},[1874],{"type":398,"value":1875},"    'item'",{"type":393,"tag":507,"props":1877,"children":1878},{"style":519},[1879],{"type":398,"value":581},{"type":393,"tag":507,"props":1881,"children":1882},{"style":573},[1883],{"type":398,"value":1884},"'Laptop'",{"type":393,"tag":507,"props":1886,"children":1887},{"style":519},[1888],{"type":398,"value":591},{"type":393,"tag":507,"props":1890,"children":1891},{"style":573},[1892],{"type":398,"value":1893},"'Mouse'",{"type":393,"tag":507,"props":1895,"children":1896},{"style":519},[1897],{"type":398,"value":591},{"type":393,"tag":507,"props":1899,"children":1900},{"style":573},[1901],{"type":398,"value":1902},"'Keyboard'",{"type":393,"tag":507,"props":1904,"children":1905},{"style":519},[1906],{"type":398,"value":610},{"type":393,"tag":507,"props":1908,"children":1909},{"class":509,"line":63},[1910,1915,1919,1924,1928,1933,1937,1942],{"type":393,"tag":507,"props":1911,"children":1912},{"style":573},[1913],{"type":398,"value":1914},"    'price'",{"type":393,"tag":507,"props":1916,"children":1917},{"style":519},[1918],{"type":398,"value":581},{"type":393,"tag":507,"props":1920,"children":1921},{"style":625},[1922],{"type":398,"value":1923},"999",{"type":393,"tag":507,"props":1925,"children":1926},{"style":519},[1927],{"type":398,"value":591},{"type":393,"tag":507,"props":1929,"children":1930},{"style":625},[1931],{"type":398,"value":1932},"25",{"type":393,"tag":507,"props":1934,"children":1935},{"style":519},[1936],{"type":398,"value":591},{"type":393,"tag":507,"props":1938,"children":1939},{"style":625},[1940],{"type":398,"value":1941},"75",{"type":393,"tag":507,"props":1943,"children":1944},{"style":519},[1945],{"type":398,"value":610},{"type":393,"tag":507,"props":1947,"children":1948},{"class":509,"line":72},[1949,1954,1958,1963,1967,1972,1976,1980],{"type":393,"tag":507,"props":1950,"children":1951},{"style":573},[1952],{"type":398,"value":1953},"    'quantity'",{"type":393,"tag":507,"props":1955,"children":1956},{"style":519},[1957],{"type":398,"value":581},{"type":393,"tag":507,"props":1959,"children":1960},{"style":625},[1961],{"type":398,"value":1962},"2",{"type":393,"tag":507,"props":1964,"children":1965},{"style":519},[1966],{"type":398,"value":591},{"type":393,"tag":507,"props":1968,"children":1969},{"style":625},[1970],{"type":398,"value":1971},"10",{"type":393,"tag":507,"props":1973,"children":1974},{"style":519},[1975],{"type":398,"value":591},{"type":393,"tag":507,"props":1977,"children":1978},{"style":625},[1979],{"type":398,"value":1528},{"type":393,"tag":507,"props":1981,"children":1982},{"style":519},[1983],{"type":398,"value":651},{"type":393,"tag":507,"props":1985,"children":1986},{"class":509,"line":83},[1987],{"type":393,"tag":507,"props":1988,"children":1989},{"style":519},[1990],{"type":398,"value":1044},{"type":393,"tag":507,"props":1992,"children":1993},{"class":509,"line":92},[1994],{"type":393,"tag":507,"props":1995,"children":1996},{"emptyLinePlaceholder":12},[1997],{"type":398,"value":540},{"type":393,"tag":507,"props":1999,"children":2000},{"class":509,"line":101},[2001,2005],{"type":393,"tag":507,"props":2002,"children":2003},{"style":625},[2004],{"type":398,"value":699},{"type":393,"tag":507,"props":2006,"children":2007},{"style":519},[2008],{"type":398,"value":2009},"(products)\n",{"type":393,"tag":507,"props":2011,"children":2012},{"class":509,"line":110},[2013],{"type":393,"tag":507,"props":2014,"children":2015},{"emptyLinePlaceholder":12},[2016],{"type":398,"value":540},{"type":393,"tag":507,"props":2018,"children":2019},{"class":509,"line":121},[2020],{"type":393,"tag":507,"props":2021,"children":2022},{"style":546},[2023],{"type":398,"value":2024},"# Add calculated column\n",{"type":393,"tag":507,"props":2026,"children":2027},{"class":509,"line":130},[2028,2033,2038,2042,2046,2051,2056,2060,2065,2069,2074],{"type":393,"tag":507,"props":2029,"children":2030},{"style":519},[2031],{"type":398,"value":2032},"products[",{"type":393,"tag":507,"props":2034,"children":2035},{"style":573},[2036],{"type":398,"value":2037},"'total'",{"type":393,"tag":507,"props":2039,"children":2040},{"style":519},[2041],{"type":398,"value":1702},{"type":393,"tag":507,"props":2043,"children":2044},{"style":513},[2045],{"type":398,"value":562},{"type":393,"tag":507,"props":2047,"children":2048},{"style":519},[2049],{"type":398,"value":2050}," products[",{"type":393,"tag":507,"props":2052,"children":2053},{"style":573},[2054],{"type":398,"value":2055},"'price'",{"type":393,"tag":507,"props":2057,"children":2058},{"style":519},[2059],{"type":398,"value":1702},{"type":393,"tag":507,"props":2061,"children":2062},{"style":513},[2063],{"type":398,"value":2064},"*",{"type":393,"tag":507,"props":2066,"children":2067},{"style":519},[2068],{"type":398,"value":2050},{"type":393,"tag":507,"props":2070,"children":2071},{"style":573},[2072],{"type":398,"value":2073},"'quantity'",{"type":393,"tag":507,"props":2075,"children":2076},{"style":519},[2077],{"type":398,"value":651},{"type":393,"tag":507,"props":2079,"children":2080},{"class":509,"line":139},[2081,2085],{"type":393,"tag":507,"props":2082,"children":2083},{"style":625},[2084],{"type":398,"value":699},{"type":393,"tag":507,"props":2086,"children":2087},{"style":519},[2088],{"type":398,"value":2009},{"type":393,"tag":507,"props":2090,"children":2091},{"class":509,"line":148},[2092],{"type":393,"tag":507,"props":2093,"children":2094},{"emptyLinePlaceholder":12},[2095],{"type":398,"value":540},{"type":393,"tag":507,"props":2097,"children":2098},{"class":509,"line":159},[2099],{"type":393,"tag":507,"props":2100,"children":2101},{"style":546},[2102],{"type":398,"value":2103},"# Filter data\n",{"type":393,"tag":507,"props":2105,"children":2106},{"class":509,"line":168},[2107,2112,2116,2121,2125,2129,2134,2139],{"type":393,"tag":507,"props":2108,"children":2109},{"style":519},[2110],{"type":398,"value":2111},"expensive ",{"type":393,"tag":507,"props":2113,"children":2114},{"style":513},[2115],{"type":398,"value":562},{"type":393,"tag":507,"props":2117,"children":2118},{"style":519},[2119],{"type":398,"value":2120}," products[products[",{"type":393,"tag":507,"props":2122,"children":2123},{"style":573},[2124],{"type":398,"value":2055},{"type":393,"tag":507,"props":2126,"children":2127},{"style":519},[2128],{"type":398,"value":1702},{"type":393,"tag":507,"props":2130,"children":2131},{"style":513},[2132],{"type":398,"value":2133},">",{"type":393,"tag":507,"props":2135,"children":2136},{"style":625},[2137],{"type":398,"value":2138}," 50",{"type":393,"tag":507,"props":2140,"children":2141},{"style":519},[2142],{"type":398,"value":651},{"type":393,"tag":507,"props":2144,"children":2145},{"class":509,"line":177},[2146,2150],{"type":393,"tag":507,"props":2147,"children":2148},{"style":625},[2149],{"type":398,"value":699},{"type":393,"tag":507,"props":2151,"children":2152},{"style":519},[2153],{"type":398,"value":2154},"(expensive)\n",{"type":393,"tag":827,"props":2156,"children":2158},{"id":2157},"when-to-use-pandas",[2159],{"type":398,"value":2160},"📊 When to Use Pandas",{"type":393,"tag":407,"props":2162,"children":2165},{"emoji":2163,"title":2164,"type":842},"✅","Perfect Pandas Use Cases",[2166,2174,2207,2215],{"type":393,"tag":401,"props":2167,"children":2168},{},[2169],{"type":393,"tag":417,"props":2170,"children":2171},{},[2172],{"type":398,"value":2173},"You Should Use Pandas When:",{"type":393,"tag":433,"props":2175,"children":2176},{},[2177,2182,2187,2192,2197,2202],{"type":393,"tag":437,"props":2178,"children":2179},{},[2180],{"type":398,"value":2181},"Working with CSV, Excel, or database files",{"type":393,"tag":437,"props":2183,"children":2184},{},[2185],{"type":398,"value":2186},"Need to clean messy data",{"type":393,"tag":437,"props":2188,"children":2189},{},[2190],{"type":398,"value":2191},"Want to calculate statistics or summaries",{"type":393,"tag":437,"props":2193,"children":2194},{},[2195],{"type":398,"value":2196},"Have to filter, sort, or group data",{"type":393,"tag":437,"props":2198,"children":2199},{},[2200],{"type":398,"value":2201},"Need to combine data from multiple sources",{"type":393,"tag":437,"props":2203,"children":2204},{},[2205],{"type":398,"value":2206},"Want to create reports or dashboards",{"type":393,"tag":401,"props":2208,"children":2209},{},[2210],{"type":393,"tag":417,"props":2211,"children":2212},{},[2213],{"type":398,"value":2214},"Pandas Might Be Overkill For:",{"type":393,"tag":433,"props":2216,"children":2217},{},[2218,2223,2228,2233],{"type":393,"tag":437,"props":2219,"children":2220},{},[2221],{"type":398,"value":2222},"Simple calculations (use basic Python)",{"type":393,"tag":437,"props":2224,"children":2225},{},[2226],{"type":398,"value":2227},"Single values or tiny datasets",{"type":393,"tag":437,"props":2229,"children":2230},{},[2231],{"type":398,"value":2232},"Real-time data processing (use specialized tools)",{"type":393,"tag":437,"props":2234,"children":2235},{},[2236],{"type":398,"value":2237},"Complex machine learning (use scikit-learn with Pandas)",{"type":393,"tag":827,"props":2239,"children":2241},{"id":2240},"key-takeaways",[2242],{"type":398,"value":2243},"🎯 Key Takeaways",{"type":393,"tag":407,"props":2245,"children":2248},{"emoji":2246,"title":2247,"type":842},"📚","Understanding Pandas Essentials",[2249,2257,2275,2283,2324,2332,2355,2363,2386],{"type":393,"tag":401,"props":2250,"children":2251},{},[2252],{"type":393,"tag":417,"props":2253,"children":2254},{},[2255],{"type":398,"value":2256},"What Pandas Is:",{"type":393,"tag":433,"props":2258,"children":2259},{},[2260,2265,2270],{"type":393,"tag":437,"props":2261,"children":2262},{},[2263],{"type":398,"value":2264},"A Python library for data analysis and manipulation",{"type":393,"tag":437,"props":2266,"children":2267},{},[2268],{"type":398,"value":2269},"Creates smart tables (DataFrames) that can do amazing things",{"type":393,"tag":437,"props":2271,"children":2272},{},[2273],{"type":398,"value":2274},"Like Excel on steroids - handles big data with simple commands",{"type":393,"tag":401,"props":2276,"children":2277},{},[2278],{"type":393,"tag":417,"props":2279,"children":2280},{},[2281],{"type":398,"value":2282},"Core Concepts:",{"type":393,"tag":433,"props":2284,"children":2285},{},[2286,2295,2304,2314],{"type":393,"tag":437,"props":2287,"children":2288},{},[2289,2293],{"type":393,"tag":417,"props":2290,"children":2291},{},[2292],{"type":398,"value":851},{"type":398,"value":2294}," = Full data table (rows + columns)",{"type":393,"tag":437,"props":2296,"children":2297},{},[2298,2302],{"type":393,"tag":417,"props":2299,"children":2300},{},[2301],{"type":398,"value":879},{"type":398,"value":2303}," = Single column of data",{"type":393,"tag":437,"props":2305,"children":2306},{},[2307,2312],{"type":393,"tag":417,"props":2308,"children":2309},{},[2310],{"type":398,"value":2311},"Index",{"type":398,"value":2313}," = Row numbers/labels",{"type":393,"tag":437,"props":2315,"children":2316},{},[2317,2322],{"type":393,"tag":417,"props":2318,"children":2319},{},[2320],{"type":398,"value":2321},"Columns",{"type":398,"value":2323}," = Named data fields",{"type":393,"tag":401,"props":2325,"children":2326},{},[2327],{"type":393,"tag":417,"props":2328,"children":2329},{},[2330],{"type":398,"value":2331},"Why It Matters:",{"type":393,"tag":433,"props":2333,"children":2334},{},[2335,2340,2345,2350],{"type":393,"tag":437,"props":2336,"children":2337},{},[2338],{"type":398,"value":2339},"Turns complex data tasks into simple one-liners",{"type":393,"tag":437,"props":2341,"children":2342},{},[2343],{"type":398,"value":2344},"Handles datasets from small to massive",{"type":393,"tag":437,"props":2346,"children":2347},{},[2348],{"type":398,"value":2349},"Industry standard for data analysis in Python",{"type":393,"tag":437,"props":2351,"children":2352},{},[2353],{"type":398,"value":2354},"Makes you incredibly productive with data",{"type":393,"tag":401,"props":2356,"children":2357},{},[2358],{"type":393,"tag":417,"props":2359,"children":2360},{},[2361],{"type":398,"value":2362},"When You'll Use It:",{"type":393,"tag":433,"props":2364,"children":2365},{},[2366,2371,2376,2381],{"type":393,"tag":437,"props":2367,"children":2368},{},[2369],{"type":398,"value":2370},"Any time you have structured data to analyze",{"type":393,"tag":437,"props":2372,"children":2373},{},[2374],{"type":398,"value":2375},"Loading data from files or databases",{"type":393,"tag":437,"props":2377,"children":2378},{},[2379],{"type":398,"value":2380},"Cleaning, filtering, and summarizing data",{"type":393,"tag":437,"props":2382,"children":2383},{},[2384],{"type":398,"value":2385},"Creating reports and finding insights",{"type":393,"tag":401,"props":2387,"children":2388},{},[2389,2394],{"type":393,"tag":417,"props":2390,"children":2391},{},[2392],{"type":398,"value":2393},"Start Simple:",{"type":398,"value":2395}," Begin with basic DataFrames and gradually learn more advanced features!",{"type":393,"tag":827,"props":2397,"children":2399},{"id":2398},"whats-next",[2400],{"type":398,"value":2401},"🚀 What's Next?",{"type":393,"tag":401,"props":2403,"children":2404},{},[2405],{"type":398,"value":2406},"Now that you understand what Pandas is and why it's powerful, let's get it installed on your computer so you can start using it.",{"type":393,"tag":401,"props":2408,"children":2409},{},[2410,2415,2417],{"type":393,"tag":417,"props":2411,"children":2412},{},[2413],{"type":398,"value":2414},"Continue to",{"type":398,"value":2416},": ",{"type":393,"tag":2418,"props":2419,"children":2420},"a",{"href":32},[2421],{"type":398,"value":33},{"type":393,"tag":401,"props":2423,"children":2424},{},[2425],{"type":398,"value":2426},"Ready to turn data chaos into clear insights? Let's get Pandas set up! 📊✨",{"type":393,"tag":2428,"props":2429,"children":2430},"style",{},[2431],{"type":398,"value":2432},"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":2434},[2435,2438,2441,2444,2445,2446],{"id":829,"depth":27,"text":832,"children":2436},[2437],{"id":913,"depth":36,"text":916},{"id":1198,"depth":27,"text":1201,"children":2439},[2440],{"id":1400,"depth":36,"text":1403},{"id":1732,"depth":27,"text":1735,"children":2442},[2443],{"id":1804,"depth":36,"text":1807},{"id":2157,"depth":27,"text":2160},{"id":2240,"depth":27,"text":2243},{"id":2398,"depth":27,"text":2401},1782373723069]