I need to concatenate 2 rec.arrays (same procedure I do for all other in my work). Problem I have is one of the documents I read for the array, has 2 extra vari
So I've been trying to upload a dataframe to an specific table that is under MSSQL, I've trying to use the BCPANDAS library to upload the data to it. However th
I just started using turtle and I found code online for Sierpinski's Carpet. It should be able to draw the Carpet without problem, but I don't know how to add a
My code yields different results in the local terminal and on Google Colab. However, if I run the same code on Colab but with a terminal command (i.e. !python t
currently I am facing issues getting my beam pipeline running on Dataflow to write data from Pub/Sub into BigQuery. I've looked through the various steps and al
I want to deploy working python project in pycharm to aws lambda. The project is using google-ads library to get some report data from google ads. I tried deplo
This is my script: <script> import random import string def get_random_string(length): # choose from all lowercase letter letters = string.prin
I was writing the below code but it is running endless in airflow, but in my system it take 5 min to run gc=pygsheets.authorize(service_account_file='file.json'
I'm trying to make a password manager with Python and encrypting the passwords with RSA. that part went smoothly. What's not going smoothly is the decryption. T
I have a data frame df and I use several columns from it to groupby: df['col1','col2','col3','col4'].groupby(['col1','col2']).mean() In the above way I almos
I'm having some issues returning any results from my SQL query. I'm pretty sure it's got something to do with the WHERE condition. I want only certain RULE_ID
What is the correct way to initialize a bunch of variables to independent empty lists in Python 3? >>> (a, b) = ([],)*2 >>> a.append([2,3]) &g
I'm trying to create a react role on a message that my bot would have sent, how can I do it? here is my code debut: @bot.command(name = 'role_react_1') async de
This was working fine when I was using PROTOCOL_TLS, but since it's deprecated, I'm trying to switch to PROTOCOL_TLS_CLIENT. The code goes as follows: sslSettin
I've been trying de plot 4D figures of aerosols emissions in the atmosphere with X = Longitude, Y = latitude, Z = Injection Heigh of aerosols and cbar = Emissio
I am using CentOS 8. I'm trying to install Python 3. Command: sudo dnf install python3. Error: Failed to synchronize cache for repo 'BaseOS' How can I fix
I am trying to create a limit order together with take profit and stop loss on binance, but this does not always work. Occasionally this code does everything ri
I am using the latest version of django elasticsearch dsl and I am using the following command to index around 80 million documents: python manage.py search_ind
I am trying to traverse through ast nodes in Python to fetch value node's Name ids for all Assign Nodes. Ast.walk() method gives me nodes randomly. Assumption
I'm running my flask application container on Azure. I followed this tutorial, I configured logging in my application. But it's not stated as to where to view t