[{"data":1,"prerenderedAt":2311},["ShallowReactive",2],{"tutorials-pandas":3,"category-items-pandas":387,"content-/pandas/loading-data":388},[4,21,31,40,49,58,67,78,87,96,105,116,125,134,143,154,163,172,181,192,201,210,219,228,239,248,257,266,276,285,294,303,313,322,331,341,350,359,369,378],{"_path":5,"_dir":6,"_draft":7,"_partial":7,"_locale":6,"title":8,"description":9,"slug":10,"order":11,"isParent":12,"icon":13,"_type":14,"_id":15,"_source":16,"_file":17,"_stem":18,"_extension":19,"children":20,"expanded":12},"/pandas","",false,"Getting Started","Learn the basics of Pandas, Python's powerful data analysis library for working with spreadsheet-like data","getting-started",1,true,"pi pi-play","markdown","content:pandas:1.index.md","content","pandas/1.index.md","pandas/1.index","md",[21,31,40,49,58],{"_path":22,"_dir":23,"_draft":7,"_partial":7,"_locale":6,"title":24,"description":25,"slug":26,"parentId":5,"order":27,"_type":14,"_id":28,"_source":16,"_file":29,"_stem":30,"_extension":19},"/pandas/what-is-pandas","pandas","What is Pandas","Understand what Pandas is, why it's essential for data analysis, and how it makes working with data simple and powerful","what-is-pandas",2,"content:pandas:2.what-is-pandas.md","pandas/2.what-is-pandas.md","pandas/2.what-is-pandas",{"_path":32,"_dir":23,"_draft":7,"_partial":7,"_locale":6,"title":33,"description":34,"slug":35,"parentId":5,"order":36,"_type":14,"_id":37,"_source":16,"_file":38,"_stem":39,"_extension":19},"/pandas/installing-pandas","Installing Pandas","Learn how to install Pandas on your computer and verify it's working properly","installing-pandas",3,"content:pandas:3.installing-pandas.md","pandas/3.installing-pandas.md","pandas/3.installing-pandas",{"_path":41,"_dir":23,"_draft":7,"_partial":7,"_locale":6,"title":42,"description":43,"slug":44,"parentId":5,"order":45,"_type":14,"_id":46,"_source":16,"_file":47,"_stem":48,"_extension":19},"/pandas/your-first-dataframe","Your First DataFrame","Create your first Pandas DataFrame and learn the basics of working with tabular data","your-first-dataframe",4,"content:pandas:4.your-first-dataframe.md","pandas/4.your-first-dataframe.md","pandas/4.your-first-dataframe",{"_path":50,"_dir":23,"_draft":7,"_partial":7,"_locale":6,"title":51,"description":52,"slug":53,"parentId":5,"order":54,"_type":14,"_id":55,"_source":16,"_file":56,"_stem":57,"_extension":19},"/pandas/series-vs-dataframe","Series vs DataFrame","Understand the difference between Pandas Series and DataFrames, and learn when to use each one","series-vs-dataframe",5,"content:pandas:5.series-vs-dataframe.md","pandas/5.series-vs-dataframe.md","pandas/5.series-vs-dataframe",{"_path":59,"_dir":23,"_draft":7,"_partial":7,"_locale":6,"title":60,"description":61,"slug":62,"parentId":5,"order":63,"_type":14,"_id":64,"_source":16,"_file":65,"_stem":66,"_extension":19},"/pandas/basic-dataframe-info","Basic DataFrame Info","Learn how to explore and get basic information about your DataFrames to understand your data","basic-dataframe-info",6,"content:pandas:6.basic-dataframe-info.md","pandas/6.basic-dataframe-info.md","pandas/6.basic-dataframe-info",{"_path":68,"_dir":23,"_draft":7,"_partial":7,"_locale":6,"title":69,"description":70,"slug":71,"order":72,"isParent":12,"icon":73,"_type":14,"_id":74,"_source":16,"_file":75,"_stem":76,"_extension":19,"children":77,"expanded":12},"/pandas/loading-data","Loading Data","Learn how to load data from various sources into Pandas DataFrames","loading-data",7,"pi pi-download","content:pandas:7.loading-data.md","pandas/7.loading-data.md","pandas/7.loading-data",[78,87,96],{"_path":79,"_dir":23,"_draft":7,"_partial":7,"_locale":6,"title":80,"description":81,"slug":82,"parentId":68,"order":83,"_type":14,"_id":84,"_source":16,"_file":85,"_stem":86,"_extension":19},"/pandas/reading-files","Reading Files (CSV, Excel, JSON)","Learn how to load data from CSV, Excel, and JSON files into Pandas DataFrames","reading-files",8,"content:pandas:8.reading-files.md","pandas/8.reading-files.md","pandas/8.reading-files",{"_path":88,"_dir":23,"_draft":7,"_partial":7,"_locale":6,"title":89,"description":90,"slug":91,"parentId":68,"order":92,"_type":14,"_id":93,"_source":16,"_file":94,"_stem":95,"_extension":19},"/pandas/loading-from-databases","Loading from Databases","Learn how to connect to databases and load data directly into Pandas DataFrames","loading-from-databases",9,"content:pandas:9.loading-from-databases.md","pandas/9.loading-from-databases.md","pandas/9.loading-from-databases",{"_path":97,"_dir":23,"_draft":7,"_partial":7,"_locale":6,"title":98,"description":99,"slug":100,"parentId":68,"order":101,"_type":14,"_id":102,"_source":16,"_file":103,"_stem":104,"_extension":19},"/pandas/handling-file-errors","Handling File Errors","Learn how to handle common errors when loading data files and how to troubleshoot loading problems","handling-file-errors",10,"content:pandas:10.handling-file-errors.md","pandas/10.handling-file-errors.md","pandas/10.handling-file-errors",{"_path":106,"_dir":23,"_draft":7,"_partial":7,"_locale":6,"title":107,"description":108,"slug":109,"order":110,"isParent":12,"icon":111,"_type":14,"_id":112,"_source":16,"_file":113,"_stem":114,"_extension":19,"children":115,"expanded":12},"/pandas/data-exploration","Data Exploration","Learn how to explore and understand your data using Pandas methods and techniques","data-exploration",11,"pi pi-search","content:pandas:11.data-exploration.md","pandas/11.data-exploration.md","pandas/11.data-exploration",[116,125,134],{"_path":117,"_dir":23,"_draft":7,"_partial":7,"_locale":6,"title":118,"description":119,"slug":120,"parentId":106,"order":121,"_type":14,"_id":122,"_source":16,"_file":123,"_stem":124,"_extension":19},"/pandas/viewing-your-data","Viewing Your Data","Learn different ways to look at and sample your DataFrame data for exploration and understanding","viewing-your-data",12,"content:pandas:12.viewing-your-data.md","pandas/12.viewing-your-data.md","pandas/12.viewing-your-data",{"_path":126,"_dir":23,"_draft":7,"_partial":7,"_locale":6,"title":127,"description":128,"slug":129,"parentId":106,"order":130,"_type":14,"_id":131,"_source":16,"_file":132,"_stem":133,"_extension":19},"/pandas/data-shape-and-statistics","Data Shape and Statistics","Learn how to understand your DataFrame's size, structure, and get basic statistical summaries","data-shape-and-statistics",13,"content:pandas:13.data-shape-and-statistics.md","pandas/13.data-shape-and-statistics.md","pandas/13.data-shape-and-statistics",{"_path":135,"_dir":23,"_draft":7,"_partial":7,"_locale":6,"title":136,"description":137,"slug":138,"parentId":106,"order":139,"_type":14,"_id":140,"_source":16,"_file":141,"_stem":142,"_extension":19},"/pandas/column-information-and-data-types","Column Information and Data Types","Learn how to explore individual columns and understand different data types in your DataFrames","column-information-and-data-types",14,"content:pandas:14.column-information-and-data-types.md","pandas/14.column-information-and-data-types.md","pandas/14.column-information-and-data-types",{"_path":144,"_dir":23,"_draft":7,"_partial":7,"_locale":6,"title":145,"description":146,"slug":147,"order":148,"isParent":12,"icon":149,"_type":14,"_id":150,"_source":16,"_file":151,"_stem":152,"_extension":19,"children":153,"expanded":12},"/pandas/selecting-data","Selecting Data","Learn how to select specific columns, rows, and subsets of data from your DataFrames","selecting-data",15,"pi pi-filter","content:pandas:15.selecting-data.md","pandas/15.selecting-data.md","pandas/15.selecting-data",[154,163,172],{"_path":155,"_dir":23,"_draft":7,"_partial":7,"_locale":6,"title":156,"description":157,"slug":158,"parentId":144,"order":159,"_type":14,"_id":160,"_source":16,"_file":161,"_stem":162,"_extension":19},"/pandas/selecting-columns-and-rows","Selecting Columns and Rows","Learn how to select specific columns and rows from your DataFrames using basic selection techniques","selecting-columns-and-rows",16,"content:pandas:16.selecting-columns-and-rows.md","pandas/16.selecting-columns-and-rows.md","pandas/16.selecting-columns-and-rows",{"_path":164,"_dir":23,"_draft":7,"_partial":7,"_locale":6,"title":165,"description":166,"slug":167,"parentId":144,"order":168,"_type":14,"_id":169,"_source":16,"_file":170,"_stem":171,"_extension":19},"/pandas/using-loc-and-iloc","Using loc and iloc","Master precise data selection with label-based (loc) and position-based (iloc) indexing in pandas","using-loc-and-iloc",17,"content:pandas:17.using-loc-and-iloc.md","pandas/17.using-loc-and-iloc.md","pandas/17.using-loc-and-iloc",{"_path":173,"_dir":23,"_draft":7,"_partial":7,"_locale":6,"title":174,"description":175,"slug":176,"parentId":144,"order":177,"_type":14,"_id":178,"_source":16,"_file":179,"_stem":180,"_extension":19},"/pandas/boolean-and-conditional-selection","Boolean and Conditional Selection","Learn to filter DataFrames using conditions, boolean logic, and multiple criteria for precise data selection","boolean-and-conditional-selection",18,"content:pandas:18.boolean-and-conditional-selection.md","pandas/18.boolean-and-conditional-selection.md","pandas/18.boolean-and-conditional-selection",{"_path":182,"_dir":23,"_draft":7,"_partial":7,"_locale":6,"title":183,"description":184,"slug":185,"order":186,"isParent":12,"icon":187,"_type":14,"_id":188,"_source":16,"_file":189,"_stem":190,"_extension":19,"children":191,"expanded":12},"/pandas/data-cleaning","Data Cleaning","Learn essential data cleaning techniques to prepare messy data for analysis","data-cleaning",19,"pi pi-wrench","content:pandas:19.data-cleaning.md","pandas/19.data-cleaning.md","pandas/19.data-cleaning",[192,201,210,219],{"_path":193,"_dir":23,"_draft":7,"_partial":7,"_locale":6,"title":194,"description":195,"slug":196,"parentId":182,"order":197,"_type":14,"_id":198,"_source":16,"_file":199,"_stem":200,"_extension":19},"/pandas/handling-missing-data","Handling Missing Data","Learn to identify, fill, and remove missing values in your DataFrames effectively","handling-missing-data",20,"content:pandas:20.handling-missing-data.md","pandas/20.handling-missing-data.md","pandas/20.handling-missing-data",{"_path":202,"_dir":23,"_draft":7,"_partial":7,"_locale":6,"title":203,"description":204,"slug":205,"parentId":182,"order":206,"_type":14,"_id":207,"_source":16,"_file":208,"_stem":209,"_extension":19},"/pandas/removing-duplicates","Removing Duplicates","Learn to find and eliminate duplicate rows from your DataFrames to ensure data quality","removing-duplicates",21,"content:pandas:21.removing-duplicates.md","pandas/21.removing-duplicates.md","pandas/21.removing-duplicates",{"_path":211,"_dir":23,"_draft":7,"_partial":7,"_locale":6,"title":212,"description":213,"slug":214,"parentId":182,"order":215,"_type":14,"_id":216,"_source":16,"_file":217,"_stem":218,"_extension":19},"/pandas/data-type-conversion","Data Type Conversion","Learn to convert data to the right types for proper analysis and calculations","data-type-conversion",22,"content:pandas:22.data-type-conversion.md","pandas/22.data-type-conversion.md","pandas/22.data-type-conversion",{"_path":220,"_dir":23,"_draft":7,"_partial":7,"_locale":6,"title":221,"description":222,"slug":223,"parentId":182,"order":224,"_type":14,"_id":225,"_source":16,"_file":226,"_stem":227,"_extension":19},"/pandas/string-cleaning-operations","String Cleaning Operations","Learn to clean and standardize text data for consistent analysis using pandas string methods","string-cleaning-operations",23,"content:pandas:23.string-cleaning-operations.md","pandas/23.string-cleaning-operations.md","pandas/23.string-cleaning-operations",{"_path":229,"_dir":23,"_draft":7,"_partial":7,"_locale":6,"title":230,"description":231,"slug":232,"order":233,"isParent":12,"icon":234,"_type":14,"_id":235,"_source":16,"_file":236,"_stem":237,"_extension":19,"children":238,"expanded":12},"/pandas/data-transformation","Data Transformation","Learn how to modify, add, and transform data in your DataFrames for analysis","data-transformation",24,"pi pi-folder","content:pandas:24.data-transformation.md","pandas/24.data-transformation.md","pandas/24.data-transformation",[239,248,257],{"_path":240,"_dir":23,"_draft":7,"_partial":7,"_locale":6,"title":241,"description":242,"slug":243,"parentId":229,"order":244,"_type":14,"_id":245,"_source":16,"_file":246,"_stem":247,"_extension":19},"/pandas/adding-and-modifying-columns","Adding and Modifying Columns","Learn how to create new columns and update existing ones with calculations and conditional logic","adding-and-modifying-columns",25,"content:pandas:25.adding-and-modifying-columns.md","pandas/25.adding-and-modifying-columns.md","pandas/25.adding-and-modifying-columns",{"_path":249,"_dir":23,"_draft":7,"_partial":7,"_locale":6,"title":250,"description":251,"slug":252,"parentId":229,"order":253,"_type":14,"_id":254,"_source":16,"_file":255,"_stem":256,"_extension":19},"/pandas/applying-functions","Applying Functions","Use built-in and custom functions to transform your data efficiently","applying-functions",26,"content:pandas:26.applying-functions.md","pandas/26.applying-functions.md","pandas/26.applying-functions",{"_path":258,"_dir":23,"_draft":7,"_partial":7,"_locale":6,"title":259,"description":260,"slug":261,"parentId":229,"order":262,"_type":14,"_id":263,"_source":16,"_file":264,"_stem":265,"_extension":19},"/pandas/renaming-and-sorting-data","Renaming and Sorting Data","Organize your DataFrame with better column names and logical data ordering","renaming-and-sorting-data",27,"content:pandas:27.renaming-and-sorting-data.md","pandas/27.renaming-and-sorting-data.md","pandas/27.renaming-and-sorting-data",{"_path":267,"_dir":23,"_draft":7,"_partial":7,"_locale":6,"title":268,"description":269,"slug":270,"order":271,"isParent":12,"icon":234,"_type":14,"_id":272,"_source":16,"_file":273,"_stem":274,"_extension":19,"children":275,"expanded":12},"/pandas/grouping-and-aggregation","Grouping and Aggregation","Learn to group data and calculate summary statistics for powerful data analysis","grouping-and-aggregation",28,"content:pandas:28.grouping-and-aggregation.md","pandas/28.grouping-and-aggregation.md","pandas/28.grouping-and-aggregation",[276,285,294],{"_path":277,"_dir":23,"_draft":7,"_partial":7,"_locale":6,"title":278,"description":279,"slug":280,"parentId":267,"order":281,"_type":14,"_id":282,"_source":16,"_file":283,"_stem":284,"_extension":19},"/pandas/groupby-operations","GroupBy Operations","Learn the fundamentals of splitting data into groups and basic aggregations","groupby-operations",29,"content:pandas:29.groupby-operations.md","pandas/29.groupby-operations.md","pandas/29.groupby-operations",{"_path":286,"_dir":23,"_draft":7,"_partial":7,"_locale":6,"title":287,"description":288,"slug":289,"parentId":267,"order":290,"_type":14,"_id":291,"_source":16,"_file":292,"_stem":293,"_extension":19},"/pandas/aggregation-functions","Aggregation Functions","Explore different ways to summarize your grouped data with built-in and custom functions","aggregation-functions",30,"content:pandas:30.aggregation-functions.md","pandas/30.aggregation-functions.md","pandas/30.aggregation-functions",{"_path":295,"_dir":23,"_draft":7,"_partial":7,"_locale":6,"title":296,"description":297,"slug":298,"parentId":267,"order":299,"_type":14,"_id":300,"_source":16,"_file":301,"_stem":302,"_extension":19},"/pandas/pivot-tables-and-cross-tabulation","Pivot Tables and Cross Tabulation","Create powerful summary tables and cross-tabulations for analysis","pivot-tables-and-cross-tabulation",31,"content:pandas:31.pivot-tables-and-cross-tabulation.md","pandas/31.pivot-tables-and-cross-tabulation.md","pandas/31.pivot-tables-and-cross-tabulation",{"_path":304,"_dir":23,"_draft":7,"_partial":7,"_locale":6,"title":305,"description":306,"slug":307,"order":308,"isParent":12,"icon":234,"_type":14,"_id":309,"_source":16,"_file":310,"_stem":311,"_extension":19,"children":312,"expanded":12},"/pandas/combining-data","Combining Data","Learn to combine data from multiple DataFrames for comprehensive analysis","combining-data",32,"content:pandas:32.combining-data.md","pandas/32.combining-data.md","pandas/32.combining-data",[313,322],{"_path":314,"_dir":23,"_draft":7,"_partial":7,"_locale":6,"title":315,"description":316,"slug":317,"parentId":304,"order":318,"_type":14,"_id":319,"_source":16,"_file":320,"_stem":321,"_extension":19},"/pandas/concatenating-dataframes","Concatenating DataFrames","Learn to stack DataFrames vertically and horizontally for simple data combination","concatenating-dataframes",33,"content:pandas:33.concatenating-dataframes.md","pandas/33.concatenating-dataframes.md","pandas/33.concatenating-dataframes",{"_path":323,"_dir":23,"_draft":7,"_partial":7,"_locale":6,"title":324,"description":325,"slug":326,"parentId":304,"order":327,"_type":14,"_id":328,"_source":16,"_file":329,"_stem":330,"_extension":19},"/pandas/merging-and-join-operations","Merging and Join Operations","Master different types of joins to combine related data from multiple sources","merging-and-join-operations",34,"content:pandas:34.merging-and-join-operations.md","pandas/34.merging-and-join-operations.md","pandas/34.merging-and-join-operations",{"_path":332,"_dir":23,"_draft":7,"_partial":7,"_locale":6,"title":333,"description":334,"slug":335,"order":336,"isParent":12,"icon":234,"_type":14,"_id":337,"_source":16,"_file":338,"_stem":339,"_extension":19,"children":340,"expanded":12},"/pandas/working-with-dates","Working with Dates","Master date and time operations for time-based analysis and reporting","working-with-dates",35,"content:pandas:35.working-with-dates.md","pandas/35.working-with-dates.md","pandas/35.working-with-dates",[341,350],{"_path":342,"_dir":23,"_draft":7,"_partial":7,"_locale":6,"title":343,"description":344,"slug":345,"parentId":332,"order":346,"_type":14,"_id":347,"_source":16,"_file":348,"_stem":349,"_extension":19},"/pandas/datetime-operations","DateTime Operations","Learn to convert, manipulate, and extract information from dates and times","datetime-operations",36,"content:pandas:36.datetime-operations.md","pandas/36.datetime-operations.md","pandas/36.datetime-operations",{"_path":351,"_dir":23,"_draft":7,"_partial":7,"_locale":6,"title":352,"description":353,"slug":354,"parentId":332,"order":355,"_type":14,"_id":356,"_source":16,"_file":357,"_stem":358,"_extension":19},"/pandas/time-series-and-resampling","Time Series and Resampling","Discover how to analyze data over time periods and aggregate by different time intervals","time-series-and-resampling",37,"content:pandas:37.time-series-and-resampling.md","pandas/37.time-series-and-resampling.md","pandas/37.time-series-and-resampling",{"_path":360,"_dir":23,"_draft":7,"_partial":7,"_locale":6,"title":361,"description":362,"slug":363,"order":364,"isParent":12,"icon":234,"_type":14,"_id":365,"_source":16,"_file":366,"_stem":367,"_extension":19,"children":368,"expanded":12},"/pandas/saving-your-work","Saving Your Work","Learn to export your analyzed data to different formats for sharing and reporting","saving-your-work",38,"content:pandas:38.saving-your-work.md","pandas/38.saving-your-work.md","pandas/38.saving-your-work",[369,378],{"_path":370,"_dir":23,"_draft":7,"_partial":7,"_locale":6,"title":371,"description":372,"slug":373,"parentId":360,"order":374,"_type":14,"_id":375,"_source":16,"_file":376,"_stem":377,"_extension":19},"/pandas/exporting-data","Exporting Data (CSV, Excel, JSON)","Learn to save your DataFrames to common file formats for sharing and reporting","exporting-data",39,"content:pandas:39.exporting-data.md","pandas/39.exporting-data.md","pandas/39.exporting-data",{"_path":379,"_dir":23,"_draft":7,"_partial":7,"_locale":6,"title":380,"description":381,"slug":382,"parentId":360,"order":383,"_type":14,"_id":384,"_source":16,"_file":385,"_stem":386,"_extension":19},"/pandas/database-export","Database Export","Discover how to save data back to databases for integration with other systems","database-export",40,"content:pandas:40.database-export.md","pandas/40.database-export.md","pandas/40.database-export",[67],{"_path":68,"_dir":23,"_draft":7,"_partial":7,"_locale":6,"title":69,"description":70,"slug":71,"order":72,"isParent":12,"icon":73,"body":389,"_type":14,"_id":74,"_source":16,"_file":75,"_stem":76,"_extension":19},{"type":390,"children":391,"toc":2300},"root",[392,400,406,487,494,499,788,794,951,957,962,1345,1351,1356,1591,1597,1602,1639,1645,1650,1988,1994,2110,2116,2264,2270,2275,2289,2294],{"type":393,"tag":394,"props":395,"children":396},"element","h1",{"id":71},[397],{"type":398,"value":399},"text","📥 Loading Data",{"type":393,"tag":401,"props":402,"children":403},"p",{},[404],{"type":398,"value":405},"Real data analysis starts with loading data from external sources! Whether it's a CSV file from a spreadsheet, data from a database, or JSON from a web API, Pandas makes it easy to get your data into DataFrames.",{"type":393,"tag":407,"props":408,"children":412},"info-box",{"emoji":409,"title":410,"type":411},"📂","Where Does Data Come From?","info",[413,422,477],{"type":393,"tag":401,"props":414,"children":415},{},[416],{"type":393,"tag":417,"props":418,"children":419},"strong",{},[420],{"type":398,"value":421},"Common Data Sources:",{"type":393,"tag":423,"props":424,"children":425},"ul",{},[426,437,447,457,467],{"type":393,"tag":427,"props":428,"children":429},"li",{},[430,435],{"type":393,"tag":417,"props":431,"children":432},{},[433],{"type":398,"value":434},"CSV files",{"type":398,"value":436}," - Exported from Excel, Google Sheets, databases",{"type":393,"tag":427,"props":438,"children":439},{},[440,445],{"type":393,"tag":417,"props":441,"children":442},{},[443],{"type":398,"value":444},"Excel files",{"type":398,"value":446}," - .xlsx and .xls spreadsheets",{"type":393,"tag":427,"props":448,"children":449},{},[450,455],{"type":393,"tag":417,"props":451,"children":452},{},[453],{"type":398,"value":454},"JSON files",{"type":398,"value":456}," - Web APIs, configuration files",{"type":393,"tag":427,"props":458,"children":459},{},[460,465],{"type":393,"tag":417,"props":461,"children":462},{},[463],{"type":398,"value":464},"Databases",{"type":398,"value":466}," - SQL Server, MySQL, PostgreSQL",{"type":393,"tag":427,"props":468,"children":469},{},[470,475],{"type":393,"tag":417,"props":471,"children":472},{},[473],{"type":398,"value":474},"Web APIs",{"type":398,"value":476}," - Online services and platforms",{"type":393,"tag":401,"props":478,"children":479},{},[480,485],{"type":393,"tag":417,"props":481,"children":482},{},[483],{"type":398,"value":484},"The Goal:",{"type":398,"value":486}," Get external data into a DataFrame so you can analyze it with Pandas!",{"type":393,"tag":488,"props":489,"children":491},"h2",{"id":490},"why-learn-data-loading",[492],{"type":398,"value":493},"🎯 Why Learn Data Loading?",{"type":393,"tag":401,"props":495,"children":496},{},[497],{"type":398,"value":498},"Creating DataFrames manually is great for learning, but real work involves loading existing data:",{"type":393,"tag":500,"props":501,"children":502},"code-try",{},[503],{"type":393,"tag":504,"props":505,"children":509},"pre",{"className":506,"code":507,"language":508,"meta":6,"style":6},"language-python shiki shiki-themes github-light github-dark","import pandas as pd\n\n# Manual creation (what we've been doing)\nmanual_data = pd.DataFrame({\n    'name': ['Alice', 'Bob', 'Charlie'],\n    'score': [85, 92, 78]\n})\n\nprint(\"Manual DataFrame:\")\nprint(manual_data)\nprint()\n\n# Real world: loading from files (what we'll learn)\n# df = pd.read_csv('students.csv')\n# df = pd.read_excel('sales_data.xlsx')\n# df = pd.read_json('api_response.json')\n\nprint(\"🎯 Next: Loading from actual files!\")\n","python",[510],{"type":393,"tag":511,"props":512,"children":513},"code",{"__ignoreMap":6},[514,541,549,558,576,619,660,668,675,698,710,722,729,737,745,753,761,768],{"type":393,"tag":515,"props":516,"children":518},"span",{"class":517,"line":11},"line",[519,525,531,536],{"type":393,"tag":515,"props":520,"children":522},{"style":521},"--shiki-default:#D73A49;--shiki-app-dark-mode:#F97583",[523],{"type":398,"value":524},"import",{"type":393,"tag":515,"props":526,"children":528},{"style":527},"--shiki-default:#24292E;--shiki-app-dark-mode:#E1E4E8",[529],{"type":398,"value":530}," pandas ",{"type":393,"tag":515,"props":532,"children":533},{"style":521},[534],{"type":398,"value":535},"as",{"type":393,"tag":515,"props":537,"children":538},{"style":527},[539],{"type":398,"value":540}," pd\n",{"type":393,"tag":515,"props":542,"children":543},{"class":517,"line":27},[544],{"type":393,"tag":515,"props":545,"children":546},{"emptyLinePlaceholder":12},[547],{"type":398,"value":548},"\n",{"type":393,"tag":515,"props":550,"children":551},{"class":517,"line":36},[552],{"type":393,"tag":515,"props":553,"children":555},{"style":554},"--shiki-default:#6A737D;--shiki-app-dark-mode:#6A737D",[556],{"type":398,"value":557},"# Manual creation (what we've been doing)\n",{"type":393,"tag":515,"props":559,"children":560},{"class":517,"line":45},[561,566,571],{"type":393,"tag":515,"props":562,"children":563},{"style":527},[564],{"type":398,"value":565},"manual_data ",{"type":393,"tag":515,"props":567,"children":568},{"style":521},[569],{"type":398,"value":570},"=",{"type":393,"tag":515,"props":572,"children":573},{"style":527},[574],{"type":398,"value":575}," pd.DataFrame({\n",{"type":393,"tag":515,"props":577,"children":578},{"class":517,"line":54},[579,585,590,595,600,605,609,614],{"type":393,"tag":515,"props":580,"children":582},{"style":581},"--shiki-default:#032F62;--shiki-app-dark-mode:#9ECBFF",[583],{"type":398,"value":584},"    'name'",{"type":393,"tag":515,"props":586,"children":587},{"style":527},[588],{"type":398,"value":589},": [",{"type":393,"tag":515,"props":591,"children":592},{"style":581},[593],{"type":398,"value":594},"'Alice'",{"type":393,"tag":515,"props":596,"children":597},{"style":527},[598],{"type":398,"value":599},", ",{"type":393,"tag":515,"props":601,"children":602},{"style":581},[603],{"type":398,"value":604},"'Bob'",{"type":393,"tag":515,"props":606,"children":607},{"style":527},[608],{"type":398,"value":599},{"type":393,"tag":515,"props":610,"children":611},{"style":581},[612],{"type":398,"value":613},"'Charlie'",{"type":393,"tag":515,"props":615,"children":616},{"style":527},[617],{"type":398,"value":618},"],\n",{"type":393,"tag":515,"props":620,"children":621},{"class":517,"line":63},[622,627,631,637,641,646,650,655],{"type":393,"tag":515,"props":623,"children":624},{"style":581},[625],{"type":398,"value":626},"    'score'",{"type":393,"tag":515,"props":628,"children":629},{"style":527},[630],{"type":398,"value":589},{"type":393,"tag":515,"props":632,"children":634},{"style":633},"--shiki-default:#005CC5;--shiki-app-dark-mode:#79B8FF",[635],{"type":398,"value":636},"85",{"type":393,"tag":515,"props":638,"children":639},{"style":527},[640],{"type":398,"value":599},{"type":393,"tag":515,"props":642,"children":643},{"style":633},[644],{"type":398,"value":645},"92",{"type":393,"tag":515,"props":647,"children":648},{"style":527},[649],{"type":398,"value":599},{"type":393,"tag":515,"props":651,"children":652},{"style":633},[653],{"type":398,"value":654},"78",{"type":393,"tag":515,"props":656,"children":657},{"style":527},[658],{"type":398,"value":659},"]\n",{"type":393,"tag":515,"props":661,"children":662},{"class":517,"line":72},[663],{"type":393,"tag":515,"props":664,"children":665},{"style":527},[666],{"type":398,"value":667},"})\n",{"type":393,"tag":515,"props":669,"children":670},{"class":517,"line":83},[671],{"type":393,"tag":515,"props":672,"children":673},{"emptyLinePlaceholder":12},[674],{"type":398,"value":548},{"type":393,"tag":515,"props":676,"children":677},{"class":517,"line":92},[678,683,688,693],{"type":393,"tag":515,"props":679,"children":680},{"style":633},[681],{"type":398,"value":682},"print",{"type":393,"tag":515,"props":684,"children":685},{"style":527},[686],{"type":398,"value":687},"(",{"type":393,"tag":515,"props":689,"children":690},{"style":581},[691],{"type":398,"value":692},"\"Manual DataFrame:\"",{"type":393,"tag":515,"props":694,"children":695},{"style":527},[696],{"type":398,"value":697},")\n",{"type":393,"tag":515,"props":699,"children":700},{"class":517,"line":101},[701,705],{"type":393,"tag":515,"props":702,"children":703},{"style":633},[704],{"type":398,"value":682},{"type":393,"tag":515,"props":706,"children":707},{"style":527},[708],{"type":398,"value":709},"(manual_data)\n",{"type":393,"tag":515,"props":711,"children":712},{"class":517,"line":110},[713,717],{"type":393,"tag":515,"props":714,"children":715},{"style":633},[716],{"type":398,"value":682},{"type":393,"tag":515,"props":718,"children":719},{"style":527},[720],{"type":398,"value":721},"()\n",{"type":393,"tag":515,"props":723,"children":724},{"class":517,"line":121},[725],{"type":393,"tag":515,"props":726,"children":727},{"emptyLinePlaceholder":12},[728],{"type":398,"value":548},{"type":393,"tag":515,"props":730,"children":731},{"class":517,"line":130},[732],{"type":393,"tag":515,"props":733,"children":734},{"style":554},[735],{"type":398,"value":736},"# Real world: loading from files (what we'll learn)\n",{"type":393,"tag":515,"props":738,"children":739},{"class":517,"line":139},[740],{"type":393,"tag":515,"props":741,"children":742},{"style":554},[743],{"type":398,"value":744},"# df = pd.read_csv('students.csv')\n",{"type":393,"tag":515,"props":746,"children":747},{"class":517,"line":148},[748],{"type":393,"tag":515,"props":749,"children":750},{"style":554},[751],{"type":398,"value":752},"# df = pd.read_excel('sales_data.xlsx')\n",{"type":393,"tag":515,"props":754,"children":755},{"class":517,"line":159},[756],{"type":393,"tag":515,"props":757,"children":758},{"style":554},[759],{"type":398,"value":760},"# df = pd.read_json('api_response.json')\n",{"type":393,"tag":515,"props":762,"children":763},{"class":517,"line":168},[764],{"type":393,"tag":515,"props":765,"children":766},{"emptyLinePlaceholder":12},[767],{"type":398,"value":548},{"type":393,"tag":515,"props":769,"children":770},{"class":517,"line":177},[771,775,779,784],{"type":393,"tag":515,"props":772,"children":773},{"style":633},[774],{"type":398,"value":682},{"type":393,"tag":515,"props":776,"children":777},{"style":527},[778],{"type":398,"value":687},{"type":393,"tag":515,"props":780,"children":781},{"style":581},[782],{"type":398,"value":783},"\"🎯 Next: Loading from actual files!\"",{"type":393,"tag":515,"props":785,"children":786},{"style":527},[787],{"type":398,"value":697},{"type":393,"tag":488,"props":789,"children":791},{"id":790},"most-common-file-formats",[792],{"type":398,"value":793},"📋 Most Common File Formats",{"type":393,"tag":795,"props":796,"children":797},"table",{},[798,827],{"type":393,"tag":799,"props":800,"children":801},"thead",{},[802],{"type":393,"tag":803,"props":804,"children":805},"tr",{},[806,812,817,822],{"type":393,"tag":807,"props":808,"children":809},"th",{},[810],{"type":398,"value":811},"Format",{"type":393,"tag":807,"props":813,"children":814},{},[815],{"type":398,"value":816},"Extension",{"type":393,"tag":807,"props":818,"children":819},{},[820],{"type":398,"value":821},"Used For",{"type":393,"tag":807,"props":823,"children":824},{},[825],{"type":398,"value":826},"Pandas Method",{"type":393,"tag":828,"props":829,"children":830},"tbody",{},[831,862,892,922],{"type":393,"tag":803,"props":832,"children":833},{},[834,843,848,853],{"type":393,"tag":835,"props":836,"children":837},"td",{},[838],{"type":393,"tag":417,"props":839,"children":840},{},[841],{"type":398,"value":842},"CSV",{"type":393,"tag":835,"props":844,"children":845},{},[846],{"type":398,"value":847},".csv",{"type":393,"tag":835,"props":849,"children":850},{},[851],{"type":398,"value":852},"Spreadsheet exports, simple data",{"type":393,"tag":835,"props":854,"children":855},{},[856],{"type":393,"tag":511,"props":857,"children":859},{"className":858},[],[860],{"type":398,"value":861},"pd.read_csv()",{"type":393,"tag":803,"props":863,"children":864},{},[865,873,878,883],{"type":393,"tag":835,"props":866,"children":867},{},[868],{"type":393,"tag":417,"props":869,"children":870},{},[871],{"type":398,"value":872},"Excel",{"type":393,"tag":835,"props":874,"children":875},{},[876],{"type":398,"value":877},".xlsx, .xls",{"type":393,"tag":835,"props":879,"children":880},{},[881],{"type":398,"value":882},"Office spreadsheets",{"type":393,"tag":835,"props":884,"children":885},{},[886],{"type":393,"tag":511,"props":887,"children":889},{"className":888},[],[890],{"type":398,"value":891},"pd.read_excel()",{"type":393,"tag":803,"props":893,"children":894},{},[895,903,908,913],{"type":393,"tag":835,"props":896,"children":897},{},[898],{"type":393,"tag":417,"props":899,"children":900},{},[901],{"type":398,"value":902},"JSON",{"type":393,"tag":835,"props":904,"children":905},{},[906],{"type":398,"value":907},".json",{"type":393,"tag":835,"props":909,"children":910},{},[911],{"type":398,"value":912},"Web APIs, configuration",{"type":393,"tag":835,"props":914,"children":915},{},[916],{"type":393,"tag":511,"props":917,"children":919},{"className":918},[],[920],{"type":398,"value":921},"pd.read_json()",{"type":393,"tag":803,"props":923,"children":924},{},[925,933,938,942],{"type":393,"tag":835,"props":926,"children":927},{},[928],{"type":393,"tag":417,"props":929,"children":930},{},[931],{"type":398,"value":932},"SQL",{"type":393,"tag":835,"props":934,"children":935},{},[936],{"type":398,"value":937},".db, .sqlite",{"type":393,"tag":835,"props":939,"children":940},{},[941],{"type":398,"value":464},{"type":393,"tag":835,"props":943,"children":944},{},[945],{"type":393,"tag":511,"props":946,"children":948},{"className":947},[],[949],{"type":398,"value":950},"pd.read_sql()",{"type":393,"tag":488,"props":952,"children":954},{"id":953},"understanding-file-paths",[955],{"type":398,"value":956},"📂 Understanding File Paths",{"type":393,"tag":401,"props":958,"children":959},{},[960],{"type":398,"value":961},"Before loading files, you need to know where they are:",{"type":393,"tag":500,"props":963,"children":964},{},[965],{"type":393,"tag":504,"props":966,"children":968},{"className":506,"code":967,"language":508,"meta":6,"style":6},"import pandas as pd\nimport os\n\n# Check your current directory\nprint(\"Current directory:\")\nprint(os.getcwd())\nprint()\n\n# List files in current directory\nprint(\"Files here:\")\nfiles = [f for f in os.listdir('.') if f.endswith(('.csv', '.xlsx', '.json'))]\nif files:\n    print(files)\nelse:\n    print(\"No data files found in current directory\")\nprint()\n\n# Example file paths\nprint(\"File path examples:\")\nprint(\"Same folder: 'data.csv'\")\nprint(\"Subfolder: 'data/sales.csv'\")\nprint(\"Full path: 'C:/Users/YourName/Documents/data.csv'\")\n",[969],{"type":393,"tag":511,"props":970,"children":971},{"__ignoreMap":6},[972,991,1003,1010,1018,1038,1050,1061,1068,1076,1096,1181,1193,1206,1219,1239,1250,1257,1265,1285,1305,1325],{"type":393,"tag":515,"props":973,"children":974},{"class":517,"line":11},[975,979,983,987],{"type":393,"tag":515,"props":976,"children":977},{"style":521},[978],{"type":398,"value":524},{"type":393,"tag":515,"props":980,"children":981},{"style":527},[982],{"type":398,"value":530},{"type":393,"tag":515,"props":984,"children":985},{"style":521},[986],{"type":398,"value":535},{"type":393,"tag":515,"props":988,"children":989},{"style":527},[990],{"type":398,"value":540},{"type":393,"tag":515,"props":992,"children":993},{"class":517,"line":27},[994,998],{"type":393,"tag":515,"props":995,"children":996},{"style":521},[997],{"type":398,"value":524},{"type":393,"tag":515,"props":999,"children":1000},{"style":527},[1001],{"type":398,"value":1002}," os\n",{"type":393,"tag":515,"props":1004,"children":1005},{"class":517,"line":36},[1006],{"type":393,"tag":515,"props":1007,"children":1008},{"emptyLinePlaceholder":12},[1009],{"type":398,"value":548},{"type":393,"tag":515,"props":1011,"children":1012},{"class":517,"line":45},[1013],{"type":393,"tag":515,"props":1014,"children":1015},{"style":554},[1016],{"type":398,"value":1017},"# Check your current directory\n",{"type":393,"tag":515,"props":1019,"children":1020},{"class":517,"line":54},[1021,1025,1029,1034],{"type":393,"tag":515,"props":1022,"children":1023},{"style":633},[1024],{"type":398,"value":682},{"type":393,"tag":515,"props":1026,"children":1027},{"style":527},[1028],{"type":398,"value":687},{"type":393,"tag":515,"props":1030,"children":1031},{"style":581},[1032],{"type":398,"value":1033},"\"Current directory:\"",{"type":393,"tag":515,"props":1035,"children":1036},{"style":527},[1037],{"type":398,"value":697},{"type":393,"tag":515,"props":1039,"children":1040},{"class":517,"line":63},[1041,1045],{"type":393,"tag":515,"props":1042,"children":1043},{"style":633},[1044],{"type":398,"value":682},{"type":393,"tag":515,"props":1046,"children":1047},{"style":527},[1048],{"type":398,"value":1049},"(os.getcwd())\n",{"type":393,"tag":515,"props":1051,"children":1052},{"class":517,"line":72},[1053,1057],{"type":393,"tag":515,"props":1054,"children":1055},{"style":633},[1056],{"type":398,"value":682},{"type":393,"tag":515,"props":1058,"children":1059},{"style":527},[1060],{"type":398,"value":721},{"type":393,"tag":515,"props":1062,"children":1063},{"class":517,"line":83},[1064],{"type":393,"tag":515,"props":1065,"children":1066},{"emptyLinePlaceholder":12},[1067],{"type":398,"value":548},{"type":393,"tag":515,"props":1069,"children":1070},{"class":517,"line":92},[1071],{"type":393,"tag":515,"props":1072,"children":1073},{"style":554},[1074],{"type":398,"value":1075},"# List files in current directory\n",{"type":393,"tag":515,"props":1077,"children":1078},{"class":517,"line":101},[1079,1083,1087,1092],{"type":393,"tag":515,"props":1080,"children":1081},{"style":633},[1082],{"type":398,"value":682},{"type":393,"tag":515,"props":1084,"children":1085},{"style":527},[1086],{"type":398,"value":687},{"type":393,"tag":515,"props":1088,"children":1089},{"style":581},[1090],{"type":398,"value":1091},"\"Files here:\"",{"type":393,"tag":515,"props":1093,"children":1094},{"style":527},[1095],{"type":398,"value":697},{"type":393,"tag":515,"props":1097,"children":1098},{"class":517,"line":110},[1099,1104,1108,1113,1118,1123,1128,1133,1138,1143,1148,1153,1158,1162,1167,1171,1176],{"type":393,"tag":515,"props":1100,"children":1101},{"style":527},[1102],{"type":398,"value":1103},"files ",{"type":393,"tag":515,"props":1105,"children":1106},{"style":521},[1107],{"type":398,"value":570},{"type":393,"tag":515,"props":1109,"children":1110},{"style":527},[1111],{"type":398,"value":1112}," [f ",{"type":393,"tag":515,"props":1114,"children":1115},{"style":521},[1116],{"type":398,"value":1117},"for",{"type":393,"tag":515,"props":1119,"children":1120},{"style":527},[1121],{"type":398,"value":1122}," f ",{"type":393,"tag":515,"props":1124,"children":1125},{"style":521},[1126],{"type":398,"value":1127},"in",{"type":393,"tag":515,"props":1129,"children":1130},{"style":527},[1131],{"type":398,"value":1132}," os.listdir(",{"type":393,"tag":515,"props":1134,"children":1135},{"style":581},[1136],{"type":398,"value":1137},"'.'",{"type":393,"tag":515,"props":1139,"children":1140},{"style":527},[1141],{"type":398,"value":1142},") ",{"type":393,"tag":515,"props":1144,"children":1145},{"style":521},[1146],{"type":398,"value":1147},"if",{"type":393,"tag":515,"props":1149,"children":1150},{"style":527},[1151],{"type":398,"value":1152}," f.endswith((",{"type":393,"tag":515,"props":1154,"children":1155},{"style":581},[1156],{"type":398,"value":1157},"'.csv'",{"type":393,"tag":515,"props":1159,"children":1160},{"style":527},[1161],{"type":398,"value":599},{"type":393,"tag":515,"props":1163,"children":1164},{"style":581},[1165],{"type":398,"value":1166},"'.xlsx'",{"type":393,"tag":515,"props":1168,"children":1169},{"style":527},[1170],{"type":398,"value":599},{"type":393,"tag":515,"props":1172,"children":1173},{"style":581},[1174],{"type":398,"value":1175},"'.json'",{"type":393,"tag":515,"props":1177,"children":1178},{"style":527},[1179],{"type":398,"value":1180},"))]\n",{"type":393,"tag":515,"props":1182,"children":1183},{"class":517,"line":121},[1184,1188],{"type":393,"tag":515,"props":1185,"children":1186},{"style":521},[1187],{"type":398,"value":1147},{"type":393,"tag":515,"props":1189,"children":1190},{"style":527},[1191],{"type":398,"value":1192}," files:\n",{"type":393,"tag":515,"props":1194,"children":1195},{"class":517,"line":130},[1196,1201],{"type":393,"tag":515,"props":1197,"children":1198},{"style":633},[1199],{"type":398,"value":1200},"    print",{"type":393,"tag":515,"props":1202,"children":1203},{"style":527},[1204],{"type":398,"value":1205},"(files)\n",{"type":393,"tag":515,"props":1207,"children":1208},{"class":517,"line":139},[1209,1214],{"type":393,"tag":515,"props":1210,"children":1211},{"style":521},[1212],{"type":398,"value":1213},"else",{"type":393,"tag":515,"props":1215,"children":1216},{"style":527},[1217],{"type":398,"value":1218},":\n",{"type":393,"tag":515,"props":1220,"children":1221},{"class":517,"line":148},[1222,1226,1230,1235],{"type":393,"tag":515,"props":1223,"children":1224},{"style":633},[1225],{"type":398,"value":1200},{"type":393,"tag":515,"props":1227,"children":1228},{"style":527},[1229],{"type":398,"value":687},{"type":393,"tag":515,"props":1231,"children":1232},{"style":581},[1233],{"type":398,"value":1234},"\"No data files found in current directory\"",{"type":393,"tag":515,"props":1236,"children":1237},{"style":527},[1238],{"type":398,"value":697},{"type":393,"tag":515,"props":1240,"children":1241},{"class":517,"line":159},[1242,1246],{"type":393,"tag":515,"props":1243,"children":1244},{"style":633},[1245],{"type":398,"value":682},{"type":393,"tag":515,"props":1247,"children":1248},{"style":527},[1249],{"type":398,"value":721},{"type":393,"tag":515,"props":1251,"children":1252},{"class":517,"line":168},[1253],{"type":393,"tag":515,"props":1254,"children":1255},{"emptyLinePlaceholder":12},[1256],{"type":398,"value":548},{"type":393,"tag":515,"props":1258,"children":1259},{"class":517,"line":177},[1260],{"type":393,"tag":515,"props":1261,"children":1262},{"style":554},[1263],{"type":398,"value":1264},"# Example file paths\n",{"type":393,"tag":515,"props":1266,"children":1267},{"class":517,"line":186},[1268,1272,1276,1281],{"type":393,"tag":515,"props":1269,"children":1270},{"style":633},[1271],{"type":398,"value":682},{"type":393,"tag":515,"props":1273,"children":1274},{"style":527},[1275],{"type":398,"value":687},{"type":393,"tag":515,"props":1277,"children":1278},{"style":581},[1279],{"type":398,"value":1280},"\"File path examples:\"",{"type":393,"tag":515,"props":1282,"children":1283},{"style":527},[1284],{"type":398,"value":697},{"type":393,"tag":515,"props":1286,"children":1287},{"class":517,"line":197},[1288,1292,1296,1301],{"type":393,"tag":515,"props":1289,"children":1290},{"style":633},[1291],{"type":398,"value":682},{"type":393,"tag":515,"props":1293,"children":1294},{"style":527},[1295],{"type":398,"value":687},{"type":393,"tag":515,"props":1297,"children":1298},{"style":581},[1299],{"type":398,"value":1300},"\"Same folder: 'data.csv'\"",{"type":393,"tag":515,"props":1302,"children":1303},{"style":527},[1304],{"type":398,"value":697},{"type":393,"tag":515,"props":1306,"children":1307},{"class":517,"line":206},[1308,1312,1316,1321],{"type":393,"tag":515,"props":1309,"children":1310},{"style":633},[1311],{"type":398,"value":682},{"type":393,"tag":515,"props":1313,"children":1314},{"style":527},[1315],{"type":398,"value":687},{"type":393,"tag":515,"props":1317,"children":1318},{"style":581},[1319],{"type":398,"value":1320},"\"Subfolder: 'data/sales.csv'\"",{"type":393,"tag":515,"props":1322,"children":1323},{"style":527},[1324],{"type":398,"value":697},{"type":393,"tag":515,"props":1326,"children":1327},{"class":517,"line":215},[1328,1332,1336,1341],{"type":393,"tag":515,"props":1329,"children":1330},{"style":633},[1331],{"type":398,"value":682},{"type":393,"tag":515,"props":1333,"children":1334},{"style":527},[1335],{"type":398,"value":687},{"type":393,"tag":515,"props":1337,"children":1338},{"style":581},[1339],{"type":398,"value":1340},"\"Full path: 'C:/Users/YourName/Documents/data.csv'\"",{"type":393,"tag":515,"props":1342,"children":1343},{"style":527},[1344],{"type":398,"value":697},{"type":393,"tag":488,"props":1346,"children":1348},{"id":1347},"️-basic-loading-pattern",[1349],{"type":398,"value":1350},"🛠️ Basic Loading Pattern",{"type":393,"tag":401,"props":1352,"children":1353},{},[1354],{"type":398,"value":1355},"Every file loading follows the same pattern:",{"type":393,"tag":407,"props":1357,"children":1361},{"emoji":1358,"title":1359,"type":1360},"📋","Loading Pattern","success",[1362,1372,1382,1392,1402],{"type":393,"tag":401,"props":1363,"children":1364},{},[1365,1370],{"type":393,"tag":417,"props":1366,"children":1367},{},[1368],{"type":398,"value":1369},"Step 1:",{"type":398,"value":1371}," Choose the right method for your file type",{"type":393,"tag":401,"props":1373,"children":1374},{},[1375,1380],{"type":393,"tag":417,"props":1376,"children":1377},{},[1378],{"type":398,"value":1379},"Step 2:",{"type":398,"value":1381}," Provide the file path",{"type":393,"tag":401,"props":1383,"children":1384},{},[1385,1390],{"type":393,"tag":417,"props":1386,"children":1387},{},[1388],{"type":398,"value":1389},"Step 3:",{"type":398,"value":1391}," Handle any errors",{"type":393,"tag":401,"props":1393,"children":1394},{},[1395,1400],{"type":393,"tag":417,"props":1396,"children":1397},{},[1398],{"type":398,"value":1399},"Step 4:",{"type":398,"value":1401}," Explore the loaded data",{"type":393,"tag":504,"props":1403,"children":1405},{"className":506,"code":1404,"language":508,"meta":6,"style":6},"# Basic pattern\ntry:\n    df = pd.read_csv('your_file.csv')  # or read_excel, read_json\n    print(f\"Loaded {df.shape[0]} rows and {df.shape[1]} columns\")\n    print(df.head())\nexcept FileNotFoundError:\n    print(\"File not found! Check your path.\")\n",[1406],{"type":393,"tag":511,"props":1407,"children":1408},{"__ignoreMap":6},[1409,1417,1429,1461,1542,1554,1571],{"type":393,"tag":515,"props":1410,"children":1411},{"class":517,"line":11},[1412],{"type":393,"tag":515,"props":1413,"children":1414},{"style":554},[1415],{"type":398,"value":1416},"# Basic pattern\n",{"type":393,"tag":515,"props":1418,"children":1419},{"class":517,"line":27},[1420,1425],{"type":393,"tag":515,"props":1421,"children":1422},{"style":521},[1423],{"type":398,"value":1424},"try",{"type":393,"tag":515,"props":1426,"children":1427},{"style":527},[1428],{"type":398,"value":1218},{"type":393,"tag":515,"props":1430,"children":1431},{"class":517,"line":36},[1432,1437,1441,1446,1451,1456],{"type":393,"tag":515,"props":1433,"children":1434},{"style":527},[1435],{"type":398,"value":1436},"    df ",{"type":393,"tag":515,"props":1438,"children":1439},{"style":521},[1440],{"type":398,"value":570},{"type":393,"tag":515,"props":1442,"children":1443},{"style":527},[1444],{"type":398,"value":1445}," pd.read_csv(",{"type":393,"tag":515,"props":1447,"children":1448},{"style":581},[1449],{"type":398,"value":1450},"'your_file.csv'",{"type":393,"tag":515,"props":1452,"children":1453},{"style":527},[1454],{"type":398,"value":1455},")  ",{"type":393,"tag":515,"props":1457,"children":1458},{"style":554},[1459],{"type":398,"value":1460},"# or read_excel, read_json\n",{"type":393,"tag":515,"props":1462,"children":1463},{"class":517,"line":45},[1464,1468,1472,1477,1482,1487,1492,1497,1502,1507,1512,1516,1520,1525,1529,1533,1538],{"type":393,"tag":515,"props":1465,"children":1466},{"style":633},[1467],{"type":398,"value":1200},{"type":393,"tag":515,"props":1469,"children":1470},{"style":527},[1471],{"type":398,"value":687},{"type":393,"tag":515,"props":1473,"children":1474},{"style":521},[1475],{"type":398,"value":1476},"f",{"type":393,"tag":515,"props":1478,"children":1479},{"style":581},[1480],{"type":398,"value":1481},"\"Loaded ",{"type":393,"tag":515,"props":1483,"children":1484},{"style":633},[1485],{"type":398,"value":1486},"{",{"type":393,"tag":515,"props":1488,"children":1489},{"style":527},[1490],{"type":398,"value":1491},"df.shape[",{"type":393,"tag":515,"props":1493,"children":1494},{"style":633},[1495],{"type":398,"value":1496},"0",{"type":393,"tag":515,"props":1498,"children":1499},{"style":527},[1500],{"type":398,"value":1501},"]",{"type":393,"tag":515,"props":1503,"children":1504},{"style":633},[1505],{"type":398,"value":1506},"}",{"type":393,"tag":515,"props":1508,"children":1509},{"style":581},[1510],{"type":398,"value":1511}," rows and ",{"type":393,"tag":515,"props":1513,"children":1514},{"style":633},[1515],{"type":398,"value":1486},{"type":393,"tag":515,"props":1517,"children":1518},{"style":527},[1519],{"type":398,"value":1491},{"type":393,"tag":515,"props":1521,"children":1522},{"style":633},[1523],{"type":398,"value":1524},"1",{"type":393,"tag":515,"props":1526,"children":1527},{"style":527},[1528],{"type":398,"value":1501},{"type":393,"tag":515,"props":1530,"children":1531},{"style":633},[1532],{"type":398,"value":1506},{"type":393,"tag":515,"props":1534,"children":1535},{"style":581},[1536],{"type":398,"value":1537}," columns\"",{"type":393,"tag":515,"props":1539,"children":1540},{"style":527},[1541],{"type":398,"value":697},{"type":393,"tag":515,"props":1543,"children":1544},{"class":517,"line":54},[1545,1549],{"type":393,"tag":515,"props":1546,"children":1547},{"style":633},[1548],{"type":398,"value":1200},{"type":393,"tag":515,"props":1550,"children":1551},{"style":527},[1552],{"type":398,"value":1553},"(df.head())\n",{"type":393,"tag":515,"props":1555,"children":1556},{"class":517,"line":63},[1557,1562,1567],{"type":393,"tag":515,"props":1558,"children":1559},{"style":521},[1560],{"type":398,"value":1561},"except",{"type":393,"tag":515,"props":1563,"children":1564},{"style":633},[1565],{"type":398,"value":1566}," FileNotFoundError",{"type":393,"tag":515,"props":1568,"children":1569},{"style":527},[1570],{"type":398,"value":1218},{"type":393,"tag":515,"props":1572,"children":1573},{"class":517,"line":72},[1574,1578,1582,1587],{"type":393,"tag":515,"props":1575,"children":1576},{"style":633},[1577],{"type":398,"value":1200},{"type":393,"tag":515,"props":1579,"children":1580},{"style":527},[1581],{"type":398,"value":687},{"type":393,"tag":515,"props":1583,"children":1584},{"style":581},[1585],{"type":398,"value":1586},"\"File not found! Check your path.\"",{"type":393,"tag":515,"props":1588,"children":1589},{"style":527},[1590],{"type":398,"value":697},{"type":393,"tag":488,"props":1592,"children":1594},{"id":1593},"what-youll-learn-in-this-section",[1595],{"type":398,"value":1596},"📊 What You'll Learn in This Section",{"type":393,"tag":401,"props":1598,"children":1599},{},[1600],{"type":398,"value":1601},"Master loading data from different sources:",{"type":393,"tag":423,"props":1603,"children":1604},{},[1605,1617,1628],{"type":393,"tag":427,"props":1606,"children":1607},{},[1608,1610,1615],{"type":398,"value":1609},"📄 ",{"type":393,"tag":1611,"props":1612,"children":1613},"a",{"href":79},[1614],{"type":398,"value":80},{"type":398,"value":1616}," Load data from the most common file formats with practical examples.",{"type":393,"tag":427,"props":1618,"children":1619},{},[1620,1622,1626],{"type":398,"value":1621},"🗄️ ",{"type":393,"tag":1611,"props":1623,"children":1624},{"href":88},[1625],{"type":398,"value":89},{"type":398,"value":1627}," Connect to databases and import data directly into DataFrames.",{"type":393,"tag":427,"props":1629,"children":1630},{},[1631,1633,1637],{"type":398,"value":1632},"⚠️ ",{"type":393,"tag":1611,"props":1634,"children":1635},{"href":97},[1636],{"type":398,"value":98},{"type":398,"value":1638}," Deal with common problems when loading data files.",{"type":393,"tag":488,"props":1640,"children":1642},{"id":1641},"simple-loading-examples",[1643],{"type":398,"value":1644},"🎮 Simple Loading Examples",{"type":393,"tag":401,"props":1646,"children":1647},{},[1648],{"type":398,"value":1649},"Here's what loading data looks like in practice:",{"type":393,"tag":500,"props":1651,"children":1652},{},[1653],{"type":393,"tag":504,"props":1654,"children":1656},{"className":506,"code":1655,"language":508,"meta":6,"style":6},"import pandas as pd\n\n# Simulate loading different file types\nprint(\"📄 CSV Loading:\")\nprint(\"df = pd.read_csv('sales_data.csv')\")\nprint(\"✅ Loaded 1000 rows, 5 columns\")\nprint()\n\nprint(\"📊 Excel Loading:\")\nprint(\"df = pd.read_excel('monthly_report.xlsx')\")\nprint(\"✅ Loaded 500 rows, 8 columns\")\nprint()\n\nprint(\"🌐 JSON Loading:\")\nprint(\"df = pd.read_json('api_data.json')\")\nprint(\"✅ Loaded 250 rows, 3 columns\")\nprint()\n\nprint(\"🗄️ Database Loading:\")\nprint(\"df = pd.read_sql('SELECT * FROM customers', connection)\")\nprint(\"✅ Loaded 2000 rows, 10 columns\")\n",[1657],{"type":393,"tag":511,"props":1658,"children":1659},{"__ignoreMap":6},[1660,1679,1686,1694,1714,1734,1754,1765,1772,1792,1812,1832,1843,1850,1870,1890,1910,1921,1928,1948,1968],{"type":393,"tag":515,"props":1661,"children":1662},{"class":517,"line":11},[1663,1667,1671,1675],{"type":393,"tag":515,"props":1664,"children":1665},{"style":521},[1666],{"type":398,"value":524},{"type":393,"tag":515,"props":1668,"children":1669},{"style":527},[1670],{"type":398,"value":530},{"type":393,"tag":515,"props":1672,"children":1673},{"style":521},[1674],{"type":398,"value":535},{"type":393,"tag":515,"props":1676,"children":1677},{"style":527},[1678],{"type":398,"value":540},{"type":393,"tag":515,"props":1680,"children":1681},{"class":517,"line":27},[1682],{"type":393,"tag":515,"props":1683,"children":1684},{"emptyLinePlaceholder":12},[1685],{"type":398,"value":548},{"type":393,"tag":515,"props":1687,"children":1688},{"class":517,"line":36},[1689],{"type":393,"tag":515,"props":1690,"children":1691},{"style":554},[1692],{"type":398,"value":1693},"# Simulate loading different file types\n",{"type":393,"tag":515,"props":1695,"children":1696},{"class":517,"line":45},[1697,1701,1705,1710],{"type":393,"tag":515,"props":1698,"children":1699},{"style":633},[1700],{"type":398,"value":682},{"type":393,"tag":515,"props":1702,"children":1703},{"style":527},[1704],{"type":398,"value":687},{"type":393,"tag":515,"props":1706,"children":1707},{"style":581},[1708],{"type":398,"value":1709},"\"📄 CSV Loading:\"",{"type":393,"tag":515,"props":1711,"children":1712},{"style":527},[1713],{"type":398,"value":697},{"type":393,"tag":515,"props":1715,"children":1716},{"class":517,"line":54},[1717,1721,1725,1730],{"type":393,"tag":515,"props":1718,"children":1719},{"style":633},[1720],{"type":398,"value":682},{"type":393,"tag":515,"props":1722,"children":1723},{"style":527},[1724],{"type":398,"value":687},{"type":393,"tag":515,"props":1726,"children":1727},{"style":581},[1728],{"type":398,"value":1729},"\"df = pd.read_csv('sales_data.csv')\"",{"type":393,"tag":515,"props":1731,"children":1732},{"style":527},[1733],{"type":398,"value":697},{"type":393,"tag":515,"props":1735,"children":1736},{"class":517,"line":63},[1737,1741,1745,1750],{"type":393,"tag":515,"props":1738,"children":1739},{"style":633},[1740],{"type":398,"value":682},{"type":393,"tag":515,"props":1742,"children":1743},{"style":527},[1744],{"type":398,"value":687},{"type":393,"tag":515,"props":1746,"children":1747},{"style":581},[1748],{"type":398,"value":1749},"\"✅ Loaded 1000 rows, 5 columns\"",{"type":393,"tag":515,"props":1751,"children":1752},{"style":527},[1753],{"type":398,"value":697},{"type":393,"tag":515,"props":1755,"children":1756},{"class":517,"line":72},[1757,1761],{"type":393,"tag":515,"props":1758,"children":1759},{"style":633},[1760],{"type":398,"value":682},{"type":393,"tag":515,"props":1762,"children":1763},{"style":527},[1764],{"type":398,"value":721},{"type":393,"tag":515,"props":1766,"children":1767},{"class":517,"line":83},[1768],{"type":393,"tag":515,"props":1769,"children":1770},{"emptyLinePlaceholder":12},[1771],{"type":398,"value":548},{"type":393,"tag":515,"props":1773,"children":1774},{"class":517,"line":92},[1775,1779,1783,1788],{"type":393,"tag":515,"props":1776,"children":1777},{"style":633},[1778],{"type":398,"value":682},{"type":393,"tag":515,"props":1780,"children":1781},{"style":527},[1782],{"type":398,"value":687},{"type":393,"tag":515,"props":1784,"children":1785},{"style":581},[1786],{"type":398,"value":1787},"\"📊 Excel Loading:\"",{"type":393,"tag":515,"props":1789,"children":1790},{"style":527},[1791],{"type":398,"value":697},{"type":393,"tag":515,"props":1793,"children":1794},{"class":517,"line":101},[1795,1799,1803,1808],{"type":393,"tag":515,"props":1796,"children":1797},{"style":633},[1798],{"type":398,"value":682},{"type":393,"tag":515,"props":1800,"children":1801},{"style":527},[1802],{"type":398,"value":687},{"type":393,"tag":515,"props":1804,"children":1805},{"style":581},[1806],{"type":398,"value":1807},"\"df = pd.read_excel('monthly_report.xlsx')\"",{"type":393,"tag":515,"props":1809,"children":1810},{"style":527},[1811],{"type":398,"value":697},{"type":393,"tag":515,"props":1813,"children":1814},{"class":517,"line":110},[1815,1819,1823,1828],{"type":393,"tag":515,"props":1816,"children":1817},{"style":633},[1818],{"type":398,"value":682},{"type":393,"tag":515,"props":1820,"children":1821},{"style":527},[1822],{"type":398,"value":687},{"type":393,"tag":515,"props":1824,"children":1825},{"style":581},[1826],{"type":398,"value":1827},"\"✅ Loaded 500 rows, 8 columns\"",{"type":393,"tag":515,"props":1829,"children":1830},{"style":527},[1831],{"type":398,"value":697},{"type":393,"tag":515,"props":1833,"children":1834},{"class":517,"line":121},[1835,1839],{"type":393,"tag":515,"props":1836,"children":1837},{"style":633},[1838],{"type":398,"value":682},{"type":393,"tag":515,"props":1840,"children":1841},{"style":527},[1842],{"type":398,"value":721},{"type":393,"tag":515,"props":1844,"children":1845},{"class":517,"line":130},[1846],{"type":393,"tag":515,"props":1847,"children":1848},{"emptyLinePlaceholder":12},[1849],{"type":398,"value":548},{"type":393,"tag":515,"props":1851,"children":1852},{"class":517,"line":139},[1853,1857,1861,1866],{"type":393,"tag":515,"props":1854,"children":1855},{"style":633},[1856],{"type":398,"value":682},{"type":393,"tag":515,"props":1858,"children":1859},{"style":527},[1860],{"type":398,"value":687},{"type":393,"tag":515,"props":1862,"children":1863},{"style":581},[1864],{"type":398,"value":1865},"\"🌐 JSON Loading:\"",{"type":393,"tag":515,"props":1867,"children":1868},{"style":527},[1869],{"type":398,"value":697},{"type":393,"tag":515,"props":1871,"children":1872},{"class":517,"line":148},[1873,1877,1881,1886],{"type":393,"tag":515,"props":1874,"children":1875},{"style":633},[1876],{"type":398,"value":682},{"type":393,"tag":515,"props":1878,"children":1879},{"style":527},[1880],{"type":398,"value":687},{"type":393,"tag":515,"props":1882,"children":1883},{"style":581},[1884],{"type":398,"value":1885},"\"df = pd.read_json('api_data.json')\"",{"type":393,"tag":515,"props":1887,"children":1888},{"style":527},[1889],{"type":398,"value":697},{"type":393,"tag":515,"props":1891,"children":1892},{"class":517,"line":159},[1893,1897,1901,1906],{"type":393,"tag":515,"props":1894,"children":1895},{"style":633},[1896],{"type":398,"value":682},{"type":393,"tag":515,"props":1898,"children":1899},{"style":527},[1900],{"type":398,"value":687},{"type":393,"tag":515,"props":1902,"children":1903},{"style":581},[1904],{"type":398,"value":1905},"\"✅ Loaded 250 rows, 3 columns\"",{"type":393,"tag":515,"props":1907,"children":1908},{"style":527},[1909],{"type":398,"value":697},{"type":393,"tag":515,"props":1911,"children":1912},{"class":517,"line":168},[1913,1917],{"type":393,"tag":515,"props":1914,"children":1915},{"style":633},[1916],{"type":398,"value":682},{"type":393,"tag":515,"props":1918,"children":1919},{"style":527},[1920],{"type":398,"value":721},{"type":393,"tag":515,"props":1922,"children":1923},{"class":517,"line":177},[1924],{"type":393,"tag":515,"props":1925,"children":1926},{"emptyLinePlaceholder":12},[1927],{"type":398,"value":548},{"type":393,"tag":515,"props":1929,"children":1930},{"class":517,"line":186},[1931,1935,1939,1944],{"type":393,"tag":515,"props":1932,"children":1933},{"style":633},[1934],{"type":398,"value":682},{"type":393,"tag":515,"props":1936,"children":1937},{"style":527},[1938],{"type":398,"value":687},{"type":393,"tag":515,"props":1940,"children":1941},{"style":581},[1942],{"type":398,"value":1943},"\"🗄️ Database Loading:\"",{"type":393,"tag":515,"props":1945,"children":1946},{"style":527},[1947],{"type":398,"value":697},{"type":393,"tag":515,"props":1949,"children":1950},{"class":517,"line":197},[1951,1955,1959,1964],{"type":393,"tag":515,"props":1952,"children":1953},{"style":633},[1954],{"type":398,"value":682},{"type":393,"tag":515,"props":1956,"children":1957},{"style":527},[1958],{"type":398,"value":687},{"type":393,"tag":515,"props":1960,"children":1961},{"style":581},[1962],{"type":398,"value":1963},"\"df = pd.read_sql('SELECT * FROM customers', connection)\"",{"type":393,"tag":515,"props":1965,"children":1966},{"style":527},[1967],{"type":398,"value":697},{"type":393,"tag":515,"props":1969,"children":1970},{"class":517,"line":206},[1971,1975,1979,1984],{"type":393,"tag":515,"props":1972,"children":1973},{"style":633},[1974],{"type":398,"value":682},{"type":393,"tag":515,"props":1976,"children":1977},{"style":527},[1978],{"type":398,"value":687},{"type":393,"tag":515,"props":1980,"children":1981},{"style":581},[1982],{"type":398,"value":1983},"\"✅ Loaded 2000 rows, 10 columns\"",{"type":393,"tag":515,"props":1985,"children":1986},{"style":527},[1987],{"type":398,"value":697},{"type":393,"tag":488,"props":1989,"children":1991},{"id":1990},"common-loading-issues",[1992],{"type":398,"value":1993},"🔧 Common Loading Issues",{"type":393,"tag":795,"props":1995,"children":1996},{},[1997,2013],{"type":393,"tag":799,"props":1998,"children":1999},{},[2000],{"type":393,"tag":803,"props":2001,"children":2002},{},[2003,2008],{"type":393,"tag":807,"props":2004,"children":2005},{},[2006],{"type":398,"value":2007},"Problem",{"type":393,"tag":807,"props":2009,"children":2010},{},[2011],{"type":398,"value":2012},"Solution",{"type":393,"tag":828,"props":2014,"children":2015},{},[2016,2029,2042,2063,2090],{"type":393,"tag":803,"props":2017,"children":2018},{},[2019,2024],{"type":393,"tag":835,"props":2020,"children":2021},{},[2022],{"type":398,"value":2023},"\"File not found\"",{"type":393,"tag":835,"props":2025,"children":2026},{},[2027],{"type":398,"value":2028},"Check file path and name",{"type":393,"tag":803,"props":2030,"children":2031},{},[2032,2037],{"type":393,"tag":835,"props":2033,"children":2034},{},[2035],{"type":398,"value":2036},"\"Permission denied\"",{"type":393,"tag":835,"props":2038,"children":2039},{},[2040],{"type":398,"value":2041},"Make sure file isn't open in Excel",{"type":393,"tag":803,"props":2043,"children":2044},{},[2045,2050],{"type":393,"tag":835,"props":2046,"children":2047},{},[2048],{"type":398,"value":2049},"\"Encoding error\"",{"type":393,"tag":835,"props":2051,"children":2052},{},[2053,2055,2061],{"type":398,"value":2054},"Try ",{"type":393,"tag":511,"props":2056,"children":2058},{"className":2057},[],[2059],{"type":398,"value":2060},"encoding='utf-8'",{"type":398,"value":2062}," parameter",{"type":393,"tag":803,"props":2064,"children":2065},{},[2066,2071],{"type":393,"tag":835,"props":2067,"children":2068},{},[2069],{"type":398,"value":2070},"\"Wrong separator\"",{"type":393,"tag":835,"props":2072,"children":2073},{},[2074,2076,2082,2084],{"type":398,"value":2075},"For CSV, try ",{"type":393,"tag":511,"props":2077,"children":2079},{"className":2078},[],[2080],{"type":398,"value":2081},"sep=';'",{"type":398,"value":2083}," or ",{"type":393,"tag":511,"props":2085,"children":2087},{"className":2086},[],[2088],{"type":398,"value":2089},"sep='\\t'",{"type":393,"tag":803,"props":2091,"children":2092},{},[2093,2098],{"type":393,"tag":835,"props":2094,"children":2095},{},[2096],{"type":398,"value":2097},"\"Date parsing issues\"",{"type":393,"tag":835,"props":2099,"children":2100},{},[2101,2103,2109],{"type":398,"value":2102},"Use ",{"type":393,"tag":511,"props":2104,"children":2106},{"className":2105},[],[2107],{"type":398,"value":2108},"parse_dates",{"type":398,"value":2062},{"type":393,"tag":488,"props":2111,"children":2113},{"id":2112},"key-takeaways",[2114],{"type":398,"value":2115},"🎯 Key Takeaways",{"type":393,"tag":407,"props":2117,"children":2120},{"emoji":2118,"title":2119,"type":1360},"📚","Data Loading Essentials",[2121,2129,2165,2173,2210,2218,2254],{"type":393,"tag":401,"props":2122,"children":2123},{},[2124],{"type":393,"tag":417,"props":2125,"children":2126},{},[2127],{"type":398,"value":2128},"File Loading Basics:",{"type":393,"tag":423,"props":2130,"children":2131},{},[2132,2143,2154],{"type":393,"tag":427,"props":2133,"children":2134},{},[2135,2137],{"type":398,"value":2136},"CSV: ",{"type":393,"tag":511,"props":2138,"children":2140},{"className":2139},[],[2141],{"type":398,"value":2142},"pd.read_csv('file.csv')",{"type":393,"tag":427,"props":2144,"children":2145},{},[2146,2148],{"type":398,"value":2147},"Excel: ",{"type":393,"tag":511,"props":2149,"children":2151},{"className":2150},[],[2152],{"type":398,"value":2153},"pd.read_excel('file.xlsx')",{"type":393,"tag":427,"props":2155,"children":2156},{},[2157,2159],{"type":398,"value":2158},"JSON: ",{"type":393,"tag":511,"props":2160,"children":2162},{"className":2161},[],[2163],{"type":398,"value":2164},"pd.read_json('file.json')",{"type":393,"tag":401,"props":2166,"children":2167},{},[2168],{"type":393,"tag":417,"props":2169,"children":2170},{},[2171],{"type":398,"value":2172},"Always Remember:",{"type":393,"tag":423,"props":2174,"children":2175},{},[2176,2181,2200,2205],{"type":393,"tag":427,"props":2177,"children":2178},{},[2179],{"type":398,"value":2180},"Check your file path first",{"type":393,"tag":427,"props":2182,"children":2183},{},[2184,2186,2192,2194],{"type":398,"value":2185},"Explore loaded data with ",{"type":393,"tag":511,"props":2187,"children":2189},{"className":2188},[],[2190],{"type":398,"value":2191},".head()",{"type":398,"value":2193}," and ",{"type":393,"tag":511,"props":2195,"children":2197},{"className":2196},[],[2198],{"type":398,"value":2199},".info()",{"type":393,"tag":427,"props":2201,"children":2202},{},[2203],{"type":398,"value":2204},"Handle errors gracefully with try/except",{"type":393,"tag":427,"props":2206,"children":2207},{},[2208],{"type":398,"value":2209},"Start simple, add options as needed",{"type":393,"tag":401,"props":2211,"children":2212},{},[2213],{"type":393,"tag":417,"props":2214,"children":2215},{},[2216],{"type":398,"value":2217},"File Path Tips:",{"type":393,"tag":423,"props":2219,"children":2220},{},[2221,2232,2243],{"type":393,"tag":427,"props":2222,"children":2223},{},[2224,2226],{"type":398,"value":2225},"Use forward slashes: ",{"type":393,"tag":511,"props":2227,"children":2229},{"className":2228},[],[2230],{"type":398,"value":2231},"'data/file.csv'",{"type":393,"tag":427,"props":2233,"children":2234},{},[2235,2237],{"type":398,"value":2236},"Or escape backslashes: ",{"type":393,"tag":511,"props":2238,"children":2240},{"className":2239},[],[2241],{"type":398,"value":2242},"'data\\\\file.csv'",{"type":393,"tag":427,"props":2244,"children":2245},{},[2246,2248],{"type":398,"value":2247},"Check current directory with ",{"type":393,"tag":511,"props":2249,"children":2251},{"className":2250},[],[2252],{"type":398,"value":2253},"os.getcwd()",{"type":393,"tag":401,"props":2255,"children":2256},{},[2257,2262],{"type":393,"tag":417,"props":2258,"children":2259},{},[2260],{"type":398,"value":2261},"Best Practice:",{"type":398,"value":2263}," Always check your data after loading to make sure it looks right!",{"type":393,"tag":488,"props":2265,"children":2267},{"id":2266},"whats-next",[2268],{"type":398,"value":2269},"🚀 What's Next?",{"type":393,"tag":401,"props":2271,"children":2272},{},[2273],{"type":398,"value":2274},"Ready to load real data? Let's start with the most common format - CSV files, then move on to Excel and JSON.",{"type":393,"tag":401,"props":2276,"children":2277},{},[2278,2283,2285],{"type":393,"tag":417,"props":2279,"children":2280},{},[2281],{"type":398,"value":2282},"Start with",{"type":398,"value":2284},": ",{"type":393,"tag":1611,"props":2286,"children":2287},{"href":79},[2288],{"type":398,"value":80},{"type":393,"tag":401,"props":2290,"children":2291},{},[2292],{"type":398,"value":2293},"Time to work with real data! 📊🚀",{"type":393,"tag":2295,"props":2296,"children":2297},"style",{},[2298],{"type":398,"value":2299},"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":2301},[2302,2303,2304,2305,2306,2307,2308,2309,2310],{"id":490,"depth":27,"text":493},{"id":790,"depth":27,"text":793},{"id":953,"depth":27,"text":956},{"id":1347,"depth":27,"text":1350},{"id":1593,"depth":27,"text":1596},{"id":1641,"depth":27,"text":1644},{"id":1990,"depth":27,"text":1993},{"id":2112,"depth":27,"text":2115},{"id":2266,"depth":27,"text":2269},1782373728844]