Skip to content
View dirkliebich's full-sized avatar

Highlights

  • Pro

Block or report dirkliebich

Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse

Pinned Loading

  1. Useful Pandas Snippets Useful Pandas Snippets
    1
    # List unique values in a DataFrame column
    2
    # h/t @makmanalp for the updated syntax!
    3
    df['Column Name'].unique()
    4
    
                  
    5
    # Convert Series datatype to numeric (will error if column has non-numeric values)
  2. Token count for embedding Token count for embedding
    1
    # FILEPATH: /tiktoken
    2
    import tiktoken
    3
    
                  
    4
    def num_tokens_from_string(string: str, encoding_name: str) -> int:
    5
        """
  3. fastai fastai Public

    Forked from fastai/fastai

    The fast.ai deep learning library, lessons, and tutorials

    Jupyter Notebook

  4. OpenAPI-Specification OpenAPI-Specification Public

    Forked from OAI/OpenAPI-Specification

    The OpenAPI Specification Repository

  5. pydantic/logfire pydantic/logfire Public

    AI observability platform for production LLM and agent systems.

    Python 4.3k 251