klotz: python*

0 bookmark(s) - Sort by: Date ↓ / Title / - Bookmarks from other users for this tag

  1. This article introduces Streamlit, a Python library for building data dashboards, as a solution for Python programmers to create graphical front-ends without needing to delve into CSS, HTML, or JavaScript. The author, a seasoned data engineer, explains how Streamlit and similar tools enable the creation of attractive dashboards, marking a shift from traditional tools like Tableau or Quicksight. This piece serves as the first in a series focusing on Streamlit, with future articles planned on Gradio and Taipy. The author aims to replicate similar layouts and functionalities across dashboards using consistent data.
  2. A step-by-step guide on automating the execution of Jupyter Notebooks and generating HTML reports using Python scripts. The article explains how Jupyter Notebooks can be used for creating interactive reports and how their execution can be synchronized with data pipelines to update reports automatically.
  3. An article detailing the capabilities and application of PydanticAI in building production-grade AI applications, particularly focusing on multi-agent systems.
    2025-01-08 Tags: , , , by klotz
  4. Guidelines for using large language models to improve Python code quality in casual usage.
  5. These one-liners provide quick and effective ways to assess the quality and consistency of the data within a Pandas DataFrame.

    | Code Snippet | Explanation |
    | --- | --- |
    | `df.isnull().sum()` | Counts the number of missing values per column. |
    | `df.duplicated().sum()` | Counts the number of duplicate rows in the DataFrame. |
    | `df.describe()` | Provides basic descriptive statistics of numerical columns. |
    | `df.info()` | Displays a concise summary of the DataFrame including data types and presence of null values. |
    | `df.nunique()` | Counts the number of unique values per column. |
    | `df.apply(lambda x: x.nunique() / x.count() * 100)` | Computes the percentage of unique values for each column. |
    | `df.isin( value » ).sum()` | Counts the number of occurrences of a specific value across all columns. |
    | `df.applymap(lambda x: isinstance(x, type_to_check)).sum()` | Counts the number of values of a specific type (e.g., int, str) per column. |
    | `df.dtypes` | Lists the data type for each column in the DataFrame. |
    | `df.sample(n)` | Returns a random sample of n rows from the DataFrame. |
  6. Mastering specific Pandas functions can enhance data manipulation skills for data scientists using Python, focusing on less explored methods for data transformation and analysis.
  7. Generate terminal UIs (TUIs) with simple text prompts using AI.
    2024-12-31 Tags: , , , , , , , , by klotz
  8. How to choose the right concurrency model in Python to maximize program performance and efficiently use system resources, covering multithreading, multiprocessing, and asyncio.
  9. A web crawling project using Python, Selenium, Gemini, and Brightdata

    - needs slight refactoring for openapi/llama.cpp integration
    2024-12-29 Tags: , , , , by klotz
  10. MarkItDown is a utility for converting various files to Markdown, including PDF, PowerPoint, Word, Excel, Images, Audio, HTML, text-based formats, and ZIP files.

Top of the page

First / Previous / Next / Last / Page 1 of 0 SemanticScuttle - klotz.me: Tags: python

About - Propulsed by SemanticScuttle