Explore

python ×
  • screenshot

    Yes, Python and Matplotlib can make pretty charts

    The Python Graph Gallery has always been a reservoir of inspiration, providing hundreds of foundational chart...

  • screenshot

    Shape Typing in Python

    What does the dot do in JavaScript? foo.bar, foo.bar(), or foo.bar = baz - what do...

  • screenshot

    Python Flask Script With GUI in WebPage

    Hello all - Jayson here and I am designing a program to make a 3d solid...

  • screenshot

    Conditional filling of dropdown in Django backend with list_filters

    My models.py: from smart_selects.db_fields import ChainedForeignKey class Funder(models.Model): name = models.CharField(max_length=200) scheme = models.ManyToManyField('Scheme', blank=True) class...

  • screenshot

    Drag image to another image

    I write this code to move image to another place but when I moving the image...

  • screenshot

    move rows in df by the value of the cells with pandas

    I have the following input table and i want to obtain the output table. To do...

  • screenshot

    Create / update a new list based on comparing expected list vs actual list of unequal lengths

    I'm working on a project where I've to compare a list (Actual) against another list (Expected)....

  • screenshot

    Querying GBQ table to.dataframe() function took too long to respond

    I am loading the table from google bigquery in python, the code as follow def read_bq(project_id,...

  • screenshot

    Need help understanding how the xycoord axes system works in matplotlib

    I am always confused on how to annotate things in matplotlib and doing a deeper dive...

  • screenshot

    Replace keywords with links of tags generated by openai stored in the database

    Need some help with this thing I'm working on. Im using python and flask. I'm getting...

  • screenshot

    Generate random trajectory for aircraft in 3D world (Python)

    I have a 3D world in Python with terrain where I want to be able to...

  • screenshot

    How to define an Optional[Decimal] field in python sqlmodel library that yields to constrained JSON schema

    I have the following sqlmodel base class and table models but I can't manage to make...

  • screenshot

    Streamlining LLM Implementation: How to Enhance Specific Business Solutions with RAG

    The article explores using RAG to improve LLM performance with LlamaIndex and LangChain. It covers setting...

  • screenshot

    Using OpenAI API for answering questions about csv file

    I'm starting with OpenAI API and experimenting with langchain. I have a .csv file with approximately...

  • screenshot

    Why won't this terminal in visual studio code continue past returning a single integer?

    As a personal project of mine, I'm working on making a (semi functional) video game completely...

  • screenshot

    Webscraping JavaScript Table with Selenium and Beautiful Soup

    I'm trying to scrape this website: https://www.globusmedical.com/patient-education-musculoskeletal-system-conditions/resources/find-a-surgeon/ It appears that the website uses JavaScript so that...

  • screenshot

    503 days working full-time on FOSS: lessons learned

    This article shares some of the lessons I learned from working full-time on a FOSS project...

  • screenshot

    Are tuples "mutable" or "immutable" in Python?

    When writing the following in a python interactive session: >>> a = "Ahmad" >>> b =...

  • screenshot

    I can't install argon2 python

    I'm trying to install argon2 via pip install argon2 but it keeps giving an error, I've...

  • screenshot

    Interactive Scotter Plot Using IpyWidgets

    I'm trying to make an interactive scatter plot where the user selects a state and a...

  • screenshot

    Botocore generates incorrect S3 URLs, leading to a 403 Access Denied

    I'm using Boto3(v1.34) client to list objects from an S3 bucket, but I've encountered some odd...

  • screenshot

    Python problem on ~Current

    I'm on current of version 2024-03-30, and I noticed a considerable bump in the Python3 version....