[{"data":1,"prerenderedAt":4162},["ShallowReactive",2],{"tutorials-pandas":3,"category-items-pandas":387,"content-/pandas/saving-your-work":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},"/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",[359],{"_path":360,"_dir":23,"_draft":7,"_partial":7,"_locale":6,"title":361,"description":362,"slug":363,"order":364,"isParent":12,"icon":234,"body":389,"_type":14,"_id":365,"_source":16,"_file":366,"_stem":367,"_extension":19},{"type":390,"children":391,"toc":4150},"root",[392,400,406,411,969,976,981,1135,1141,1146,1172,1178,1183,1313,1319,1324,2024,2031,2737,2743,2748,2878,2884,2889,3965,3971,3976,4114,4120,4125,4139,4144],{"type":393,"tag":394,"props":395,"children":396},"element","h1",{"id":363},[397],{"type":398,"value":399},"text","💾 Saving Your Work",{"type":393,"tag":401,"props":402,"children":403},"p",{},[404],{"type":398,"value":405},"After all your hard work analyzing and transforming data, you need to save and share your results! Pandas provides excellent tools for exporting data to various formats - from simple CSV files to Excel spreadsheets with multiple sheets, and even back to databases.",{"type":393,"tag":401,"props":407,"children":408},{},[409],{"type":398,"value":410},"Think of saving data like packaging your findings for different audiences - some prefer Excel files, others need CSV data, and databases want structured imports.",{"type":393,"tag":412,"props":413,"children":414},"code-try",{},[415],{"type":393,"tag":416,"props":417,"children":421},"pre",{"className":418,"code":419,"language":420,"meta":6,"style":6},"language-python shiki shiki-themes github-light github-dark","import pandas as pd\n\n# Sample analyzed data\nsales_summary = pd.DataFrame({\n    'region': ['North', 'South', 'East', 'West'],\n    'total_sales': [150000, 120000, 180000, 140000],\n    'avg_order': [285, 340, 275, 320],\n    'customer_count': [526, 353, 655, 438]\n})\n\nprint(\"Sales summary to save:\")\nprint(sales_summary)\nprint()\n\n# Save to CSV\nsales_summary.to_csv('sales_summary.csv', index=False)\nprint(\"✅ Saved to CSV file: sales_summary.csv\")\n\n# Save to Excel\nsales_summary.to_excel('sales_summary.xlsx', index=False)\nprint(\"✅ Saved to Excel file: sales_summary.xlsx\")\n\n# Check the saved file\nsaved_data = pd.read_csv('sales_summary.csv')\nprint(\"\\nVerifying saved CSV:\")\nprint(saved_data)\n","python",[422],{"type":393,"tag":423,"props":424,"children":425},"code",{"__ignoreMap":6},[426,453,461,470,488,540,589,637,686,694,701,724,736,748,755,763,799,819,826,834,867,887,894,902,927,957],{"type":393,"tag":427,"props":428,"children":430},"span",{"class":429,"line":11},"line",[431,437,443,448],{"type":393,"tag":427,"props":432,"children":434},{"style":433},"--shiki-default:#D73A49;--shiki-app-dark-mode:#F97583",[435],{"type":398,"value":436},"import",{"type":393,"tag":427,"props":438,"children":440},{"style":439},"--shiki-default:#24292E;--shiki-app-dark-mode:#E1E4E8",[441],{"type":398,"value":442}," pandas ",{"type":393,"tag":427,"props":444,"children":445},{"style":433},[446],{"type":398,"value":447},"as",{"type":393,"tag":427,"props":449,"children":450},{"style":439},[451],{"type":398,"value":452}," pd\n",{"type":393,"tag":427,"props":454,"children":455},{"class":429,"line":27},[456],{"type":393,"tag":427,"props":457,"children":458},{"emptyLinePlaceholder":12},[459],{"type":398,"value":460},"\n",{"type":393,"tag":427,"props":462,"children":463},{"class":429,"line":36},[464],{"type":393,"tag":427,"props":465,"children":467},{"style":466},"--shiki-default:#6A737D;--shiki-app-dark-mode:#6A737D",[468],{"type":398,"value":469},"# Sample analyzed data\n",{"type":393,"tag":427,"props":471,"children":472},{"class":429,"line":45},[473,478,483],{"type":393,"tag":427,"props":474,"children":475},{"style":439},[476],{"type":398,"value":477},"sales_summary ",{"type":393,"tag":427,"props":479,"children":480},{"style":433},[481],{"type":398,"value":482},"=",{"type":393,"tag":427,"props":484,"children":485},{"style":439},[486],{"type":398,"value":487}," pd.DataFrame({\n",{"type":393,"tag":427,"props":489,"children":490},{"class":429,"line":54},[491,497,502,507,512,517,521,526,530,535],{"type":393,"tag":427,"props":492,"children":494},{"style":493},"--shiki-default:#032F62;--shiki-app-dark-mode:#9ECBFF",[495],{"type":398,"value":496},"    'region'",{"type":393,"tag":427,"props":498,"children":499},{"style":439},[500],{"type":398,"value":501},": [",{"type":393,"tag":427,"props":503,"children":504},{"style":493},[505],{"type":398,"value":506},"'North'",{"type":393,"tag":427,"props":508,"children":509},{"style":439},[510],{"type":398,"value":511},", ",{"type":393,"tag":427,"props":513,"children":514},{"style":493},[515],{"type":398,"value":516},"'South'",{"type":393,"tag":427,"props":518,"children":519},{"style":439},[520],{"type":398,"value":511},{"type":393,"tag":427,"props":522,"children":523},{"style":493},[524],{"type":398,"value":525},"'East'",{"type":393,"tag":427,"props":527,"children":528},{"style":439},[529],{"type":398,"value":511},{"type":393,"tag":427,"props":531,"children":532},{"style":493},[533],{"type":398,"value":534},"'West'",{"type":393,"tag":427,"props":536,"children":537},{"style":439},[538],{"type":398,"value":539},"],\n",{"type":393,"tag":427,"props":541,"children":542},{"class":429,"line":63},[543,548,552,558,562,567,571,576,580,585],{"type":393,"tag":427,"props":544,"children":545},{"style":493},[546],{"type":398,"value":547},"    'total_sales'",{"type":393,"tag":427,"props":549,"children":550},{"style":439},[551],{"type":398,"value":501},{"type":393,"tag":427,"props":553,"children":555},{"style":554},"--shiki-default:#005CC5;--shiki-app-dark-mode:#79B8FF",[556],{"type":398,"value":557},"150000",{"type":393,"tag":427,"props":559,"children":560},{"style":439},[561],{"type":398,"value":511},{"type":393,"tag":427,"props":563,"children":564},{"style":554},[565],{"type":398,"value":566},"120000",{"type":393,"tag":427,"props":568,"children":569},{"style":439},[570],{"type":398,"value":511},{"type":393,"tag":427,"props":572,"children":573},{"style":554},[574],{"type":398,"value":575},"180000",{"type":393,"tag":427,"props":577,"children":578},{"style":439},[579],{"type":398,"value":511},{"type":393,"tag":427,"props":581,"children":582},{"style":554},[583],{"type":398,"value":584},"140000",{"type":393,"tag":427,"props":586,"children":587},{"style":439},[588],{"type":398,"value":539},{"type":393,"tag":427,"props":590,"children":591},{"class":429,"line":72},[592,597,601,606,610,615,619,624,628,633],{"type":393,"tag":427,"props":593,"children":594},{"style":493},[595],{"type":398,"value":596},"    'avg_order'",{"type":393,"tag":427,"props":598,"children":599},{"style":439},[600],{"type":398,"value":501},{"type":393,"tag":427,"props":602,"children":603},{"style":554},[604],{"type":398,"value":605},"285",{"type":393,"tag":427,"props":607,"children":608},{"style":439},[609],{"type":398,"value":511},{"type":393,"tag":427,"props":611,"children":612},{"style":554},[613],{"type":398,"value":614},"340",{"type":393,"tag":427,"props":616,"children":617},{"style":439},[618],{"type":398,"value":511},{"type":393,"tag":427,"props":620,"children":621},{"style":554},[622],{"type":398,"value":623},"275",{"type":393,"tag":427,"props":625,"children":626},{"style":439},[627],{"type":398,"value":511},{"type":393,"tag":427,"props":629,"children":630},{"style":554},[631],{"type":398,"value":632},"320",{"type":393,"tag":427,"props":634,"children":635},{"style":439},[636],{"type":398,"value":539},{"type":393,"tag":427,"props":638,"children":639},{"class":429,"line":83},[640,645,649,654,658,663,667,672,676,681],{"type":393,"tag":427,"props":641,"children":642},{"style":493},[643],{"type":398,"value":644},"    'customer_count'",{"type":393,"tag":427,"props":646,"children":647},{"style":439},[648],{"type":398,"value":501},{"type":393,"tag":427,"props":650,"children":651},{"style":554},[652],{"type":398,"value":653},"526",{"type":393,"tag":427,"props":655,"children":656},{"style":439},[657],{"type":398,"value":511},{"type":393,"tag":427,"props":659,"children":660},{"style":554},[661],{"type":398,"value":662},"353",{"type":393,"tag":427,"props":664,"children":665},{"style":439},[666],{"type":398,"value":511},{"type":393,"tag":427,"props":668,"children":669},{"style":554},[670],{"type":398,"value":671},"655",{"type":393,"tag":427,"props":673,"children":674},{"style":439},[675],{"type":398,"value":511},{"type":393,"tag":427,"props":677,"children":678},{"style":554},[679],{"type":398,"value":680},"438",{"type":393,"tag":427,"props":682,"children":683},{"style":439},[684],{"type":398,"value":685},"]\n",{"type":393,"tag":427,"props":687,"children":688},{"class":429,"line":92},[689],{"type":393,"tag":427,"props":690,"children":691},{"style":439},[692],{"type":398,"value":693},"})\n",{"type":393,"tag":427,"props":695,"children":696},{"class":429,"line":101},[697],{"type":393,"tag":427,"props":698,"children":699},{"emptyLinePlaceholder":12},[700],{"type":398,"value":460},{"type":393,"tag":427,"props":702,"children":703},{"class":429,"line":110},[704,709,714,719],{"type":393,"tag":427,"props":705,"children":706},{"style":554},[707],{"type":398,"value":708},"print",{"type":393,"tag":427,"props":710,"children":711},{"style":439},[712],{"type":398,"value":713},"(",{"type":393,"tag":427,"props":715,"children":716},{"style":493},[717],{"type":398,"value":718},"\"Sales summary to save:\"",{"type":393,"tag":427,"props":720,"children":721},{"style":439},[722],{"type":398,"value":723},")\n",{"type":393,"tag":427,"props":725,"children":726},{"class":429,"line":121},[727,731],{"type":393,"tag":427,"props":728,"children":729},{"style":554},[730],{"type":398,"value":708},{"type":393,"tag":427,"props":732,"children":733},{"style":439},[734],{"type":398,"value":735},"(sales_summary)\n",{"type":393,"tag":427,"props":737,"children":738},{"class":429,"line":130},[739,743],{"type":393,"tag":427,"props":740,"children":741},{"style":554},[742],{"type":398,"value":708},{"type":393,"tag":427,"props":744,"children":745},{"style":439},[746],{"type":398,"value":747},"()\n",{"type":393,"tag":427,"props":749,"children":750},{"class":429,"line":139},[751],{"type":393,"tag":427,"props":752,"children":753},{"emptyLinePlaceholder":12},[754],{"type":398,"value":460},{"type":393,"tag":427,"props":756,"children":757},{"class":429,"line":148},[758],{"type":393,"tag":427,"props":759,"children":760},{"style":466},[761],{"type":398,"value":762},"# Save to CSV\n",{"type":393,"tag":427,"props":764,"children":765},{"class":429,"line":159},[766,771,776,780,786,790,795],{"type":393,"tag":427,"props":767,"children":768},{"style":439},[769],{"type":398,"value":770},"sales_summary.to_csv(",{"type":393,"tag":427,"props":772,"children":773},{"style":493},[774],{"type":398,"value":775},"'sales_summary.csv'",{"type":393,"tag":427,"props":777,"children":778},{"style":439},[779],{"type":398,"value":511},{"type":393,"tag":427,"props":781,"children":783},{"style":782},"--shiki-default:#E36209;--shiki-app-dark-mode:#FFAB70",[784],{"type":398,"value":785},"index",{"type":393,"tag":427,"props":787,"children":788},{"style":433},[789],{"type":398,"value":482},{"type":393,"tag":427,"props":791,"children":792},{"style":554},[793],{"type":398,"value":794},"False",{"type":393,"tag":427,"props":796,"children":797},{"style":439},[798],{"type":398,"value":723},{"type":393,"tag":427,"props":800,"children":801},{"class":429,"line":168},[802,806,810,815],{"type":393,"tag":427,"props":803,"children":804},{"style":554},[805],{"type":398,"value":708},{"type":393,"tag":427,"props":807,"children":808},{"style":439},[809],{"type":398,"value":713},{"type":393,"tag":427,"props":811,"children":812},{"style":493},[813],{"type":398,"value":814},"\"✅ Saved to CSV file: sales_summary.csv\"",{"type":393,"tag":427,"props":816,"children":817},{"style":439},[818],{"type":398,"value":723},{"type":393,"tag":427,"props":820,"children":821},{"class":429,"line":177},[822],{"type":393,"tag":427,"props":823,"children":824},{"emptyLinePlaceholder":12},[825],{"type":398,"value":460},{"type":393,"tag":427,"props":827,"children":828},{"class":429,"line":186},[829],{"type":393,"tag":427,"props":830,"children":831},{"style":466},[832],{"type":398,"value":833},"# Save to Excel\n",{"type":393,"tag":427,"props":835,"children":836},{"class":429,"line":197},[837,842,847,851,855,859,863],{"type":393,"tag":427,"props":838,"children":839},{"style":439},[840],{"type":398,"value":841},"sales_summary.to_excel(",{"type":393,"tag":427,"props":843,"children":844},{"style":493},[845],{"type":398,"value":846},"'sales_summary.xlsx'",{"type":393,"tag":427,"props":848,"children":849},{"style":439},[850],{"type":398,"value":511},{"type":393,"tag":427,"props":852,"children":853},{"style":782},[854],{"type":398,"value":785},{"type":393,"tag":427,"props":856,"children":857},{"style":433},[858],{"type":398,"value":482},{"type":393,"tag":427,"props":860,"children":861},{"style":554},[862],{"type":398,"value":794},{"type":393,"tag":427,"props":864,"children":865},{"style":439},[866],{"type":398,"value":723},{"type":393,"tag":427,"props":868,"children":869},{"class":429,"line":206},[870,874,878,883],{"type":393,"tag":427,"props":871,"children":872},{"style":554},[873],{"type":398,"value":708},{"type":393,"tag":427,"props":875,"children":876},{"style":439},[877],{"type":398,"value":713},{"type":393,"tag":427,"props":879,"children":880},{"style":493},[881],{"type":398,"value":882},"\"✅ Saved to Excel file: sales_summary.xlsx\"",{"type":393,"tag":427,"props":884,"children":885},{"style":439},[886],{"type":398,"value":723},{"type":393,"tag":427,"props":888,"children":889},{"class":429,"line":215},[890],{"type":393,"tag":427,"props":891,"children":892},{"emptyLinePlaceholder":12},[893],{"type":398,"value":460},{"type":393,"tag":427,"props":895,"children":896},{"class":429,"line":224},[897],{"type":393,"tag":427,"props":898,"children":899},{"style":466},[900],{"type":398,"value":901},"# Check the saved file\n",{"type":393,"tag":427,"props":903,"children":904},{"class":429,"line":233},[905,910,914,919,923],{"type":393,"tag":427,"props":906,"children":907},{"style":439},[908],{"type":398,"value":909},"saved_data ",{"type":393,"tag":427,"props":911,"children":912},{"style":433},[913],{"type":398,"value":482},{"type":393,"tag":427,"props":915,"children":916},{"style":439},[917],{"type":398,"value":918}," pd.read_csv(",{"type":393,"tag":427,"props":920,"children":921},{"style":493},[922],{"type":398,"value":775},{"type":393,"tag":427,"props":924,"children":925},{"style":439},[926],{"type":398,"value":723},{"type":393,"tag":427,"props":928,"children":929},{"class":429,"line":244},[930,934,938,943,948,953],{"type":393,"tag":427,"props":931,"children":932},{"style":554},[933],{"type":398,"value":708},{"type":393,"tag":427,"props":935,"children":936},{"style":439},[937],{"type":398,"value":713},{"type":393,"tag":427,"props":939,"children":940},{"style":493},[941],{"type":398,"value":942},"\"",{"type":393,"tag":427,"props":944,"children":945},{"style":554},[946],{"type":398,"value":947},"\\n",{"type":393,"tag":427,"props":949,"children":950},{"style":493},[951],{"type":398,"value":952},"Verifying saved CSV:\"",{"type":393,"tag":427,"props":954,"children":955},{"style":439},[956],{"type":398,"value":723},{"type":393,"tag":427,"props":958,"children":959},{"class":429,"line":253},[960,964],{"type":393,"tag":427,"props":961,"children":962},{"style":554},[963],{"type":398,"value":708},{"type":393,"tag":427,"props":965,"children":966},{"style":439},[967],{"type":398,"value":968},"(saved_data)\n",{"type":393,"tag":970,"props":971,"children":973},"h2",{"id":972},"why-save-data",[974],{"type":398,"value":975},"🎯 Why Save Data?",{"type":393,"tag":401,"props":977,"children":978},{},[979],{"type":398,"value":980},"Sharing and preserving your analysis results is crucial:",{"type":393,"tag":982,"props":983,"children":987},"info-box",{"emoji":984,"title":985,"type":986},"📤","Benefits of Data Export","info",[988,997,1022,1030,1073,1081,1104,1112],{"type":393,"tag":401,"props":989,"children":990},{},[991],{"type":393,"tag":992,"props":993,"children":994},"strong",{},[995],{"type":398,"value":996},"Sharing Results:",{"type":393,"tag":998,"props":999,"children":1000},"ul",{},[1001,1007,1012,1017],{"type":393,"tag":1002,"props":1003,"children":1004},"li",{},[1005],{"type":398,"value":1006},"Send findings to colleagues and stakeholders",{"type":393,"tag":1002,"props":1008,"children":1009},{},[1010],{"type":398,"value":1011},"Create reports for management",{"type":393,"tag":1002,"props":1013,"children":1014},{},[1015],{"type":398,"value":1016},"Provide data for further analysis",{"type":393,"tag":1002,"props":1018,"children":1019},{},[1020],{"type":398,"value":1021},"Archive analysis results",{"type":393,"tag":401,"props":1023,"children":1024},{},[1025],{"type":393,"tag":992,"props":1026,"children":1027},{},[1028],{"type":398,"value":1029},"Different Formats for Different Needs:",{"type":393,"tag":998,"props":1031,"children":1032},{},[1033,1043,1053,1063],{"type":393,"tag":1002,"props":1034,"children":1035},{},[1036,1041],{"type":393,"tag":992,"props":1037,"children":1038},{},[1039],{"type":398,"value":1040},"CSV",{"type":398,"value":1042},": Universal, works everywhere",{"type":393,"tag":1002,"props":1044,"children":1045},{},[1046,1051],{"type":393,"tag":992,"props":1047,"children":1048},{},[1049],{"type":398,"value":1050},"Excel",{"type":398,"value":1052},": Business-friendly, supports formatting",{"type":393,"tag":1002,"props":1054,"children":1055},{},[1056,1061],{"type":393,"tag":992,"props":1057,"children":1058},{},[1059],{"type":398,"value":1060},"JSON",{"type":398,"value":1062},": Web applications, APIs",{"type":393,"tag":1002,"props":1064,"children":1065},{},[1066,1071],{"type":393,"tag":992,"props":1067,"children":1068},{},[1069],{"type":398,"value":1070},"Database",{"type":398,"value":1072},": Integration with systems",{"type":393,"tag":401,"props":1074,"children":1075},{},[1076],{"type":393,"tag":992,"props":1077,"children":1078},{},[1079],{"type":398,"value":1080},"Common Use Cases:",{"type":393,"tag":998,"props":1082,"children":1083},{},[1084,1089,1094,1099],{"type":393,"tag":1002,"props":1085,"children":1086},{},[1087],{"type":398,"value":1088},"Monthly reports to management",{"type":393,"tag":1002,"props":1090,"children":1091},{},[1092],{"type":398,"value":1093},"Data feeds for other systems",{"type":393,"tag":1002,"props":1095,"children":1096},{},[1097],{"type":398,"value":1098},"Backup of processed data",{"type":393,"tag":1002,"props":1100,"children":1101},{},[1102],{"type":398,"value":1103},"Sharing with non-technical users",{"type":393,"tag":401,"props":1105,"children":1106},{},[1107],{"type":393,"tag":992,"props":1108,"children":1109},{},[1110],{"type":398,"value":1111},"Best Practices:",{"type":393,"tag":998,"props":1113,"children":1114},{},[1115,1120,1125,1130],{"type":393,"tag":1002,"props":1116,"children":1117},{},[1118],{"type":398,"value":1119},"Choose appropriate format for audience",{"type":393,"tag":1002,"props":1121,"children":1122},{},[1123],{"type":398,"value":1124},"Include clear column names",{"type":393,"tag":1002,"props":1126,"children":1127},{},[1128],{"type":398,"value":1129},"Document any data transformations",{"type":393,"tag":1002,"props":1131,"children":1132},{},[1133],{"type":398,"value":1134},"Test that exported data loads correctly",{"type":393,"tag":970,"props":1136,"children":1138},{"id":1137},"what-youll-learn-in-this-section",[1139],{"type":398,"value":1140},"📚 What You'll Learn in This Section",{"type":393,"tag":401,"props":1142,"children":1143},{},[1144],{"type":398,"value":1145},"Master essential data export techniques:",{"type":393,"tag":998,"props":1147,"children":1148},{},[1149,1161],{"type":393,"tag":1002,"props":1150,"children":1151},{},[1152,1154,1159],{"type":398,"value":1153},"📄 ",{"type":393,"tag":1155,"props":1156,"children":1157},"a",{"href":370},[1158],{"type":398,"value":371},{"type":398,"value":1160}," Learn to save your DataFrames to common file formats for sharing and reporting.",{"type":393,"tag":1002,"props":1162,"children":1163},{},[1164,1166,1170],{"type":398,"value":1165},"🗄️ ",{"type":393,"tag":1155,"props":1167,"children":1168},{"href":379},[1169],{"type":398,"value":380},{"type":398,"value":1171}," Discover how to save data back to databases for integration with other systems.",{"type":393,"tag":970,"props":1173,"children":1175},{"id":1174},"️-export-format-overview",[1176],{"type":398,"value":1177},"🛠️ Export Format Overview",{"type":393,"tag":401,"props":1179,"children":1180},{},[1181],{"type":398,"value":1182},"Different formats serve different purposes:",{"type":393,"tag":982,"props":1184,"children":1188},{"emoji":1185,"title":1186,"type":1187},"📋","Export Format Guide","success",[1189,1197,1220,1228,1251,1259,1282,1290],{"type":393,"tag":401,"props":1190,"children":1191},{},[1192],{"type":393,"tag":992,"props":1193,"children":1194},{},[1195],{"type":398,"value":1196},"CSV (Comma-Separated Values):",{"type":393,"tag":998,"props":1198,"children":1199},{},[1200,1205,1210,1215],{"type":393,"tag":1002,"props":1201,"children":1202},{},[1203],{"type":398,"value":1204},"Universal compatibility",{"type":393,"tag":1002,"props":1206,"children":1207},{},[1208],{"type":398,"value":1209},"Lightweight and fast",{"type":393,"tag":1002,"props":1211,"children":1212},{},[1213],{"type":398,"value":1214},"Perfect for data exchange",{"type":393,"tag":1002,"props":1216,"children":1217},{},[1218],{"type":398,"value":1219},"No formatting or multiple sheets",{"type":393,"tag":401,"props":1221,"children":1222},{},[1223],{"type":393,"tag":992,"props":1224,"children":1225},{},[1226],{"type":398,"value":1227},"Excel Files (.xlsx):",{"type":393,"tag":998,"props":1229,"children":1230},{},[1231,1236,1241,1246],{"type":393,"tag":1002,"props":1232,"children":1233},{},[1234],{"type":398,"value":1235},"Business-standard format",{"type":393,"tag":1002,"props":1237,"children":1238},{},[1239],{"type":398,"value":1240},"Supports multiple sheets",{"type":393,"tag":1002,"props":1242,"children":1243},{},[1244],{"type":398,"value":1245},"Can include formatting",{"type":393,"tag":1002,"props":1247,"children":1248},{},[1249],{"type":398,"value":1250},"Familiar to all business users",{"type":393,"tag":401,"props":1252,"children":1253},{},[1254],{"type":393,"tag":992,"props":1255,"children":1256},{},[1257],{"type":398,"value":1258},"JSON (JavaScript Object Notation):",{"type":393,"tag":998,"props":1260,"children":1261},{},[1262,1267,1272,1277],{"type":393,"tag":1002,"props":1263,"children":1264},{},[1265],{"type":398,"value":1266},"Web-friendly format",{"type":393,"tag":1002,"props":1268,"children":1269},{},[1270],{"type":398,"value":1271},"Nested data structures",{"type":393,"tag":1002,"props":1273,"children":1274},{},[1275],{"type":398,"value":1276},"API integration",{"type":393,"tag":1002,"props":1278,"children":1279},{},[1280],{"type":398,"value":1281},"Modern applications",{"type":393,"tag":401,"props":1283,"children":1284},{},[1285],{"type":393,"tag":992,"props":1286,"children":1287},{},[1288],{"type":398,"value":1289},"Database Export:",{"type":393,"tag":998,"props":1291,"children":1292},{},[1293,1298,1303,1308],{"type":393,"tag":1002,"props":1294,"children":1295},{},[1296],{"type":398,"value":1297},"Integration with existing systems",{"type":393,"tag":1002,"props":1299,"children":1300},{},[1301],{"type":398,"value":1302},"Structured data storage",{"type":393,"tag":1002,"props":1304,"children":1305},{},[1306],{"type":398,"value":1307},"Multi-user access",{"type":393,"tag":1002,"props":1309,"children":1310},{},[1311],{"type":398,"value":1312},"Data integrity and relationships",{"type":393,"tag":970,"props":1314,"children":1316},{"id":1315},"quick-export-examples",[1317],{"type":398,"value":1318},"📊 Quick Export Examples",{"type":393,"tag":401,"props":1320,"children":1321},{},[1322],{"type":398,"value":1323},"Here's a preview of exporting to different formats:",{"type":393,"tag":412,"props":1325,"children":1326},{},[1327],{"type":393,"tag":416,"props":1328,"children":1330},{"className":418,"code":1329,"language":420,"meta":6,"style":6},"import pandas as pd\n\n# Create sample business data\nquarterly_report = pd.DataFrame({\n    'quarter': ['Q1', 'Q2', 'Q3', 'Q4'],\n    'revenue': [125000, 145000, 135000, 165000],\n    'expenses': [95000, 110000, 105000, 120000],\n    'profit': [30000, 35000, 30000, 45000]\n})\n\nprint(\"Quarterly report:\")\nprint(quarterly_report)\nprint()\n\n# Calculate profit margin\nquarterly_report['profit_margin'] = (\n    quarterly_report['profit'] / quarterly_report['revenue'] * 100\n).round(1)\n\nprint(\"With calculated profit margin:\")\nprint(quarterly_report)\nprint()\n\n# Save in multiple formats\nquarterly_report.to_csv('quarterly_report.csv', index=False)\nquarterly_report.to_excel('quarterly_report.xlsx', index=False, sheet_name='Summary')\nquarterly_report.to_json('quarterly_report.json', orient='records', indent=2)\n\nprint(\"✅ Exported to:\")\nprint(\"  - CSV: quarterly_report.csv\")\nprint(\"  - Excel: quarterly_report.xlsx\")\nprint(\"  - JSON: quarterly_report.json\")\n",[1331],{"type":393,"tag":423,"props":1332,"children":1333},{"__ignoreMap":6},[1334,1353,1360,1368,1384,1432,1480,1527,1574,1581,1588,1608,1620,1631,1638,1646,1673,1719,1736,1743,1763,1774,1785,1792,1800,1833,1884,1937,1944,1964,1984,2004],{"type":393,"tag":427,"props":1335,"children":1336},{"class":429,"line":11},[1337,1341,1345,1349],{"type":393,"tag":427,"props":1338,"children":1339},{"style":433},[1340],{"type":398,"value":436},{"type":393,"tag":427,"props":1342,"children":1343},{"style":439},[1344],{"type":398,"value":442},{"type":393,"tag":427,"props":1346,"children":1347},{"style":433},[1348],{"type":398,"value":447},{"type":393,"tag":427,"props":1350,"children":1351},{"style":439},[1352],{"type":398,"value":452},{"type":393,"tag":427,"props":1354,"children":1355},{"class":429,"line":27},[1356],{"type":393,"tag":427,"props":1357,"children":1358},{"emptyLinePlaceholder":12},[1359],{"type":398,"value":460},{"type":393,"tag":427,"props":1361,"children":1362},{"class":429,"line":36},[1363],{"type":393,"tag":427,"props":1364,"children":1365},{"style":466},[1366],{"type":398,"value":1367},"# Create sample business data\n",{"type":393,"tag":427,"props":1369,"children":1370},{"class":429,"line":45},[1371,1376,1380],{"type":393,"tag":427,"props":1372,"children":1373},{"style":439},[1374],{"type":398,"value":1375},"quarterly_report ",{"type":393,"tag":427,"props":1377,"children":1378},{"style":433},[1379],{"type":398,"value":482},{"type":393,"tag":427,"props":1381,"children":1382},{"style":439},[1383],{"type":398,"value":487},{"type":393,"tag":427,"props":1385,"children":1386},{"class":429,"line":54},[1387,1392,1396,1401,1405,1410,1414,1419,1423,1428],{"type":393,"tag":427,"props":1388,"children":1389},{"style":493},[1390],{"type":398,"value":1391},"    'quarter'",{"type":393,"tag":427,"props":1393,"children":1394},{"style":439},[1395],{"type":398,"value":501},{"type":393,"tag":427,"props":1397,"children":1398},{"style":493},[1399],{"type":398,"value":1400},"'Q1'",{"type":393,"tag":427,"props":1402,"children":1403},{"style":439},[1404],{"type":398,"value":511},{"type":393,"tag":427,"props":1406,"children":1407},{"style":493},[1408],{"type":398,"value":1409},"'Q2'",{"type":393,"tag":427,"props":1411,"children":1412},{"style":439},[1413],{"type":398,"value":511},{"type":393,"tag":427,"props":1415,"children":1416},{"style":493},[1417],{"type":398,"value":1418},"'Q3'",{"type":393,"tag":427,"props":1420,"children":1421},{"style":439},[1422],{"type":398,"value":511},{"type":393,"tag":427,"props":1424,"children":1425},{"style":493},[1426],{"type":398,"value":1427},"'Q4'",{"type":393,"tag":427,"props":1429,"children":1430},{"style":439},[1431],{"type":398,"value":539},{"type":393,"tag":427,"props":1433,"children":1434},{"class":429,"line":63},[1435,1440,1444,1449,1453,1458,1462,1467,1471,1476],{"type":393,"tag":427,"props":1436,"children":1437},{"style":493},[1438],{"type":398,"value":1439},"    'revenue'",{"type":393,"tag":427,"props":1441,"children":1442},{"style":439},[1443],{"type":398,"value":501},{"type":393,"tag":427,"props":1445,"children":1446},{"style":554},[1447],{"type":398,"value":1448},"125000",{"type":393,"tag":427,"props":1450,"children":1451},{"style":439},[1452],{"type":398,"value":511},{"type":393,"tag":427,"props":1454,"children":1455},{"style":554},[1456],{"type":398,"value":1457},"145000",{"type":393,"tag":427,"props":1459,"children":1460},{"style":439},[1461],{"type":398,"value":511},{"type":393,"tag":427,"props":1463,"children":1464},{"style":554},[1465],{"type":398,"value":1466},"135000",{"type":393,"tag":427,"props":1468,"children":1469},{"style":439},[1470],{"type":398,"value":511},{"type":393,"tag":427,"props":1472,"children":1473},{"style":554},[1474],{"type":398,"value":1475},"165000",{"type":393,"tag":427,"props":1477,"children":1478},{"style":439},[1479],{"type":398,"value":539},{"type":393,"tag":427,"props":1481,"children":1482},{"class":429,"line":72},[1483,1488,1492,1497,1501,1506,1510,1515,1519,1523],{"type":393,"tag":427,"props":1484,"children":1485},{"style":493},[1486],{"type":398,"value":1487},"    'expenses'",{"type":393,"tag":427,"props":1489,"children":1490},{"style":439},[1491],{"type":398,"value":501},{"type":393,"tag":427,"props":1493,"children":1494},{"style":554},[1495],{"type":398,"value":1496},"95000",{"type":393,"tag":427,"props":1498,"children":1499},{"style":439},[1500],{"type":398,"value":511},{"type":393,"tag":427,"props":1502,"children":1503},{"style":554},[1504],{"type":398,"value":1505},"110000",{"type":393,"tag":427,"props":1507,"children":1508},{"style":439},[1509],{"type":398,"value":511},{"type":393,"tag":427,"props":1511,"children":1512},{"style":554},[1513],{"type":398,"value":1514},"105000",{"type":393,"tag":427,"props":1516,"children":1517},{"style":439},[1518],{"type":398,"value":511},{"type":393,"tag":427,"props":1520,"children":1521},{"style":554},[1522],{"type":398,"value":566},{"type":393,"tag":427,"props":1524,"children":1525},{"style":439},[1526],{"type":398,"value":539},{"type":393,"tag":427,"props":1528,"children":1529},{"class":429,"line":83},[1530,1535,1539,1544,1548,1553,1557,1561,1565,1570],{"type":393,"tag":427,"props":1531,"children":1532},{"style":493},[1533],{"type":398,"value":1534},"    'profit'",{"type":393,"tag":427,"props":1536,"children":1537},{"style":439},[1538],{"type":398,"value":501},{"type":393,"tag":427,"props":1540,"children":1541},{"style":554},[1542],{"type":398,"value":1543},"30000",{"type":393,"tag":427,"props":1545,"children":1546},{"style":439},[1547],{"type":398,"value":511},{"type":393,"tag":427,"props":1549,"children":1550},{"style":554},[1551],{"type":398,"value":1552},"35000",{"type":393,"tag":427,"props":1554,"children":1555},{"style":439},[1556],{"type":398,"value":511},{"type":393,"tag":427,"props":1558,"children":1559},{"style":554},[1560],{"type":398,"value":1543},{"type":393,"tag":427,"props":1562,"children":1563},{"style":439},[1564],{"type":398,"value":511},{"type":393,"tag":427,"props":1566,"children":1567},{"style":554},[1568],{"type":398,"value":1569},"45000",{"type":393,"tag":427,"props":1571,"children":1572},{"style":439},[1573],{"type":398,"value":685},{"type":393,"tag":427,"props":1575,"children":1576},{"class":429,"line":92},[1577],{"type":393,"tag":427,"props":1578,"children":1579},{"style":439},[1580],{"type":398,"value":693},{"type":393,"tag":427,"props":1582,"children":1583},{"class":429,"line":101},[1584],{"type":393,"tag":427,"props":1585,"children":1586},{"emptyLinePlaceholder":12},[1587],{"type":398,"value":460},{"type":393,"tag":427,"props":1589,"children":1590},{"class":429,"line":110},[1591,1595,1599,1604],{"type":393,"tag":427,"props":1592,"children":1593},{"style":554},[1594],{"type":398,"value":708},{"type":393,"tag":427,"props":1596,"children":1597},{"style":439},[1598],{"type":398,"value":713},{"type":393,"tag":427,"props":1600,"children":1601},{"style":493},[1602],{"type":398,"value":1603},"\"Quarterly report:\"",{"type":393,"tag":427,"props":1605,"children":1606},{"style":439},[1607],{"type":398,"value":723},{"type":393,"tag":427,"props":1609,"children":1610},{"class":429,"line":121},[1611,1615],{"type":393,"tag":427,"props":1612,"children":1613},{"style":554},[1614],{"type":398,"value":708},{"type":393,"tag":427,"props":1616,"children":1617},{"style":439},[1618],{"type":398,"value":1619},"(quarterly_report)\n",{"type":393,"tag":427,"props":1621,"children":1622},{"class":429,"line":130},[1623,1627],{"type":393,"tag":427,"props":1624,"children":1625},{"style":554},[1626],{"type":398,"value":708},{"type":393,"tag":427,"props":1628,"children":1629},{"style":439},[1630],{"type":398,"value":747},{"type":393,"tag":427,"props":1632,"children":1633},{"class":429,"line":139},[1634],{"type":393,"tag":427,"props":1635,"children":1636},{"emptyLinePlaceholder":12},[1637],{"type":398,"value":460},{"type":393,"tag":427,"props":1639,"children":1640},{"class":429,"line":148},[1641],{"type":393,"tag":427,"props":1642,"children":1643},{"style":466},[1644],{"type":398,"value":1645},"# Calculate profit margin\n",{"type":393,"tag":427,"props":1647,"children":1648},{"class":429,"line":159},[1649,1654,1659,1664,1668],{"type":393,"tag":427,"props":1650,"children":1651},{"style":439},[1652],{"type":398,"value":1653},"quarterly_report[",{"type":393,"tag":427,"props":1655,"children":1656},{"style":493},[1657],{"type":398,"value":1658},"'profit_margin'",{"type":393,"tag":427,"props":1660,"children":1661},{"style":439},[1662],{"type":398,"value":1663},"] ",{"type":393,"tag":427,"props":1665,"children":1666},{"style":433},[1667],{"type":398,"value":482},{"type":393,"tag":427,"props":1669,"children":1670},{"style":439},[1671],{"type":398,"value":1672}," (\n",{"type":393,"tag":427,"props":1674,"children":1675},{"class":429,"line":168},[1676,1681,1686,1690,1695,1700,1705,1709,1714],{"type":393,"tag":427,"props":1677,"children":1678},{"style":439},[1679],{"type":398,"value":1680},"    quarterly_report[",{"type":393,"tag":427,"props":1682,"children":1683},{"style":493},[1684],{"type":398,"value":1685},"'profit'",{"type":393,"tag":427,"props":1687,"children":1688},{"style":439},[1689],{"type":398,"value":1663},{"type":393,"tag":427,"props":1691,"children":1692},{"style":433},[1693],{"type":398,"value":1694},"/",{"type":393,"tag":427,"props":1696,"children":1697},{"style":439},[1698],{"type":398,"value":1699}," quarterly_report[",{"type":393,"tag":427,"props":1701,"children":1702},{"style":493},[1703],{"type":398,"value":1704},"'revenue'",{"type":393,"tag":427,"props":1706,"children":1707},{"style":439},[1708],{"type":398,"value":1663},{"type":393,"tag":427,"props":1710,"children":1711},{"style":433},[1712],{"type":398,"value":1713},"*",{"type":393,"tag":427,"props":1715,"children":1716},{"style":554},[1717],{"type":398,"value":1718}," 100\n",{"type":393,"tag":427,"props":1720,"children":1721},{"class":429,"line":177},[1722,1727,1732],{"type":393,"tag":427,"props":1723,"children":1724},{"style":439},[1725],{"type":398,"value":1726},").round(",{"type":393,"tag":427,"props":1728,"children":1729},{"style":554},[1730],{"type":398,"value":1731},"1",{"type":393,"tag":427,"props":1733,"children":1734},{"style":439},[1735],{"type":398,"value":723},{"type":393,"tag":427,"props":1737,"children":1738},{"class":429,"line":186},[1739],{"type":393,"tag":427,"props":1740,"children":1741},{"emptyLinePlaceholder":12},[1742],{"type":398,"value":460},{"type":393,"tag":427,"props":1744,"children":1745},{"class":429,"line":197},[1746,1750,1754,1759],{"type":393,"tag":427,"props":1747,"children":1748},{"style":554},[1749],{"type":398,"value":708},{"type":393,"tag":427,"props":1751,"children":1752},{"style":439},[1753],{"type":398,"value":713},{"type":393,"tag":427,"props":1755,"children":1756},{"style":493},[1757],{"type":398,"value":1758},"\"With calculated profit margin:\"",{"type":393,"tag":427,"props":1760,"children":1761},{"style":439},[1762],{"type":398,"value":723},{"type":393,"tag":427,"props":1764,"children":1765},{"class":429,"line":206},[1766,1770],{"type":393,"tag":427,"props":1767,"children":1768},{"style":554},[1769],{"type":398,"value":708},{"type":393,"tag":427,"props":1771,"children":1772},{"style":439},[1773],{"type":398,"value":1619},{"type":393,"tag":427,"props":1775,"children":1776},{"class":429,"line":215},[1777,1781],{"type":393,"tag":427,"props":1778,"children":1779},{"style":554},[1780],{"type":398,"value":708},{"type":393,"tag":427,"props":1782,"children":1783},{"style":439},[1784],{"type":398,"value":747},{"type":393,"tag":427,"props":1786,"children":1787},{"class":429,"line":224},[1788],{"type":393,"tag":427,"props":1789,"children":1790},{"emptyLinePlaceholder":12},[1791],{"type":398,"value":460},{"type":393,"tag":427,"props":1793,"children":1794},{"class":429,"line":233},[1795],{"type":393,"tag":427,"props":1796,"children":1797},{"style":466},[1798],{"type":398,"value":1799},"# Save in multiple formats\n",{"type":393,"tag":427,"props":1801,"children":1802},{"class":429,"line":244},[1803,1808,1813,1817,1821,1825,1829],{"type":393,"tag":427,"props":1804,"children":1805},{"style":439},[1806],{"type":398,"value":1807},"quarterly_report.to_csv(",{"type":393,"tag":427,"props":1809,"children":1810},{"style":493},[1811],{"type":398,"value":1812},"'quarterly_report.csv'",{"type":393,"tag":427,"props":1814,"children":1815},{"style":439},[1816],{"type":398,"value":511},{"type":393,"tag":427,"props":1818,"children":1819},{"style":782},[1820],{"type":398,"value":785},{"type":393,"tag":427,"props":1822,"children":1823},{"style":433},[1824],{"type":398,"value":482},{"type":393,"tag":427,"props":1826,"children":1827},{"style":554},[1828],{"type":398,"value":794},{"type":393,"tag":427,"props":1830,"children":1831},{"style":439},[1832],{"type":398,"value":723},{"type":393,"tag":427,"props":1834,"children":1835},{"class":429,"line":253},[1836,1841,1846,1850,1854,1858,1862,1866,1871,1875,1880],{"type":393,"tag":427,"props":1837,"children":1838},{"style":439},[1839],{"type":398,"value":1840},"quarterly_report.to_excel(",{"type":393,"tag":427,"props":1842,"children":1843},{"style":493},[1844],{"type":398,"value":1845},"'quarterly_report.xlsx'",{"type":393,"tag":427,"props":1847,"children":1848},{"style":439},[1849],{"type":398,"value":511},{"type":393,"tag":427,"props":1851,"children":1852},{"style":782},[1853],{"type":398,"value":785},{"type":393,"tag":427,"props":1855,"children":1856},{"style":433},[1857],{"type":398,"value":482},{"type":393,"tag":427,"props":1859,"children":1860},{"style":554},[1861],{"type":398,"value":794},{"type":393,"tag":427,"props":1863,"children":1864},{"style":439},[1865],{"type":398,"value":511},{"type":393,"tag":427,"props":1867,"children":1868},{"style":782},[1869],{"type":398,"value":1870},"sheet_name",{"type":393,"tag":427,"props":1872,"children":1873},{"style":433},[1874],{"type":398,"value":482},{"type":393,"tag":427,"props":1876,"children":1877},{"style":493},[1878],{"type":398,"value":1879},"'Summary'",{"type":393,"tag":427,"props":1881,"children":1882},{"style":439},[1883],{"type":398,"value":723},{"type":393,"tag":427,"props":1885,"children":1886},{"class":429,"line":262},[1887,1892,1897,1901,1906,1910,1915,1919,1924,1928,1933],{"type":393,"tag":427,"props":1888,"children":1889},{"style":439},[1890],{"type":398,"value":1891},"quarterly_report.to_json(",{"type":393,"tag":427,"props":1893,"children":1894},{"style":493},[1895],{"type":398,"value":1896},"'quarterly_report.json'",{"type":393,"tag":427,"props":1898,"children":1899},{"style":439},[1900],{"type":398,"value":511},{"type":393,"tag":427,"props":1902,"children":1903},{"style":782},[1904],{"type":398,"value":1905},"orient",{"type":393,"tag":427,"props":1907,"children":1908},{"style":433},[1909],{"type":398,"value":482},{"type":393,"tag":427,"props":1911,"children":1912},{"style":493},[1913],{"type":398,"value":1914},"'records'",{"type":393,"tag":427,"props":1916,"children":1917},{"style":439},[1918],{"type":398,"value":511},{"type":393,"tag":427,"props":1920,"children":1921},{"style":782},[1922],{"type":398,"value":1923},"indent",{"type":393,"tag":427,"props":1925,"children":1926},{"style":433},[1927],{"type":398,"value":482},{"type":393,"tag":427,"props":1929,"children":1930},{"style":554},[1931],{"type":398,"value":1932},"2",{"type":393,"tag":427,"props":1934,"children":1935},{"style":439},[1936],{"type":398,"value":723},{"type":393,"tag":427,"props":1938,"children":1939},{"class":429,"line":271},[1940],{"type":393,"tag":427,"props":1941,"children":1942},{"emptyLinePlaceholder":12},[1943],{"type":398,"value":460},{"type":393,"tag":427,"props":1945,"children":1946},{"class":429,"line":281},[1947,1951,1955,1960],{"type":393,"tag":427,"props":1948,"children":1949},{"style":554},[1950],{"type":398,"value":708},{"type":393,"tag":427,"props":1952,"children":1953},{"style":439},[1954],{"type":398,"value":713},{"type":393,"tag":427,"props":1956,"children":1957},{"style":493},[1958],{"type":398,"value":1959},"\"✅ Exported to:\"",{"type":393,"tag":427,"props":1961,"children":1962},{"style":439},[1963],{"type":398,"value":723},{"type":393,"tag":427,"props":1965,"children":1966},{"class":429,"line":290},[1967,1971,1975,1980],{"type":393,"tag":427,"props":1968,"children":1969},{"style":554},[1970],{"type":398,"value":708},{"type":393,"tag":427,"props":1972,"children":1973},{"style":439},[1974],{"type":398,"value":713},{"type":393,"tag":427,"props":1976,"children":1977},{"style":493},[1978],{"type":398,"value":1979},"\"  - CSV: quarterly_report.csv\"",{"type":393,"tag":427,"props":1981,"children":1982},{"style":439},[1983],{"type":398,"value":723},{"type":393,"tag":427,"props":1985,"children":1986},{"class":429,"line":299},[1987,1991,1995,2000],{"type":393,"tag":427,"props":1988,"children":1989},{"style":554},[1990],{"type":398,"value":708},{"type":393,"tag":427,"props":1992,"children":1993},{"style":439},[1994],{"type":398,"value":713},{"type":393,"tag":427,"props":1996,"children":1997},{"style":493},[1998],{"type":398,"value":1999},"\"  - Excel: quarterly_report.xlsx\"",{"type":393,"tag":427,"props":2001,"children":2002},{"style":439},[2003],{"type":398,"value":723},{"type":393,"tag":427,"props":2005,"children":2006},{"class":429,"line":308},[2007,2011,2015,2020],{"type":393,"tag":427,"props":2008,"children":2009},{"style":554},[2010],{"type":398,"value":708},{"type":393,"tag":427,"props":2012,"children":2013},{"style":439},[2014],{"type":398,"value":713},{"type":393,"tag":427,"props":2016,"children":2017},{"style":493},[2018],{"type":398,"value":2019},"\"  - JSON: quarterly_report.json\"",{"type":393,"tag":427,"props":2021,"children":2022},{"style":439},[2023],{"type":398,"value":723},{"type":393,"tag":2025,"props":2026,"children":2028},"h3",{"id":2027},"excel-with-multiple-sheets",[2029],{"type":398,"value":2030},"Excel with Multiple Sheets",{"type":393,"tag":412,"props":2032,"children":2033},{},[2034],{"type":393,"tag":416,"props":2035,"children":2037},{"className":418,"code":2036,"language":420,"meta":6,"style":6},"import pandas as pd\n\n# Create multiple related datasets\nsummary = pd.DataFrame({\n    'metric': ['Total Revenue', 'Total Customers', 'Avg Order Value'],\n    'value': [590000, 1972, 299.19]\n})\n\nby_region = pd.DataFrame({\n    'region': ['North', 'South', 'East', 'West'],\n    'revenue': [150000, 120000, 180000, 140000]\n})\n\nby_month = pd.DataFrame({\n    'month': ['Jan', 'Feb', 'Mar', 'Apr'],\n    'revenue': [145000, 155000, 140000, 150000]\n})\n\nprint(\"Summary data:\")\nprint(summary)\nprint(\"\\nRegion data:\")\nprint(by_region)\nprint(\"\\nMonth data:\")\nprint(by_month)\n\n# Save multiple sheets to one Excel file\nwith pd.ExcelWriter('complete_report.xlsx') as writer:\n    summary.to_excel(writer, sheet_name='Summary', index=False)\n    by_region.to_excel(writer, sheet_name='By_Region', index=False)\n    by_month.to_excel(writer, sheet_name='By_Month', index=False)\n\nprint(\"\\n✅ Saved multi-sheet Excel: complete_report.xlsx\")\n",[2038],{"type":393,"tag":423,"props":2039,"children":2040},{"__ignoreMap":6},[2041,2060,2067,2075,2091,2130,2169,2176,2183,2199,2242,2285,2292,2299,2315,2363,2407,2414,2421,2441,2453,2481,2493,2521,2533,2540,2548,2580,2620,2661,2702,2709],{"type":393,"tag":427,"props":2042,"children":2043},{"class":429,"line":11},[2044,2048,2052,2056],{"type":393,"tag":427,"props":2045,"children":2046},{"style":433},[2047],{"type":398,"value":436},{"type":393,"tag":427,"props":2049,"children":2050},{"style":439},[2051],{"type":398,"value":442},{"type":393,"tag":427,"props":2053,"children":2054},{"style":433},[2055],{"type":398,"value":447},{"type":393,"tag":427,"props":2057,"children":2058},{"style":439},[2059],{"type":398,"value":452},{"type":393,"tag":427,"props":2061,"children":2062},{"class":429,"line":27},[2063],{"type":393,"tag":427,"props":2064,"children":2065},{"emptyLinePlaceholder":12},[2066],{"type":398,"value":460},{"type":393,"tag":427,"props":2068,"children":2069},{"class":429,"line":36},[2070],{"type":393,"tag":427,"props":2071,"children":2072},{"style":466},[2073],{"type":398,"value":2074},"# Create multiple related datasets\n",{"type":393,"tag":427,"props":2076,"children":2077},{"class":429,"line":45},[2078,2083,2087],{"type":393,"tag":427,"props":2079,"children":2080},{"style":439},[2081],{"type":398,"value":2082},"summary ",{"type":393,"tag":427,"props":2084,"children":2085},{"style":433},[2086],{"type":398,"value":482},{"type":393,"tag":427,"props":2088,"children":2089},{"style":439},[2090],{"type":398,"value":487},{"type":393,"tag":427,"props":2092,"children":2093},{"class":429,"line":54},[2094,2099,2103,2108,2112,2117,2121,2126],{"type":393,"tag":427,"props":2095,"children":2096},{"style":493},[2097],{"type":398,"value":2098},"    'metric'",{"type":393,"tag":427,"props":2100,"children":2101},{"style":439},[2102],{"type":398,"value":501},{"type":393,"tag":427,"props":2104,"children":2105},{"style":493},[2106],{"type":398,"value":2107},"'Total Revenue'",{"type":393,"tag":427,"props":2109,"children":2110},{"style":439},[2111],{"type":398,"value":511},{"type":393,"tag":427,"props":2113,"children":2114},{"style":493},[2115],{"type":398,"value":2116},"'Total Customers'",{"type":393,"tag":427,"props":2118,"children":2119},{"style":439},[2120],{"type":398,"value":511},{"type":393,"tag":427,"props":2122,"children":2123},{"style":493},[2124],{"type":398,"value":2125},"'Avg Order Value'",{"type":393,"tag":427,"props":2127,"children":2128},{"style":439},[2129],{"type":398,"value":539},{"type":393,"tag":427,"props":2131,"children":2132},{"class":429,"line":63},[2133,2138,2142,2147,2151,2156,2160,2165],{"type":393,"tag":427,"props":2134,"children":2135},{"style":493},[2136],{"type":398,"value":2137},"    'value'",{"type":393,"tag":427,"props":2139,"children":2140},{"style":439},[2141],{"type":398,"value":501},{"type":393,"tag":427,"props":2143,"children":2144},{"style":554},[2145],{"type":398,"value":2146},"590000",{"type":393,"tag":427,"props":2148,"children":2149},{"style":439},[2150],{"type":398,"value":511},{"type":393,"tag":427,"props":2152,"children":2153},{"style":554},[2154],{"type":398,"value":2155},"1972",{"type":393,"tag":427,"props":2157,"children":2158},{"style":439},[2159],{"type":398,"value":511},{"type":393,"tag":427,"props":2161,"children":2162},{"style":554},[2163],{"type":398,"value":2164},"299.19",{"type":393,"tag":427,"props":2166,"children":2167},{"style":439},[2168],{"type":398,"value":685},{"type":393,"tag":427,"props":2170,"children":2171},{"class":429,"line":72},[2172],{"type":393,"tag":427,"props":2173,"children":2174},{"style":439},[2175],{"type":398,"value":693},{"type":393,"tag":427,"props":2177,"children":2178},{"class":429,"line":83},[2179],{"type":393,"tag":427,"props":2180,"children":2181},{"emptyLinePlaceholder":12},[2182],{"type":398,"value":460},{"type":393,"tag":427,"props":2184,"children":2185},{"class":429,"line":92},[2186,2191,2195],{"type":393,"tag":427,"props":2187,"children":2188},{"style":439},[2189],{"type":398,"value":2190},"by_region ",{"type":393,"tag":427,"props":2192,"children":2193},{"style":433},[2194],{"type":398,"value":482},{"type":393,"tag":427,"props":2196,"children":2197},{"style":439},[2198],{"type":398,"value":487},{"type":393,"tag":427,"props":2200,"children":2201},{"class":429,"line":101},[2202,2206,2210,2214,2218,2222,2226,2230,2234,2238],{"type":393,"tag":427,"props":2203,"children":2204},{"style":493},[2205],{"type":398,"value":496},{"type":393,"tag":427,"props":2207,"children":2208},{"style":439},[2209],{"type":398,"value":501},{"type":393,"tag":427,"props":2211,"children":2212},{"style":493},[2213],{"type":398,"value":506},{"type":393,"tag":427,"props":2215,"children":2216},{"style":439},[2217],{"type":398,"value":511},{"type":393,"tag":427,"props":2219,"children":2220},{"style":493},[2221],{"type":398,"value":516},{"type":393,"tag":427,"props":2223,"children":2224},{"style":439},[2225],{"type":398,"value":511},{"type":393,"tag":427,"props":2227,"children":2228},{"style":493},[2229],{"type":398,"value":525},{"type":393,"tag":427,"props":2231,"children":2232},{"style":439},[2233],{"type":398,"value":511},{"type":393,"tag":427,"props":2235,"children":2236},{"style":493},[2237],{"type":398,"value":534},{"type":393,"tag":427,"props":2239,"children":2240},{"style":439},[2241],{"type":398,"value":539},{"type":393,"tag":427,"props":2243,"children":2244},{"class":429,"line":110},[2245,2249,2253,2257,2261,2265,2269,2273,2277,2281],{"type":393,"tag":427,"props":2246,"children":2247},{"style":493},[2248],{"type":398,"value":1439},{"type":393,"tag":427,"props":2250,"children":2251},{"style":439},[2252],{"type":398,"value":501},{"type":393,"tag":427,"props":2254,"children":2255},{"style":554},[2256],{"type":398,"value":557},{"type":393,"tag":427,"props":2258,"children":2259},{"style":439},[2260],{"type":398,"value":511},{"type":393,"tag":427,"props":2262,"children":2263},{"style":554},[2264],{"type":398,"value":566},{"type":393,"tag":427,"props":2266,"children":2267},{"style":439},[2268],{"type":398,"value":511},{"type":393,"tag":427,"props":2270,"children":2271},{"style":554},[2272],{"type":398,"value":575},{"type":393,"tag":427,"props":2274,"children":2275},{"style":439},[2276],{"type":398,"value":511},{"type":393,"tag":427,"props":2278,"children":2279},{"style":554},[2280],{"type":398,"value":584},{"type":393,"tag":427,"props":2282,"children":2283},{"style":439},[2284],{"type":398,"value":685},{"type":393,"tag":427,"props":2286,"children":2287},{"class":429,"line":121},[2288],{"type":393,"tag":427,"props":2289,"children":2290},{"style":439},[2291],{"type":398,"value":693},{"type":393,"tag":427,"props":2293,"children":2294},{"class":429,"line":130},[2295],{"type":393,"tag":427,"props":2296,"children":2297},{"emptyLinePlaceholder":12},[2298],{"type":398,"value":460},{"type":393,"tag":427,"props":2300,"children":2301},{"class":429,"line":139},[2302,2307,2311],{"type":393,"tag":427,"props":2303,"children":2304},{"style":439},[2305],{"type":398,"value":2306},"by_month ",{"type":393,"tag":427,"props":2308,"children":2309},{"style":433},[2310],{"type":398,"value":482},{"type":393,"tag":427,"props":2312,"children":2313},{"style":439},[2314],{"type":398,"value":487},{"type":393,"tag":427,"props":2316,"children":2317},{"class":429,"line":148},[2318,2323,2327,2332,2336,2341,2345,2350,2354,2359],{"type":393,"tag":427,"props":2319,"children":2320},{"style":493},[2321],{"type":398,"value":2322},"    'month'",{"type":393,"tag":427,"props":2324,"children":2325},{"style":439},[2326],{"type":398,"value":501},{"type":393,"tag":427,"props":2328,"children":2329},{"style":493},[2330],{"type":398,"value":2331},"'Jan'",{"type":393,"tag":427,"props":2333,"children":2334},{"style":439},[2335],{"type":398,"value":511},{"type":393,"tag":427,"props":2337,"children":2338},{"style":493},[2339],{"type":398,"value":2340},"'Feb'",{"type":393,"tag":427,"props":2342,"children":2343},{"style":439},[2344],{"type":398,"value":511},{"type":393,"tag":427,"props":2346,"children":2347},{"style":493},[2348],{"type":398,"value":2349},"'Mar'",{"type":393,"tag":427,"props":2351,"children":2352},{"style":439},[2353],{"type":398,"value":511},{"type":393,"tag":427,"props":2355,"children":2356},{"style":493},[2357],{"type":398,"value":2358},"'Apr'",{"type":393,"tag":427,"props":2360,"children":2361},{"style":439},[2362],{"type":398,"value":539},{"type":393,"tag":427,"props":2364,"children":2365},{"class":429,"line":159},[2366,2370,2374,2378,2382,2387,2391,2395,2399,2403],{"type":393,"tag":427,"props":2367,"children":2368},{"style":493},[2369],{"type":398,"value":1439},{"type":393,"tag":427,"props":2371,"children":2372},{"style":439},[2373],{"type":398,"value":501},{"type":393,"tag":427,"props":2375,"children":2376},{"style":554},[2377],{"type":398,"value":1457},{"type":393,"tag":427,"props":2379,"children":2380},{"style":439},[2381],{"type":398,"value":511},{"type":393,"tag":427,"props":2383,"children":2384},{"style":554},[2385],{"type":398,"value":2386},"155000",{"type":393,"tag":427,"props":2388,"children":2389},{"style":439},[2390],{"type":398,"value":511},{"type":393,"tag":427,"props":2392,"children":2393},{"style":554},[2394],{"type":398,"value":584},{"type":393,"tag":427,"props":2396,"children":2397},{"style":439},[2398],{"type":398,"value":511},{"type":393,"tag":427,"props":2400,"children":2401},{"style":554},[2402],{"type":398,"value":557},{"type":393,"tag":427,"props":2404,"children":2405},{"style":439},[2406],{"type":398,"value":685},{"type":393,"tag":427,"props":2408,"children":2409},{"class":429,"line":168},[2410],{"type":393,"tag":427,"props":2411,"children":2412},{"style":439},[2413],{"type":398,"value":693},{"type":393,"tag":427,"props":2415,"children":2416},{"class":429,"line":177},[2417],{"type":393,"tag":427,"props":2418,"children":2419},{"emptyLinePlaceholder":12},[2420],{"type":398,"value":460},{"type":393,"tag":427,"props":2422,"children":2423},{"class":429,"line":186},[2424,2428,2432,2437],{"type":393,"tag":427,"props":2425,"children":2426},{"style":554},[2427],{"type":398,"value":708},{"type":393,"tag":427,"props":2429,"children":2430},{"style":439},[2431],{"type":398,"value":713},{"type":393,"tag":427,"props":2433,"children":2434},{"style":493},[2435],{"type":398,"value":2436},"\"Summary data:\"",{"type":393,"tag":427,"props":2438,"children":2439},{"style":439},[2440],{"type":398,"value":723},{"type":393,"tag":427,"props":2442,"children":2443},{"class":429,"line":197},[2444,2448],{"type":393,"tag":427,"props":2445,"children":2446},{"style":554},[2447],{"type":398,"value":708},{"type":393,"tag":427,"props":2449,"children":2450},{"style":439},[2451],{"type":398,"value":2452},"(summary)\n",{"type":393,"tag":427,"props":2454,"children":2455},{"class":429,"line":206},[2456,2460,2464,2468,2472,2477],{"type":393,"tag":427,"props":2457,"children":2458},{"style":554},[2459],{"type":398,"value":708},{"type":393,"tag":427,"props":2461,"children":2462},{"style":439},[2463],{"type":398,"value":713},{"type":393,"tag":427,"props":2465,"children":2466},{"style":493},[2467],{"type":398,"value":942},{"type":393,"tag":427,"props":2469,"children":2470},{"style":554},[2471],{"type":398,"value":947},{"type":393,"tag":427,"props":2473,"children":2474},{"style":493},[2475],{"type":398,"value":2476},"Region data:\"",{"type":393,"tag":427,"props":2478,"children":2479},{"style":439},[2480],{"type":398,"value":723},{"type":393,"tag":427,"props":2482,"children":2483},{"class":429,"line":215},[2484,2488],{"type":393,"tag":427,"props":2485,"children":2486},{"style":554},[2487],{"type":398,"value":708},{"type":393,"tag":427,"props":2489,"children":2490},{"style":439},[2491],{"type":398,"value":2492},"(by_region)\n",{"type":393,"tag":427,"props":2494,"children":2495},{"class":429,"line":224},[2496,2500,2504,2508,2512,2517],{"type":393,"tag":427,"props":2497,"children":2498},{"style":554},[2499],{"type":398,"value":708},{"type":393,"tag":427,"props":2501,"children":2502},{"style":439},[2503],{"type":398,"value":713},{"type":393,"tag":427,"props":2505,"children":2506},{"style":493},[2507],{"type":398,"value":942},{"type":393,"tag":427,"props":2509,"children":2510},{"style":554},[2511],{"type":398,"value":947},{"type":393,"tag":427,"props":2513,"children":2514},{"style":493},[2515],{"type":398,"value":2516},"Month data:\"",{"type":393,"tag":427,"props":2518,"children":2519},{"style":439},[2520],{"type":398,"value":723},{"type":393,"tag":427,"props":2522,"children":2523},{"class":429,"line":233},[2524,2528],{"type":393,"tag":427,"props":2525,"children":2526},{"style":554},[2527],{"type":398,"value":708},{"type":393,"tag":427,"props":2529,"children":2530},{"style":439},[2531],{"type":398,"value":2532},"(by_month)\n",{"type":393,"tag":427,"props":2534,"children":2535},{"class":429,"line":244},[2536],{"type":393,"tag":427,"props":2537,"children":2538},{"emptyLinePlaceholder":12},[2539],{"type":398,"value":460},{"type":393,"tag":427,"props":2541,"children":2542},{"class":429,"line":253},[2543],{"type":393,"tag":427,"props":2544,"children":2545},{"style":466},[2546],{"type":398,"value":2547},"# Save multiple sheets to one Excel file\n",{"type":393,"tag":427,"props":2549,"children":2550},{"class":429,"line":262},[2551,2556,2561,2566,2571,2575],{"type":393,"tag":427,"props":2552,"children":2553},{"style":433},[2554],{"type":398,"value":2555},"with",{"type":393,"tag":427,"props":2557,"children":2558},{"style":439},[2559],{"type":398,"value":2560}," pd.ExcelWriter(",{"type":393,"tag":427,"props":2562,"children":2563},{"style":493},[2564],{"type":398,"value":2565},"'complete_report.xlsx'",{"type":393,"tag":427,"props":2567,"children":2568},{"style":439},[2569],{"type":398,"value":2570},") ",{"type":393,"tag":427,"props":2572,"children":2573},{"style":433},[2574],{"type":398,"value":447},{"type":393,"tag":427,"props":2576,"children":2577},{"style":439},[2578],{"type":398,"value":2579}," writer:\n",{"type":393,"tag":427,"props":2581,"children":2582},{"class":429,"line":271},[2583,2588,2592,2596,2600,2604,2608,2612,2616],{"type":393,"tag":427,"props":2584,"children":2585},{"style":439},[2586],{"type":398,"value":2587},"    summary.to_excel(writer, ",{"type":393,"tag":427,"props":2589,"children":2590},{"style":782},[2591],{"type":398,"value":1870},{"type":393,"tag":427,"props":2593,"children":2594},{"style":433},[2595],{"type":398,"value":482},{"type":393,"tag":427,"props":2597,"children":2598},{"style":493},[2599],{"type":398,"value":1879},{"type":393,"tag":427,"props":2601,"children":2602},{"style":439},[2603],{"type":398,"value":511},{"type":393,"tag":427,"props":2605,"children":2606},{"style":782},[2607],{"type":398,"value":785},{"type":393,"tag":427,"props":2609,"children":2610},{"style":433},[2611],{"type":398,"value":482},{"type":393,"tag":427,"props":2613,"children":2614},{"style":554},[2615],{"type":398,"value":794},{"type":393,"tag":427,"props":2617,"children":2618},{"style":439},[2619],{"type":398,"value":723},{"type":393,"tag":427,"props":2621,"children":2622},{"class":429,"line":281},[2623,2628,2632,2636,2641,2645,2649,2653,2657],{"type":393,"tag":427,"props":2624,"children":2625},{"style":439},[2626],{"type":398,"value":2627},"    by_region.to_excel(writer, ",{"type":393,"tag":427,"props":2629,"children":2630},{"style":782},[2631],{"type":398,"value":1870},{"type":393,"tag":427,"props":2633,"children":2634},{"style":433},[2635],{"type":398,"value":482},{"type":393,"tag":427,"props":2637,"children":2638},{"style":493},[2639],{"type":398,"value":2640},"'By_Region'",{"type":393,"tag":427,"props":2642,"children":2643},{"style":439},[2644],{"type":398,"value":511},{"type":393,"tag":427,"props":2646,"children":2647},{"style":782},[2648],{"type":398,"value":785},{"type":393,"tag":427,"props":2650,"children":2651},{"style":433},[2652],{"type":398,"value":482},{"type":393,"tag":427,"props":2654,"children":2655},{"style":554},[2656],{"type":398,"value":794},{"type":393,"tag":427,"props":2658,"children":2659},{"style":439},[2660],{"type":398,"value":723},{"type":393,"tag":427,"props":2662,"children":2663},{"class":429,"line":290},[2664,2669,2673,2677,2682,2686,2690,2694,2698],{"type":393,"tag":427,"props":2665,"children":2666},{"style":439},[2667],{"type":398,"value":2668},"    by_month.to_excel(writer, ",{"type":393,"tag":427,"props":2670,"children":2671},{"style":782},[2672],{"type":398,"value":1870},{"type":393,"tag":427,"props":2674,"children":2675},{"style":433},[2676],{"type":398,"value":482},{"type":393,"tag":427,"props":2678,"children":2679},{"style":493},[2680],{"type":398,"value":2681},"'By_Month'",{"type":393,"tag":427,"props":2683,"children":2684},{"style":439},[2685],{"type":398,"value":511},{"type":393,"tag":427,"props":2687,"children":2688},{"style":782},[2689],{"type":398,"value":785},{"type":393,"tag":427,"props":2691,"children":2692},{"style":433},[2693],{"type":398,"value":482},{"type":393,"tag":427,"props":2695,"children":2696},{"style":554},[2697],{"type":398,"value":794},{"type":393,"tag":427,"props":2699,"children":2700},{"style":439},[2701],{"type":398,"value":723},{"type":393,"tag":427,"props":2703,"children":2704},{"class":429,"line":299},[2705],{"type":393,"tag":427,"props":2706,"children":2707},{"emptyLinePlaceholder":12},[2708],{"type":398,"value":460},{"type":393,"tag":427,"props":2710,"children":2711},{"class":429,"line":308},[2712,2716,2720,2724,2728,2733],{"type":393,"tag":427,"props":2713,"children":2714},{"style":554},[2715],{"type":398,"value":708},{"type":393,"tag":427,"props":2717,"children":2718},{"style":439},[2719],{"type":398,"value":713},{"type":393,"tag":427,"props":2721,"children":2722},{"style":493},[2723],{"type":398,"value":942},{"type":393,"tag":427,"props":2725,"children":2726},{"style":554},[2727],{"type":398,"value":947},{"type":393,"tag":427,"props":2729,"children":2730},{"style":493},[2731],{"type":398,"value":2732},"✅ Saved multi-sheet Excel: complete_report.xlsx\"",{"type":393,"tag":427,"props":2734,"children":2735},{"style":439},[2736],{"type":398,"value":723},{"type":393,"tag":970,"props":2738,"children":2740},{"id":2739},"export-best-practices",[2741],{"type":398,"value":2742},"🔧 Export Best Practices",{"type":393,"tag":401,"props":2744,"children":2745},{},[2746],{"type":398,"value":2747},"Essential practices for clean, professional exports:",{"type":393,"tag":982,"props":2749,"children":2753},{"emoji":2750,"title":2751,"type":2752},"🔧","Export Best Practices","warning",[2754,2762,2785,2793,2816,2824,2847,2855],{"type":393,"tag":401,"props":2755,"children":2756},{},[2757],{"type":393,"tag":992,"props":2758,"children":2759},{},[2760],{"type":398,"value":2761},"File Organization:",{"type":393,"tag":998,"props":2763,"children":2764},{},[2765,2770,2775,2780],{"type":393,"tag":1002,"props":2766,"children":2767},{},[2768],{"type":398,"value":2769},"Use clear, descriptive filenames",{"type":393,"tag":1002,"props":2771,"children":2772},{},[2773],{"type":398,"value":2774},"Include dates for time-sensitive reports",{"type":393,"tag":1002,"props":2776,"children":2777},{},[2778],{"type":398,"value":2779},"Organize in folders by project/department",{"type":393,"tag":1002,"props":2781,"children":2782},{},[2783],{"type":398,"value":2784},"Follow consistent naming conventions",{"type":393,"tag":401,"props":2786,"children":2787},{},[2788],{"type":393,"tag":992,"props":2789,"children":2790},{},[2791],{"type":398,"value":2792},"Data Quality:",{"type":393,"tag":998,"props":2794,"children":2795},{},[2796,2801,2806,2811],{"type":393,"tag":1002,"props":2797,"children":2798},{},[2799],{"type":398,"value":2800},"Remove or rename unclear column names",{"type":393,"tag":1002,"props":2802,"children":2803},{},[2804],{"type":398,"value":2805},"Handle missing values appropriately",{"type":393,"tag":1002,"props":2807,"children":2808},{},[2809],{"type":398,"value":2810},"Round numbers to appropriate precision",{"type":393,"tag":1002,"props":2812,"children":2813},{},[2814],{"type":398,"value":2815},"Include units in column names where relevant",{"type":393,"tag":401,"props":2817,"children":2818},{},[2819],{"type":393,"tag":992,"props":2820,"children":2821},{},[2822],{"type":398,"value":2823},"Documentation:",{"type":393,"tag":998,"props":2825,"children":2826},{},[2827,2832,2837,2842],{"type":393,"tag":1002,"props":2828,"children":2829},{},[2830],{"type":398,"value":2831},"Add comments explaining calculations",{"type":393,"tag":1002,"props":2833,"children":2834},{},[2835],{"type":398,"value":2836},"Include data source information",{"type":393,"tag":1002,"props":2838,"children":2839},{},[2840],{"type":398,"value":2841},"Document any filters or transformations applied",{"type":393,"tag":1002,"props":2843,"children":2844},{},[2845],{"type":398,"value":2846},"Provide contact information for questions",{"type":393,"tag":401,"props":2848,"children":2849},{},[2850],{"type":393,"tag":992,"props":2851,"children":2852},{},[2853],{"type":398,"value":2854},"Testing:",{"type":393,"tag":998,"props":2856,"children":2857},{},[2858,2863,2868,2873],{"type":393,"tag":1002,"props":2859,"children":2860},{},[2861],{"type":398,"value":2862},"Always test that exported files open correctly",{"type":393,"tag":1002,"props":2864,"children":2865},{},[2866],{"type":398,"value":2867},"Verify data integrity after export",{"type":393,"tag":1002,"props":2869,"children":2870},{},[2871],{"type":398,"value":2872},"Check formatting in target application",{"type":393,"tag":1002,"props":2874,"children":2875},{},[2876],{"type":398,"value":2877},"Confirm all necessary data is included",{"type":393,"tag":970,"props":2879,"children":2881},{"id":2880},"real-world-export-scenarios",[2882],{"type":398,"value":2883},"📈 Real-World Export Scenarios",{"type":393,"tag":401,"props":2885,"children":2886},{},[2887],{"type":398,"value":2888},"Common business export situations:",{"type":393,"tag":412,"props":2890,"children":2891},{},[2892],{"type":393,"tag":416,"props":2893,"children":2895},{"className":418,"code":2894,"language":420,"meta":6,"style":6},"import pandas as pd\n\n# Customer analysis results\ncustomer_analysis = pd.DataFrame({\n    'customer_segment': ['Premium', 'Standard', 'Basic'],\n    'customer_count': [245, 892, 1156],\n    'avg_lifetime_value': [2850.75, 1245.30, 485.20],\n    'churn_rate_percent': [5.2, 12.8, 18.7]\n})\n\n# Product performance\nproduct_performance = pd.DataFrame({\n    'product_category': ['Electronics', 'Books', 'Clothing', 'Home'],\n    'units_sold': [1250, 3400, 2100, 800],\n    'revenue': [245000, 85000, 126000, 95000],\n    'return_rate_percent': [3.2, 1.1, 8.5, 4.2]\n})\n\nprint(\"Customer analysis:\")\nprint(customer_analysis)\nprint(\"\\nProduct performance:\")\nprint(product_performance)\n\n# Create executive summary\nexecutive_summary = pd.DataFrame({\n    'key_metric': [\n        'Total Customers',\n        'Average Customer Value',\n        'Top Product Category',\n        'Overall Return Rate'\n    ],\n    'value': [\n        f\"{customer_analysis['customer_count'].sum():,}\",\n        f\"${customer_analysis['avg_lifetime_value'].mean():.2f}\",\n        product_performance.loc[product_performance['revenue'].idxmax(), 'product_category'],\n        f\"{(product_performance['return_rate_percent'].mean()):.1f}%\"\n    ]\n})\n\nprint(\"\\nExecutive summary:\")\nprint(executive_summary)\n\n# Export comprehensive report\nwith pd.ExcelWriter('business_analysis_report.xlsx') as writer:\n    executive_summary.to_excel(writer, sheet_name='Executive_Summary', index=False)\n    customer_analysis.to_excel(writer, sheet_name='Customer_Analysis', index=False)\n    product_performance.to_excel(writer, sheet_name='Product_Performance', index=False)\n\nprint(\"\\n✅ Complete business report saved to: business_analysis_report.xlsx\")\n",[2896],{"type":393,"tag":423,"props":2897,"children":2898},{"__ignoreMap":6},[2899,2918,2925,2933,2949,2988,3026,3065,3104,3111,3118,3126,3142,3190,3238,3284,3332,3339,3346,3366,3378,3406,3418,3425,3433,3449,3462,3475,3487,3499,3507,3515,3526,3576,3623,3649,3693,3701,3708,3715,3743,3756,3764,3773,3802,3844,3886,3928,3936],{"type":393,"tag":427,"props":2900,"children":2901},{"class":429,"line":11},[2902,2906,2910,2914],{"type":393,"tag":427,"props":2903,"children":2904},{"style":433},[2905],{"type":398,"value":436},{"type":393,"tag":427,"props":2907,"children":2908},{"style":439},[2909],{"type":398,"value":442},{"type":393,"tag":427,"props":2911,"children":2912},{"style":433},[2913],{"type":398,"value":447},{"type":393,"tag":427,"props":2915,"children":2916},{"style":439},[2917],{"type":398,"value":452},{"type":393,"tag":427,"props":2919,"children":2920},{"class":429,"line":27},[2921],{"type":393,"tag":427,"props":2922,"children":2923},{"emptyLinePlaceholder":12},[2924],{"type":398,"value":460},{"type":393,"tag":427,"props":2926,"children":2927},{"class":429,"line":36},[2928],{"type":393,"tag":427,"props":2929,"children":2930},{"style":466},[2931],{"type":398,"value":2932},"# Customer analysis results\n",{"type":393,"tag":427,"props":2934,"children":2935},{"class":429,"line":45},[2936,2941,2945],{"type":393,"tag":427,"props":2937,"children":2938},{"style":439},[2939],{"type":398,"value":2940},"customer_analysis ",{"type":393,"tag":427,"props":2942,"children":2943},{"style":433},[2944],{"type":398,"value":482},{"type":393,"tag":427,"props":2946,"children":2947},{"style":439},[2948],{"type":398,"value":487},{"type":393,"tag":427,"props":2950,"children":2951},{"class":429,"line":54},[2952,2957,2961,2966,2970,2975,2979,2984],{"type":393,"tag":427,"props":2953,"children":2954},{"style":493},[2955],{"type":398,"value":2956},"    'customer_segment'",{"type":393,"tag":427,"props":2958,"children":2959},{"style":439},[2960],{"type":398,"value":501},{"type":393,"tag":427,"props":2962,"children":2963},{"style":493},[2964],{"type":398,"value":2965},"'Premium'",{"type":393,"tag":427,"props":2967,"children":2968},{"style":439},[2969],{"type":398,"value":511},{"type":393,"tag":427,"props":2971,"children":2972},{"style":493},[2973],{"type":398,"value":2974},"'Standard'",{"type":393,"tag":427,"props":2976,"children":2977},{"style":439},[2978],{"type":398,"value":511},{"type":393,"tag":427,"props":2980,"children":2981},{"style":493},[2982],{"type":398,"value":2983},"'Basic'",{"type":393,"tag":427,"props":2985,"children":2986},{"style":439},[2987],{"type":398,"value":539},{"type":393,"tag":427,"props":2989,"children":2990},{"class":429,"line":63},[2991,2995,2999,3004,3008,3013,3017,3022],{"type":393,"tag":427,"props":2992,"children":2993},{"style":493},[2994],{"type":398,"value":644},{"type":393,"tag":427,"props":2996,"children":2997},{"style":439},[2998],{"type":398,"value":501},{"type":393,"tag":427,"props":3000,"children":3001},{"style":554},[3002],{"type":398,"value":3003},"245",{"type":393,"tag":427,"props":3005,"children":3006},{"style":439},[3007],{"type":398,"value":511},{"type":393,"tag":427,"props":3009,"children":3010},{"style":554},[3011],{"type":398,"value":3012},"892",{"type":393,"tag":427,"props":3014,"children":3015},{"style":439},[3016],{"type":398,"value":511},{"type":393,"tag":427,"props":3018,"children":3019},{"style":554},[3020],{"type":398,"value":3021},"1156",{"type":393,"tag":427,"props":3023,"children":3024},{"style":439},[3025],{"type":398,"value":539},{"type":393,"tag":427,"props":3027,"children":3028},{"class":429,"line":72},[3029,3034,3038,3043,3047,3052,3056,3061],{"type":393,"tag":427,"props":3030,"children":3031},{"style":493},[3032],{"type":398,"value":3033},"    'avg_lifetime_value'",{"type":393,"tag":427,"props":3035,"children":3036},{"style":439},[3037],{"type":398,"value":501},{"type":393,"tag":427,"props":3039,"children":3040},{"style":554},[3041],{"type":398,"value":3042},"2850.75",{"type":393,"tag":427,"props":3044,"children":3045},{"style":439},[3046],{"type":398,"value":511},{"type":393,"tag":427,"props":3048,"children":3049},{"style":554},[3050],{"type":398,"value":3051},"1245.30",{"type":393,"tag":427,"props":3053,"children":3054},{"style":439},[3055],{"type":398,"value":511},{"type":393,"tag":427,"props":3057,"children":3058},{"style":554},[3059],{"type":398,"value":3060},"485.20",{"type":393,"tag":427,"props":3062,"children":3063},{"style":439},[3064],{"type":398,"value":539},{"type":393,"tag":427,"props":3066,"children":3067},{"class":429,"line":83},[3068,3073,3077,3082,3086,3091,3095,3100],{"type":393,"tag":427,"props":3069,"children":3070},{"style":493},[3071],{"type":398,"value":3072},"    'churn_rate_percent'",{"type":393,"tag":427,"props":3074,"children":3075},{"style":439},[3076],{"type":398,"value":501},{"type":393,"tag":427,"props":3078,"children":3079},{"style":554},[3080],{"type":398,"value":3081},"5.2",{"type":393,"tag":427,"props":3083,"children":3084},{"style":439},[3085],{"type":398,"value":511},{"type":393,"tag":427,"props":3087,"children":3088},{"style":554},[3089],{"type":398,"value":3090},"12.8",{"type":393,"tag":427,"props":3092,"children":3093},{"style":439},[3094],{"type":398,"value":511},{"type":393,"tag":427,"props":3096,"children":3097},{"style":554},[3098],{"type":398,"value":3099},"18.7",{"type":393,"tag":427,"props":3101,"children":3102},{"style":439},[3103],{"type":398,"value":685},{"type":393,"tag":427,"props":3105,"children":3106},{"class":429,"line":92},[3107],{"type":393,"tag":427,"props":3108,"children":3109},{"style":439},[3110],{"type":398,"value":693},{"type":393,"tag":427,"props":3112,"children":3113},{"class":429,"line":101},[3114],{"type":393,"tag":427,"props":3115,"children":3116},{"emptyLinePlaceholder":12},[3117],{"type":398,"value":460},{"type":393,"tag":427,"props":3119,"children":3120},{"class":429,"line":110},[3121],{"type":393,"tag":427,"props":3122,"children":3123},{"style":466},[3124],{"type":398,"value":3125},"# Product performance\n",{"type":393,"tag":427,"props":3127,"children":3128},{"class":429,"line":121},[3129,3134,3138],{"type":393,"tag":427,"props":3130,"children":3131},{"style":439},[3132],{"type":398,"value":3133},"product_performance ",{"type":393,"tag":427,"props":3135,"children":3136},{"style":433},[3137],{"type":398,"value":482},{"type":393,"tag":427,"props":3139,"children":3140},{"style":439},[3141],{"type":398,"value":487},{"type":393,"tag":427,"props":3143,"children":3144},{"class":429,"line":130},[3145,3150,3154,3159,3163,3168,3172,3177,3181,3186],{"type":393,"tag":427,"props":3146,"children":3147},{"style":493},[3148],{"type":398,"value":3149},"    'product_category'",{"type":393,"tag":427,"props":3151,"children":3152},{"style":439},[3153],{"type":398,"value":501},{"type":393,"tag":427,"props":3155,"children":3156},{"style":493},[3157],{"type":398,"value":3158},"'Electronics'",{"type":393,"tag":427,"props":3160,"children":3161},{"style":439},[3162],{"type":398,"value":511},{"type":393,"tag":427,"props":3164,"children":3165},{"style":493},[3166],{"type":398,"value":3167},"'Books'",{"type":393,"tag":427,"props":3169,"children":3170},{"style":439},[3171],{"type":398,"value":511},{"type":393,"tag":427,"props":3173,"children":3174},{"style":493},[3175],{"type":398,"value":3176},"'Clothing'",{"type":393,"tag":427,"props":3178,"children":3179},{"style":439},[3180],{"type":398,"value":511},{"type":393,"tag":427,"props":3182,"children":3183},{"style":493},[3184],{"type":398,"value":3185},"'Home'",{"type":393,"tag":427,"props":3187,"children":3188},{"style":439},[3189],{"type":398,"value":539},{"type":393,"tag":427,"props":3191,"children":3192},{"class":429,"line":139},[3193,3198,3202,3207,3211,3216,3220,3225,3229,3234],{"type":393,"tag":427,"props":3194,"children":3195},{"style":493},[3196],{"type":398,"value":3197},"    'units_sold'",{"type":393,"tag":427,"props":3199,"children":3200},{"style":439},[3201],{"type":398,"value":501},{"type":393,"tag":427,"props":3203,"children":3204},{"style":554},[3205],{"type":398,"value":3206},"1250",{"type":393,"tag":427,"props":3208,"children":3209},{"style":439},[3210],{"type":398,"value":511},{"type":393,"tag":427,"props":3212,"children":3213},{"style":554},[3214],{"type":398,"value":3215},"3400",{"type":393,"tag":427,"props":3217,"children":3218},{"style":439},[3219],{"type":398,"value":511},{"type":393,"tag":427,"props":3221,"children":3222},{"style":554},[3223],{"type":398,"value":3224},"2100",{"type":393,"tag":427,"props":3226,"children":3227},{"style":439},[3228],{"type":398,"value":511},{"type":393,"tag":427,"props":3230,"children":3231},{"style":554},[3232],{"type":398,"value":3233},"800",{"type":393,"tag":427,"props":3235,"children":3236},{"style":439},[3237],{"type":398,"value":539},{"type":393,"tag":427,"props":3239,"children":3240},{"class":429,"line":148},[3241,3245,3249,3254,3258,3263,3267,3272,3276,3280],{"type":393,"tag":427,"props":3242,"children":3243},{"style":493},[3244],{"type":398,"value":1439},{"type":393,"tag":427,"props":3246,"children":3247},{"style":439},[3248],{"type":398,"value":501},{"type":393,"tag":427,"props":3250,"children":3251},{"style":554},[3252],{"type":398,"value":3253},"245000",{"type":393,"tag":427,"props":3255,"children":3256},{"style":439},[3257],{"type":398,"value":511},{"type":393,"tag":427,"props":3259,"children":3260},{"style":554},[3261],{"type":398,"value":3262},"85000",{"type":393,"tag":427,"props":3264,"children":3265},{"style":439},[3266],{"type":398,"value":511},{"type":393,"tag":427,"props":3268,"children":3269},{"style":554},[3270],{"type":398,"value":3271},"126000",{"type":393,"tag":427,"props":3273,"children":3274},{"style":439},[3275],{"type":398,"value":511},{"type":393,"tag":427,"props":3277,"children":3278},{"style":554},[3279],{"type":398,"value":1496},{"type":393,"tag":427,"props":3281,"children":3282},{"style":439},[3283],{"type":398,"value":539},{"type":393,"tag":427,"props":3285,"children":3286},{"class":429,"line":159},[3287,3292,3296,3301,3305,3310,3314,3319,3323,3328],{"type":393,"tag":427,"props":3288,"children":3289},{"style":493},[3290],{"type":398,"value":3291},"    'return_rate_percent'",{"type":393,"tag":427,"props":3293,"children":3294},{"style":439},[3295],{"type":398,"value":501},{"type":393,"tag":427,"props":3297,"children":3298},{"style":554},[3299],{"type":398,"value":3300},"3.2",{"type":393,"tag":427,"props":3302,"children":3303},{"style":439},[3304],{"type":398,"value":511},{"type":393,"tag":427,"props":3306,"children":3307},{"style":554},[3308],{"type":398,"value":3309},"1.1",{"type":393,"tag":427,"props":3311,"children":3312},{"style":439},[3313],{"type":398,"value":511},{"type":393,"tag":427,"props":3315,"children":3316},{"style":554},[3317],{"type":398,"value":3318},"8.5",{"type":393,"tag":427,"props":3320,"children":3321},{"style":439},[3322],{"type":398,"value":511},{"type":393,"tag":427,"props":3324,"children":3325},{"style":554},[3326],{"type":398,"value":3327},"4.2",{"type":393,"tag":427,"props":3329,"children":3330},{"style":439},[3331],{"type":398,"value":685},{"type":393,"tag":427,"props":3333,"children":3334},{"class":429,"line":168},[3335],{"type":393,"tag":427,"props":3336,"children":3337},{"style":439},[3338],{"type":398,"value":693},{"type":393,"tag":427,"props":3340,"children":3341},{"class":429,"line":177},[3342],{"type":393,"tag":427,"props":3343,"children":3344},{"emptyLinePlaceholder":12},[3345],{"type":398,"value":460},{"type":393,"tag":427,"props":3347,"children":3348},{"class":429,"line":186},[3349,3353,3357,3362],{"type":393,"tag":427,"props":3350,"children":3351},{"style":554},[3352],{"type":398,"value":708},{"type":393,"tag":427,"props":3354,"children":3355},{"style":439},[3356],{"type":398,"value":713},{"type":393,"tag":427,"props":3358,"children":3359},{"style":493},[3360],{"type":398,"value":3361},"\"Customer analysis:\"",{"type":393,"tag":427,"props":3363,"children":3364},{"style":439},[3365],{"type":398,"value":723},{"type":393,"tag":427,"props":3367,"children":3368},{"class":429,"line":197},[3369,3373],{"type":393,"tag":427,"props":3370,"children":3371},{"style":554},[3372],{"type":398,"value":708},{"type":393,"tag":427,"props":3374,"children":3375},{"style":439},[3376],{"type":398,"value":3377},"(customer_analysis)\n",{"type":393,"tag":427,"props":3379,"children":3380},{"class":429,"line":206},[3381,3385,3389,3393,3397,3402],{"type":393,"tag":427,"props":3382,"children":3383},{"style":554},[3384],{"type":398,"value":708},{"type":393,"tag":427,"props":3386,"children":3387},{"style":439},[3388],{"type":398,"value":713},{"type":393,"tag":427,"props":3390,"children":3391},{"style":493},[3392],{"type":398,"value":942},{"type":393,"tag":427,"props":3394,"children":3395},{"style":554},[3396],{"type":398,"value":947},{"type":393,"tag":427,"props":3398,"children":3399},{"style":493},[3400],{"type":398,"value":3401},"Product performance:\"",{"type":393,"tag":427,"props":3403,"children":3404},{"style":439},[3405],{"type":398,"value":723},{"type":393,"tag":427,"props":3407,"children":3408},{"class":429,"line":215},[3409,3413],{"type":393,"tag":427,"props":3410,"children":3411},{"style":554},[3412],{"type":398,"value":708},{"type":393,"tag":427,"props":3414,"children":3415},{"style":439},[3416],{"type":398,"value":3417},"(product_performance)\n",{"type":393,"tag":427,"props":3419,"children":3420},{"class":429,"line":224},[3421],{"type":393,"tag":427,"props":3422,"children":3423},{"emptyLinePlaceholder":12},[3424],{"type":398,"value":460},{"type":393,"tag":427,"props":3426,"children":3427},{"class":429,"line":233},[3428],{"type":393,"tag":427,"props":3429,"children":3430},{"style":466},[3431],{"type":398,"value":3432},"# Create executive summary\n",{"type":393,"tag":427,"props":3434,"children":3435},{"class":429,"line":244},[3436,3441,3445],{"type":393,"tag":427,"props":3437,"children":3438},{"style":439},[3439],{"type":398,"value":3440},"executive_summary ",{"type":393,"tag":427,"props":3442,"children":3443},{"style":433},[3444],{"type":398,"value":482},{"type":393,"tag":427,"props":3446,"children":3447},{"style":439},[3448],{"type":398,"value":487},{"type":393,"tag":427,"props":3450,"children":3451},{"class":429,"line":253},[3452,3457],{"type":393,"tag":427,"props":3453,"children":3454},{"style":493},[3455],{"type":398,"value":3456},"    'key_metric'",{"type":393,"tag":427,"props":3458,"children":3459},{"style":439},[3460],{"type":398,"value":3461},": [\n",{"type":393,"tag":427,"props":3463,"children":3464},{"class":429,"line":262},[3465,3470],{"type":393,"tag":427,"props":3466,"children":3467},{"style":493},[3468],{"type":398,"value":3469},"        'Total Customers'",{"type":393,"tag":427,"props":3471,"children":3472},{"style":439},[3473],{"type":398,"value":3474},",\n",{"type":393,"tag":427,"props":3476,"children":3477},{"class":429,"line":271},[3478,3483],{"type":393,"tag":427,"props":3479,"children":3480},{"style":493},[3481],{"type":398,"value":3482},"        'Average Customer Value'",{"type":393,"tag":427,"props":3484,"children":3485},{"style":439},[3486],{"type":398,"value":3474},{"type":393,"tag":427,"props":3488,"children":3489},{"class":429,"line":281},[3490,3495],{"type":393,"tag":427,"props":3491,"children":3492},{"style":493},[3493],{"type":398,"value":3494},"        'Top Product Category'",{"type":393,"tag":427,"props":3496,"children":3497},{"style":439},[3498],{"type":398,"value":3474},{"type":393,"tag":427,"props":3500,"children":3501},{"class":429,"line":290},[3502],{"type":393,"tag":427,"props":3503,"children":3504},{"style":493},[3505],{"type":398,"value":3506},"        'Overall Return Rate'\n",{"type":393,"tag":427,"props":3508,"children":3509},{"class":429,"line":299},[3510],{"type":393,"tag":427,"props":3511,"children":3512},{"style":439},[3513],{"type":398,"value":3514},"    ],\n",{"type":393,"tag":427,"props":3516,"children":3517},{"class":429,"line":308},[3518,3522],{"type":393,"tag":427,"props":3519,"children":3520},{"style":493},[3521],{"type":398,"value":2137},{"type":393,"tag":427,"props":3523,"children":3524},{"style":439},[3525],{"type":398,"value":3461},{"type":393,"tag":427,"props":3527,"children":3528},{"class":429,"line":318},[3529,3534,3538,3543,3548,3553,3558,3563,3568,3572],{"type":393,"tag":427,"props":3530,"children":3531},{"style":433},[3532],{"type":398,"value":3533},"        f",{"type":393,"tag":427,"props":3535,"children":3536},{"style":493},[3537],{"type":398,"value":942},{"type":393,"tag":427,"props":3539,"children":3540},{"style":554},[3541],{"type":398,"value":3542},"{",{"type":393,"tag":427,"props":3544,"children":3545},{"style":439},[3546],{"type":398,"value":3547},"customer_analysis[",{"type":393,"tag":427,"props":3549,"children":3550},{"style":493},[3551],{"type":398,"value":3552},"'customer_count'",{"type":393,"tag":427,"props":3554,"children":3555},{"style":439},[3556],{"type":398,"value":3557},"].sum()",{"type":393,"tag":427,"props":3559,"children":3560},{"style":433},[3561],{"type":398,"value":3562},":,",{"type":393,"tag":427,"props":3564,"children":3565},{"style":554},[3566],{"type":398,"value":3567},"}",{"type":393,"tag":427,"props":3569,"children":3570},{"style":493},[3571],{"type":398,"value":942},{"type":393,"tag":427,"props":3573,"children":3574},{"style":439},[3575],{"type":398,"value":3474},{"type":393,"tag":427,"props":3577,"children":3578},{"class":429,"line":327},[3579,3583,3588,3592,3596,3601,3606,3611,3615,3619],{"type":393,"tag":427,"props":3580,"children":3581},{"style":433},[3582],{"type":398,"value":3533},{"type":393,"tag":427,"props":3584,"children":3585},{"style":493},[3586],{"type":398,"value":3587},"\"$",{"type":393,"tag":427,"props":3589,"children":3590},{"style":554},[3591],{"type":398,"value":3542},{"type":393,"tag":427,"props":3593,"children":3594},{"style":439},[3595],{"type":398,"value":3547},{"type":393,"tag":427,"props":3597,"children":3598},{"style":493},[3599],{"type":398,"value":3600},"'avg_lifetime_value'",{"type":393,"tag":427,"props":3602,"children":3603},{"style":439},[3604],{"type":398,"value":3605},"].mean()",{"type":393,"tag":427,"props":3607,"children":3608},{"style":433},[3609],{"type":398,"value":3610},":.2f",{"type":393,"tag":427,"props":3612,"children":3613},{"style":554},[3614],{"type":398,"value":3567},{"type":393,"tag":427,"props":3616,"children":3617},{"style":493},[3618],{"type":398,"value":942},{"type":393,"tag":427,"props":3620,"children":3621},{"style":439},[3622],{"type":398,"value":3474},{"type":393,"tag":427,"props":3624,"children":3625},{"class":429,"line":336},[3626,3631,3635,3640,3645],{"type":393,"tag":427,"props":3627,"children":3628},{"style":439},[3629],{"type":398,"value":3630},"        product_performance.loc[product_performance[",{"type":393,"tag":427,"props":3632,"children":3633},{"style":493},[3634],{"type":398,"value":1704},{"type":393,"tag":427,"props":3636,"children":3637},{"style":439},[3638],{"type":398,"value":3639},"].idxmax(), ",{"type":393,"tag":427,"props":3641,"children":3642},{"style":493},[3643],{"type":398,"value":3644},"'product_category'",{"type":393,"tag":427,"props":3646,"children":3647},{"style":439},[3648],{"type":398,"value":539},{"type":393,"tag":427,"props":3650,"children":3651},{"class":429,"line":346},[3652,3656,3660,3664,3669,3674,3679,3684,3688],{"type":393,"tag":427,"props":3653,"children":3654},{"style":433},[3655],{"type":398,"value":3533},{"type":393,"tag":427,"props":3657,"children":3658},{"style":493},[3659],{"type":398,"value":942},{"type":393,"tag":427,"props":3661,"children":3662},{"style":554},[3663],{"type":398,"value":3542},{"type":393,"tag":427,"props":3665,"children":3666},{"style":439},[3667],{"type":398,"value":3668},"(product_performance[",{"type":393,"tag":427,"props":3670,"children":3671},{"style":493},[3672],{"type":398,"value":3673},"'return_rate_percent'",{"type":393,"tag":427,"props":3675,"children":3676},{"style":439},[3677],{"type":398,"value":3678},"].mean())",{"type":393,"tag":427,"props":3680,"children":3681},{"style":433},[3682],{"type":398,"value":3683},":.1f",{"type":393,"tag":427,"props":3685,"children":3686},{"style":554},[3687],{"type":398,"value":3567},{"type":393,"tag":427,"props":3689,"children":3690},{"style":493},[3691],{"type":398,"value":3692},"%\"\n",{"type":393,"tag":427,"props":3694,"children":3695},{"class":429,"line":355},[3696],{"type":393,"tag":427,"props":3697,"children":3698},{"style":439},[3699],{"type":398,"value":3700},"    ]\n",{"type":393,"tag":427,"props":3702,"children":3703},{"class":429,"line":364},[3704],{"type":393,"tag":427,"props":3705,"children":3706},{"style":439},[3707],{"type":398,"value":693},{"type":393,"tag":427,"props":3709,"children":3710},{"class":429,"line":374},[3711],{"type":393,"tag":427,"props":3712,"children":3713},{"emptyLinePlaceholder":12},[3714],{"type":398,"value":460},{"type":393,"tag":427,"props":3716,"children":3717},{"class":429,"line":383},[3718,3722,3726,3730,3734,3739],{"type":393,"tag":427,"props":3719,"children":3720},{"style":554},[3721],{"type":398,"value":708},{"type":393,"tag":427,"props":3723,"children":3724},{"style":439},[3725],{"type":398,"value":713},{"type":393,"tag":427,"props":3727,"children":3728},{"style":493},[3729],{"type":398,"value":942},{"type":393,"tag":427,"props":3731,"children":3732},{"style":554},[3733],{"type":398,"value":947},{"type":393,"tag":427,"props":3735,"children":3736},{"style":493},[3737],{"type":398,"value":3738},"Executive summary:\"",{"type":393,"tag":427,"props":3740,"children":3741},{"style":439},[3742],{"type":398,"value":723},{"type":393,"tag":427,"props":3744,"children":3746},{"class":429,"line":3745},41,[3747,3751],{"type":393,"tag":427,"props":3748,"children":3749},{"style":554},[3750],{"type":398,"value":708},{"type":393,"tag":427,"props":3752,"children":3753},{"style":439},[3754],{"type":398,"value":3755},"(executive_summary)\n",{"type":393,"tag":427,"props":3757,"children":3759},{"class":429,"line":3758},42,[3760],{"type":393,"tag":427,"props":3761,"children":3762},{"emptyLinePlaceholder":12},[3763],{"type":398,"value":460},{"type":393,"tag":427,"props":3765,"children":3767},{"class":429,"line":3766},43,[3768],{"type":393,"tag":427,"props":3769,"children":3770},{"style":466},[3771],{"type":398,"value":3772},"# Export comprehensive report\n",{"type":393,"tag":427,"props":3774,"children":3776},{"class":429,"line":3775},44,[3777,3781,3785,3790,3794,3798],{"type":393,"tag":427,"props":3778,"children":3779},{"style":433},[3780],{"type":398,"value":2555},{"type":393,"tag":427,"props":3782,"children":3783},{"style":439},[3784],{"type":398,"value":2560},{"type":393,"tag":427,"props":3786,"children":3787},{"style":493},[3788],{"type":398,"value":3789},"'business_analysis_report.xlsx'",{"type":393,"tag":427,"props":3791,"children":3792},{"style":439},[3793],{"type":398,"value":2570},{"type":393,"tag":427,"props":3795,"children":3796},{"style":433},[3797],{"type":398,"value":447},{"type":393,"tag":427,"props":3799,"children":3800},{"style":439},[3801],{"type":398,"value":2579},{"type":393,"tag":427,"props":3803,"children":3805},{"class":429,"line":3804},45,[3806,3811,3815,3819,3824,3828,3832,3836,3840],{"type":393,"tag":427,"props":3807,"children":3808},{"style":439},[3809],{"type":398,"value":3810},"    executive_summary.to_excel(writer, ",{"type":393,"tag":427,"props":3812,"children":3813},{"style":782},[3814],{"type":398,"value":1870},{"type":393,"tag":427,"props":3816,"children":3817},{"style":433},[3818],{"type":398,"value":482},{"type":393,"tag":427,"props":3820,"children":3821},{"style":493},[3822],{"type":398,"value":3823},"'Executive_Summary'",{"type":393,"tag":427,"props":3825,"children":3826},{"style":439},[3827],{"type":398,"value":511},{"type":393,"tag":427,"props":3829,"children":3830},{"style":782},[3831],{"type":398,"value":785},{"type":393,"tag":427,"props":3833,"children":3834},{"style":433},[3835],{"type":398,"value":482},{"type":393,"tag":427,"props":3837,"children":3838},{"style":554},[3839],{"type":398,"value":794},{"type":393,"tag":427,"props":3841,"children":3842},{"style":439},[3843],{"type":398,"value":723},{"type":393,"tag":427,"props":3845,"children":3847},{"class":429,"line":3846},46,[3848,3853,3857,3861,3866,3870,3874,3878,3882],{"type":393,"tag":427,"props":3849,"children":3850},{"style":439},[3851],{"type":398,"value":3852},"    customer_analysis.to_excel(writer, ",{"type":393,"tag":427,"props":3854,"children":3855},{"style":782},[3856],{"type":398,"value":1870},{"type":393,"tag":427,"props":3858,"children":3859},{"style":433},[3860],{"type":398,"value":482},{"type":393,"tag":427,"props":3862,"children":3863},{"style":493},[3864],{"type":398,"value":3865},"'Customer_Analysis'",{"type":393,"tag":427,"props":3867,"children":3868},{"style":439},[3869],{"type":398,"value":511},{"type":393,"tag":427,"props":3871,"children":3872},{"style":782},[3873],{"type":398,"value":785},{"type":393,"tag":427,"props":3875,"children":3876},{"style":433},[3877],{"type":398,"value":482},{"type":393,"tag":427,"props":3879,"children":3880},{"style":554},[3881],{"type":398,"value":794},{"type":393,"tag":427,"props":3883,"children":3884},{"style":439},[3885],{"type":398,"value":723},{"type":393,"tag":427,"props":3887,"children":3889},{"class":429,"line":3888},47,[3890,3895,3899,3903,3908,3912,3916,3920,3924],{"type":393,"tag":427,"props":3891,"children":3892},{"style":439},[3893],{"type":398,"value":3894},"    product_performance.to_excel(writer, ",{"type":393,"tag":427,"props":3896,"children":3897},{"style":782},[3898],{"type":398,"value":1870},{"type":393,"tag":427,"props":3900,"children":3901},{"style":433},[3902],{"type":398,"value":482},{"type":393,"tag":427,"props":3904,"children":3905},{"style":493},[3906],{"type":398,"value":3907},"'Product_Performance'",{"type":393,"tag":427,"props":3909,"children":3910},{"style":439},[3911],{"type":398,"value":511},{"type":393,"tag":427,"props":3913,"children":3914},{"style":782},[3915],{"type":398,"value":785},{"type":393,"tag":427,"props":3917,"children":3918},{"style":433},[3919],{"type":398,"value":482},{"type":393,"tag":427,"props":3921,"children":3922},{"style":554},[3923],{"type":398,"value":794},{"type":393,"tag":427,"props":3925,"children":3926},{"style":439},[3927],{"type":398,"value":723},{"type":393,"tag":427,"props":3929,"children":3931},{"class":429,"line":3930},48,[3932],{"type":393,"tag":427,"props":3933,"children":3934},{"emptyLinePlaceholder":12},[3935],{"type":398,"value":460},{"type":393,"tag":427,"props":3937,"children":3939},{"class":429,"line":3938},49,[3940,3944,3948,3952,3956,3961],{"type":393,"tag":427,"props":3941,"children":3942},{"style":554},[3943],{"type":398,"value":708},{"type":393,"tag":427,"props":3945,"children":3946},{"style":439},[3947],{"type":398,"value":713},{"type":393,"tag":427,"props":3949,"children":3950},{"style":493},[3951],{"type":398,"value":942},{"type":393,"tag":427,"props":3953,"children":3954},{"style":554},[3955],{"type":398,"value":947},{"type":393,"tag":427,"props":3957,"children":3958},{"style":493},[3959],{"type":398,"value":3960},"✅ Complete business report saved to: business_analysis_report.xlsx\"",{"type":393,"tag":427,"props":3962,"children":3963},{"style":439},[3964],{"type":398,"value":723},{"type":393,"tag":970,"props":3966,"children":3968},{"id":3967},"export-workflow",[3969],{"type":398,"value":3970},"🎯 Export Workflow",{"type":393,"tag":401,"props":3972,"children":3973},{},[3974],{"type":398,"value":3975},"Professional data export workflow:",{"type":393,"tag":982,"props":3977,"children":3979},{"emoji":1185,"title":3978,"type":986},"Export Workflow Steps",[3980,3988,4011,4019,4042,4050,4073,4081,4104],{"type":393,"tag":401,"props":3981,"children":3982},{},[3983],{"type":393,"tag":992,"props":3984,"children":3985},{},[3986],{"type":398,"value":3987},"Step 1: Prepare Data",{"type":393,"tag":998,"props":3989,"children":3990},{},[3991,3996,4001,4006],{"type":393,"tag":1002,"props":3992,"children":3993},{},[3994],{"type":398,"value":3995},"Clean column names and values",{"type":393,"tag":1002,"props":3997,"children":3998},{},[3999],{"type":398,"value":4000},"Round numbers appropriately",{"type":393,"tag":1002,"props":4002,"children":4003},{},[4004],{"type":398,"value":4005},"Handle missing values",{"type":393,"tag":1002,"props":4007,"children":4008},{},[4009],{"type":398,"value":4010},"Add calculated fields if needed",{"type":393,"tag":401,"props":4012,"children":4013},{},[4014],{"type":393,"tag":992,"props":4015,"children":4016},{},[4017],{"type":398,"value":4018},"Step 2: Choose Format",{"type":393,"tag":998,"props":4020,"children":4021},{},[4022,4027,4032,4037],{"type":393,"tag":1002,"props":4023,"children":4024},{},[4025],{"type":398,"value":4026},"CSV for simple data sharing",{"type":393,"tag":1002,"props":4028,"children":4029},{},[4030],{"type":398,"value":4031},"Excel for business reports",{"type":393,"tag":1002,"props":4033,"children":4034},{},[4035],{"type":398,"value":4036},"JSON for web applications",{"type":393,"tag":1002,"props":4038,"children":4039},{},[4040],{"type":398,"value":4041},"Database for system integration",{"type":393,"tag":401,"props":4043,"children":4044},{},[4045],{"type":393,"tag":992,"props":4046,"children":4047},{},[4048],{"type":398,"value":4049},"Step 3: Configure Export",{"type":393,"tag":998,"props":4051,"children":4052},{},[4053,4058,4063,4068],{"type":393,"tag":1002,"props":4054,"children":4055},{},[4056],{"type":398,"value":4057},"Set appropriate options (index, headers)",{"type":393,"tag":1002,"props":4059,"children":4060},{},[4061],{"type":398,"value":4062},"Choose sheet names for Excel",{"type":393,"tag":1002,"props":4064,"children":4065},{},[4066],{"type":398,"value":4067},"Set file paths and names",{"type":393,"tag":1002,"props":4069,"children":4070},{},[4071],{"type":398,"value":4072},"Consider file size and performance",{"type":393,"tag":401,"props":4074,"children":4075},{},[4076],{"type":393,"tag":992,"props":4077,"children":4078},{},[4079],{"type":398,"value":4080},"Step 4: Validate Results",{"type":393,"tag":998,"props":4082,"children":4083},{},[4084,4089,4094,4099],{"type":393,"tag":1002,"props":4085,"children":4086},{},[4087],{"type":398,"value":4088},"Test opening exported files",{"type":393,"tag":1002,"props":4090,"children":4091},{},[4092],{"type":398,"value":4093},"Verify data integrity",{"type":393,"tag":1002,"props":4095,"children":4096},{},[4097],{"type":398,"value":4098},"Check formatting and readability",{"type":393,"tag":1002,"props":4100,"children":4101},{},[4102],{"type":398,"value":4103},"Confirm all stakeholder requirements met",{"type":393,"tag":401,"props":4105,"children":4106},{},[4107,4112],{"type":393,"tag":992,"props":4108,"children":4109},{},[4110],{"type":398,"value":4111},"Remember:",{"type":398,"value":4113}," Good exports make your analysis accessible and actionable!",{"type":393,"tag":970,"props":4115,"children":4117},{"id":4116},"whats-next",[4118],{"type":398,"value":4119},"🚀 What's Next?",{"type":393,"tag":401,"props":4121,"children":4122},{},[4123],{"type":398,"value":4124},"Ready to start saving and sharing your data analysis results? Let's begin with the most common export formats - CSV, Excel, and JSON.",{"type":393,"tag":401,"props":4126,"children":4127},{},[4128,4133,4135],{"type":393,"tag":992,"props":4129,"children":4130},{},[4131],{"type":398,"value":4132},"Start with",{"type":398,"value":4134},": ",{"type":393,"tag":1155,"props":4136,"children":4137},{"href":370},[4138],{"type":398,"value":371},{"type":393,"tag":401,"props":4140,"children":4141},{},[4142],{"type":398,"value":4143},"Time to save your work! 💾📊",{"type":393,"tag":4145,"props":4146,"children":4147},"style",{},[4148],{"type":398,"value":4149},"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":4151},[4152,4153,4154,4155,4158,4159,4160,4161],{"id":972,"depth":27,"text":975},{"id":1137,"depth":27,"text":1140},{"id":1174,"depth":27,"text":1177},{"id":1315,"depth":27,"text":1318,"children":4156},[4157],{"id":2027,"depth":36,"text":2030},{"id":2739,"depth":27,"text":2742},{"id":2880,"depth":27,"text":2883},{"id":3967,"depth":27,"text":3970},{"id":4116,"depth":27,"text":4119},1782373727403]