Latest Questions

Read images from url and put them on a dataframe column with the label to another column in python

I would like to read images from url and place them on a pandas dataframe column and place label to another another column. How can I do that please help. Below

Raise an error when a key is duplicated in a dictionary

I've created a code that reads in a text file and converts the lines to a dictionary. How do I raise an error if there is more than one key with the same value?

Tkinter how update main window combobox values from Toplevel list python3.8

I have 3 modules (small, dont worry). main_module = it has a combobox and a button. Comobobox list must be update each time a list (in module2) increases in nu

Cannot read properties of null (reading 'pulsate') in material-ui Button component

This is version of material-ui that I am using : "@mui/icons-material": "^5.5.1", "@mui/material": "^5.5.1", This is how I imported Button component : import B

How can I plot time series data?

My df dataset is like this. I want to plot the yield of sugarcane, coconut and rice in time. I filter the data by rice,sugarcane and coconut. My code is this:

How do i get the access token from the reques

I'm using account linking on amazon and I've managed to configure it to send my user's acessToken by a Json. I looked in the amazon documentation and it says th

Install a CLI program that I created

I created a Cobra CLI application, and after releasing it with Go releaser. What I am trying to do is be able to download it and then have it be able to run loc

Sorting of strings variable in ansible playbook and display result in asending order

I have list of variable like, item-1, item-22, item-3, item-99 i need to display as result of ansible playbook in following form item-1, item-3, item-22, item-9

How to manually delete a textfield in flutter?

I am making a growable Textfield widget that a user can add as many textfield as he wants. I am using a list of textfields in this case. If user presses button

Searchkick::InvalidQueryError (Bad mapping - run Record.reindex)

Another problem caused by moving to Opensearch (1.3.1, Mac homebrew) from Elasticsearch for a Rails 6 app. Loading test environment (Rails 6.1.4.7) >> r =

How can I select a square of cells (any size) and snap to grid?

How can I add a mouse event to select a range (up and down/left and right) of cells in my grid? <!DOCTYPE html> <html lang="en"> <head>

How to perform Data Type validations for each individual fields of a POJO in Java?

I have a Request POJO class which comes with all String data type fields. When I have to store them to DB, the data types must be accurate. Considering that I

Prevent going to the previous page on browser back button

I have a Next.js / React.js project I'm working on and I'm trying to redirect to a certain page when browser's back button is clicked. My approach is as follows

Sending message to Pub/Sub when data is ingested to BigQuery or Google Sheet

For a project I need to apply some functions to data that is added to a Google Sheets or Google BigQuery table using Pub/Sub. I want to pass the newly added tab

How to Connect to multiple Queue Managers and exchange data between them

I am Trying to connect to multiple QueueManagers in IBM MQ Explorer using java. I am able to connect to single Queue Manager and send nd receive data from it bu

How to integrate payment gateway in kivy(python)android app

How to integrate payment gateway in kivy (python)android app. Please help.

decoupling PHP plugin system

I am using PHP to build a simple plugin system in my own MVC framework. Here is the algorithm I am using to load the plugins: Scan the plugins directory. Use th

How do I fix with Next JS and Antd Design Styling not working?

Whenever I try to style Antd Design component ( Layout, Sider and so on ) but it doesn't seems to be working. Therefore there won't be any changes on them. But

Python - Keras : Merge two models into one sequential

How do create one model sequential with two models? I have two models, one a Keras application (vgg16 model) and a custom model and I would like to merge them i

how to send information(data) from a FastAPI server(client) to another FastAPI(model)

I am a newbie in RESTful API... so I am trying to deploy two servers (client and model). The main idea is : Client uploads his images on the client server, the

Cannot build multiple CPP files with VSCode

I've followed the instructions here to setup VSCode with C++ on Windows 10 with MingGW https://code.visualstudio.com/docs/languages/cpp and I've followed the in

React Slick Not Auto Playing

i'm new to react slick for my react projects i'am using react slick everything okay but just autoplay not working ? So what can I do for auto playing ?

Interpolated for every point in the raster space

I am currently using a choropleth layer to display my own made vector as geojson. But how can I change the line color between them? Is there a way I can colors

When saving ModelFormSet it reads the whole underlying table?

I don't know how to explain the problem in my title, so if someone knows how to better phrase the problem I'm going to describe, I hope there is a way to update

How to add elevation just in the bottom of an element? Jetpack Compose

I'm trying to add some elevation or shadow just in the bottom of an element. For this element I'm using a Tab composable. How can I add this elevation/shadow ju

Ajax call doesn't pass object to controller

I am trying to pass a string to an IActionResult function in an asp.net core 3.1 controller. Ajax: function CreateApprover() { const input = { Plant

Add an offer to an already existing user subscription in my Android app (Google Play IAP)

Google Play IAP allows the developer to set up offers in the app subscription with trials and discounts. If the offer is a developer determined offer the develo

How to convert graphics overlay into bitmap in mlkit android

I want to just convert graphics overlay to bitmap . https://github.com/googlesamples/mlkit/blob/master/android/vision-quickstart/app/src/main/java/com/google/ml

AvalonDock DocumentHeaderTemplate not working for Floating Windows

In AvalonDock we use a LayoutDocumentExtended to add some AdditionalInformation (not only a string in our project) in the Title. In this testcode, we set the Do

Performant way of getting mouse position every frame for canvas animation in React?

I have an animated background using canvas and requestAnimationFrame in my React app and I am trying to have its moving particles interact with the mouse pointe