Posts by leocabrallce • 160 points
10 posts
-
0
votes4
answers931
viewsA: Python columns excel csv
Using the library pandas that helps greatly in the work of tabular structures you can simply add an empty column and then save the file in the extension you want. import pandas as pd import numpy as…
-
2
votes1
answer44
viewsA: Failure to push
In the remote there are changes that you still do not have as considered in your local version. You should git pull and resolve merge conflicts before, if any, and then git push.
gitanswered leocabrallce 160 -
0
votes1
answer167
viewsA: Create a regressive counter (Countdown) from input and store in localStorage
You can turn your data inputs into milliseconds and calculate the difference between them const date1 = new Date('8/1/2019'); // M/d/yyyy const date2 = new Date(new Date().toDateString()); // cria…
-
0
votes2
answers135
viewsA: Make words of an uppercase array - jQuery
Simplifying your problem, you just need to check if one value is contained in another set of values, correct? I believe that the code below, in pure Javascript, will meet. let words = ['foo', 'bar']…
-
0
votes2
answers717
viewsA: Read a.dat file and assign names to its columns using Pandas
Whereas you have already been able to interpret the . dat file for Dataframe and your goal is just to name the columns: df 3.141592543 3.141592543 3.141592543 3.141592543 3.141592543 3.141592543…
-
0
votes1
answer98
viewsQ: Oauth 2.0 stream for multiple API authentication using an authentication server
When logging in through my front-end layer, a request is sent to my authentication server which in turn returns a Bearer Token that may be saved to a cookie, for example. No doubt about it! My…
-
0
votes1
answer92
viewsQ: Custom sorting in Python
I have a list foo = ["BCB", "CAB", "CBC"] and a specific alphabetical order bar = "ACB". The result with that specific order should be resultado = ["CAB", "CBC", "BCB"] How do I sort that list?…
-
0
votes1
answer611
viewsQ: Passage of values between Express and EJS
I possess a value foo which is obtained in an asynchronous method in a file db.js. The query is being performed normally and I can already capture the variable data foo in my file index.js, but…
-
3
votes1
answer451
viewsQ: Recover value using Node.js and mssql
I’m having trouble recovering a value using the mssql library I tried to put a variable in the global scope and update the value using recordset, put everything inside a function passing the value…
-
0
votes4
answers687
viewsA: CSS - styling a hyperlink
Maybe solve your problem using a pseudo-class in the a element (<a></a>) These are the pseudo-classes for links: a:link /* (define o estilo do link no estado inicial) */ a:visited /*…