ASArjun Singhinblog.arjunsingh.com.np·Feb 8, 2025 · 3 min readPandas: Import and ExportPandas CSV Work with CSV files, read and write like a boss. Example 1: Read a CSV file. df = pd.read_csv('file.csv') Example 2: Write a DataFrame to CSV. df.to_csv('output.csv', index=False) Handle CSVs like a data wizard. Pandas JSON Handle JSON ...00
ASArjun Singhinblog.arjunsingh.com.np·Jan 3, 2025 · 5 min readPandas: DataFrame OperationsPandas DataFrame Analysis View and analyze your data frames with built-in Pandas methods. Stats made simple! Example 1: Get a quick statistical summary. df = pd.DataFrame({"A": [1, 2, 3], "B": [4, 5, 6]}) print(df.describe()) # Output: # A ...00
ASArjun Singhinblog.arjunsingh.com.np·Dec 23, 2024 · 4 min readPandas: IntroductionGetting Started with Pandas Pandas is a powerful Python library for data manipulation and analysis. Pandas is your gateway to managing data effectively. First step: bring it to your project. It’s like Excel, but smarter and much less likely to crash ...00
ASArjun Singhinblog.arjunsingh.com.np·Dec 23, 2024 · 6 min readRevising NumPy: A CheatsheetIntroduction to NumPy NumPy is a powerful Python library for numerical computing. It simplifies numerical computations by performing efficient operations on large multidimensional arrays and matrices. Say goodbye to slow loops and hello to blazing sp...00
ASArjun Singhinblog.arjunsingh.com.np·Sep 10, 2024 · 4 min readHow I Manage Django SettingsBuilding a Django app is fun until you realize you need different settings for development and production. One day, I accidentally shared my secret keys with the whole internet. Oops. In this post, I’ll show you how I manage Django settings. It's a l...01T