qid int64 4 19.1M | question stringlengths 18 48.3k | answers list | date stringlengths 10 10 | metadata list |
|---|---|---|---|---|
74,517,966 | <p>I need to do number of inputs that it dynamic's number , and for every input other name because I want to use in these inputs.</p>
<p>I call to the function in jsx with that</p>
<pre><code>Array.apply(null, { length: numberInputs}).map((e, i) => (
<InputsNumber key={i} />
))
</code></pre>
<p>and I tr... | [
{
"answer_id": 74517893,
"author": "szeak",
"author_id": 1597791,
"author_profile": "https://Stackoverflow.com/users/1597791",
"pm_score": 0,
"selected": false,
"text": "SELECT\n CASE WHEN column_a = true\n THEN column_a\n ELSE CASE WHEN column_b = true\n THEN column_b\n ELSE CA... | 2022/11/21 | [
"https://Stackoverflow.com/questions/74517966",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/19916813/"
] |
74,518,002 | <p>I have a function that contains a data.table with specific values:</p>
<pre><code> add_q <- function () {
DT = data.table (X = c("A", "A1", "B", "B1"), Y = c("C", "C1", "D", "D1"))}
</code></pre>
<p>This will give my two columns X an... | [
{
"answer_id": 74517893,
"author": "szeak",
"author_id": 1597791,
"author_profile": "https://Stackoverflow.com/users/1597791",
"pm_score": 0,
"selected": false,
"text": "SELECT\n CASE WHEN column_a = true\n THEN column_a\n ELSE CASE WHEN column_b = true\n THEN column_b\n ELSE CA... | 2022/11/21 | [
"https://Stackoverflow.com/questions/74518002",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/19766411/"
] |
74,518,006 | <p>I am connecting to an api and returning some data on screen using the below:</p>
<pre><code>return (
<>
{Object.values(items).map((item, index) => {
return <pre>{JSON.stringify(item, null, 2)}</pre>
</>
})}
</code></pre>
<p>This returns an object to the front en... | [
{
"answer_id": 74517893,
"author": "szeak",
"author_id": 1597791,
"author_profile": "https://Stackoverflow.com/users/1597791",
"pm_score": 0,
"selected": false,
"text": "SELECT\n CASE WHEN column_a = true\n THEN column_a\n ELSE CASE WHEN column_b = true\n THEN column_b\n ELSE CA... | 2022/11/21 | [
"https://Stackoverflow.com/questions/74518006",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/1310998/"
] |
74,518,013 | <p>Giving this dictionary:</p>
<pre class="lang-py prettyprint-override"><code> d = {'x': '999999999',
'y': ['888888888', '333333333'],
'z': '666666666',
'p': ['0000000', '11111111', '22222222'] }
</code></pre>
<p>is it possible to make a <code>set</code> of <code>tuples</code> ?</p>
<p>The output should be <code>{( x,... | [
{
"answer_id": 74518174,
"author": "akash.ilangovan",
"author_id": 15007641,
"author_profile": "https://Stackoverflow.com/users/15007641",
"pm_score": 2,
"selected": false,
"text": "x_set = set()\nfor k, v in d.items():\n items = [k]\n if(type(v) == list):\n items.extend(v)\... | 2022/11/21 | [
"https://Stackoverflow.com/questions/74518013",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/20139720/"
] |
74,518,028 | <p>I made a simple text with a transition, appearing from left to right when I hover it in CSS.</p>
<p>My code is very simple, as seen in the snippet.</p>
<p>So of course, when I remove my mouse cursor, it is animated in the other direction and the text disappears from right to left.
BUT
I'd like it to disappear from l... | [
{
"answer_id": 74519070,
"author": "Joydip Paul",
"author_id": 12241962,
"author_profile": "https://Stackoverflow.com/users/12241962",
"pm_score": 0,
"selected": false,
"text": " <p class=\"text\">Lorem ipsum dolor, sit amet consectetur adipisicing elit. Saepe, praesentium.</p>\n \n.t... | 2022/11/21 | [
"https://Stackoverflow.com/questions/74518028",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/17863882/"
] |
74,518,071 | <p>I'm trying to code a countdown timer to Christmas day. Below is what I have. However, <code>days</code> is coming out as <code>3</code> for some reason. If I set the <code>then</code> date up <code>22nd December</code> - it will calculate it right but any dates after that it seems to start from <code>1</code> - mean... | [
{
"answer_id": 74519070,
"author": "Joydip Paul",
"author_id": 12241962,
"author_profile": "https://Stackoverflow.com/users/12241962",
"pm_score": 0,
"selected": false,
"text": " <p class=\"text\">Lorem ipsum dolor, sit amet consectetur adipisicing elit. Saepe, praesentium.</p>\n \n.t... | 2022/11/21 | [
"https://Stackoverflow.com/questions/74518071",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/3752986/"
] |
74,518,079 | <p>I am storing field in redis <code>setex</code> to see if field is already present for an email which is being sent to the function.</p>
| [
{
"answer_id": 74519070,
"author": "Joydip Paul",
"author_id": 12241962,
"author_profile": "https://Stackoverflow.com/users/12241962",
"pm_score": 0,
"selected": false,
"text": " <p class=\"text\">Lorem ipsum dolor, sit amet consectetur adipisicing elit. Saepe, praesentium.</p>\n \n.t... | 2022/11/21 | [
"https://Stackoverflow.com/questions/74518079",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/5400992/"
] |
74,518,088 | <p>I want to create a custom ListView that wrap the children with something common (and a few logic to disable them). However the children contents are <strong>unknown and different for each child</strong> and is managed by the parent.</p>
<p>Input (from, say, <code>Index.razor</code> and the component is <code>MyList.... | [
{
"answer_id": 74518433,
"author": "AlirezaK",
"author_id": 4444757,
"author_profile": "https://Stackoverflow.com/users/4444757",
"pm_score": 1,
"selected": false,
"text": "@page \"/ParentComponent\"\n\n<h1 class=\"text-danger\">Parent Child Component</h1>\n\n<ChildComponent Title=\"This... | 2022/11/21 | [
"https://Stackoverflow.com/questions/74518088",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/653457/"
] |
74,518,177 | <p>I am a beginner. I have this problem I am not sure if I will be able to explain it adequately but let's see:</p>
<p>I have an array called userid and another array called username. I want the user to give me his/her id after that I wish that the name user will type has to be the same array number from the username a... | [
{
"answer_id": 74518433,
"author": "AlirezaK",
"author_id": 4444757,
"author_profile": "https://Stackoverflow.com/users/4444757",
"pm_score": 1,
"selected": false,
"text": "@page \"/ParentComponent\"\n\n<h1 class=\"text-danger\">Parent Child Component</h1>\n\n<ChildComponent Title=\"This... | 2022/11/21 | [
"https://Stackoverflow.com/questions/74518177",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/20498886/"
] |
74,518,179 | <pre><code>def add(x, y):
return x + y
def multiple(x, y):
return x * y
def subtrack(x, y):
return x - y
def divide(x, y):
return x / y
print('select your operation please')
print('1-Add')
print('2-Multiple')
print('3-subtrack')
print('4-Divide')
chose=int(input('enter your selection please: '))
num1=in... | [
{
"answer_id": 74518230,
"author": "Dylan Baars",
"author_id": 20562315,
"author_profile": "https://Stackoverflow.com/users/20562315",
"pm_score": 1,
"selected": false,
"text": "if chose == '1' if chose == 1 '"
},
{
"answer_id": 74518234,
"author": "Connor Stoop",
"autho... | 2022/11/21 | [
"https://Stackoverflow.com/questions/74518179",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/20240519/"
] |
74,518,190 | <p>I have a specific question relating a foreach loop in C# and Blazor Web Assembly.</p>
<p>This is my foreach loop containing a keyvaluepair:
`</p>
<pre><code>@foreach (KeyValuePair<int, string> pair in detail.Years2Value.OrderBy(x => x.Key))
{
<td colspan="1"><input type="t... | [
{
"answer_id": 74532917,
"author": "eduard",
"author_id": 3215635,
"author_profile": "https://Stackoverflow.com/users/3215635",
"pm_score": 1,
"selected": true,
"text": "@*Loop through all the KeyValuePairs in the Dictionary<int,string> *@\n@for (int i = 1; i < orderedYearsToValue.Count(... | 2022/11/21 | [
"https://Stackoverflow.com/questions/74518190",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/19094279/"
] |
74,518,202 | <p>so I'm using Redux-Toolkit Query on my project, and I have an authSlice, where I keep the authenticated user info and an access_token.</p>
<p>I also keep this info in local storage so whenever I reload the page I can get the values from the local storage and save them in the state.</p>
<p>The catch is that I have a ... | [
{
"answer_id": 74532917,
"author": "eduard",
"author_id": 3215635,
"author_profile": "https://Stackoverflow.com/users/3215635",
"pm_score": 1,
"selected": true,
"text": "@*Loop through all the KeyValuePairs in the Dictionary<int,string> *@\n@for (int i = 1; i < orderedYearsToValue.Count(... | 2022/11/21 | [
"https://Stackoverflow.com/questions/74518202",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/14984532/"
] |
74,518,206 | <p>I have two tables in my database, with this sample data:</p>
<p>table 1: main</p>
<pre><code>m_id eID sDate eDate
1 75 2022-12-01 NULL
</code></pre>
<p>table 2: details</p>
<pre><code>m_id cc_id cu_id perc
1 1 1 40
1 1 2 40
1 1 3 20
</code></pre>
<p>Here's ... | [
{
"answer_id": 74532917,
"author": "eduard",
"author_id": 3215635,
"author_profile": "https://Stackoverflow.com/users/3215635",
"pm_score": 1,
"selected": true,
"text": "@*Loop through all the KeyValuePairs in the Dictionary<int,string> *@\n@for (int i = 1; i < orderedYearsToValue.Count(... | 2022/11/21 | [
"https://Stackoverflow.com/questions/74518206",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/6512333/"
] |
74,518,222 | <p>At a workplace they recycle punchcard ids (for some strange reason). So it is common to have past employees clashing with current employees. As a workaround I want to have employee punchcard id, employee name+surname as the unique primary key (fingers crossed, perhaps add date-of-birth and even passport if availabl... | [
{
"answer_id": 74532917,
"author": "eduard",
"author_id": 3215635,
"author_profile": "https://Stackoverflow.com/users/3215635",
"pm_score": 1,
"selected": true,
"text": "@*Loop through all the KeyValuePairs in the Dictionary<int,string> *@\n@for (int i = 1; i < orderedYearsToValue.Count(... | 2022/11/21 | [
"https://Stackoverflow.com/questions/74518222",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/385390/"
] |
74,518,256 | <p>I have a simulation I create on unity and I have an issue that when I build and run my project and open it on my UI menu(there is only some buttons), and for some reason my GPU is on more then 50%.
I tried to delete evreything on my scene and create a new camera and build it and I get the same result.
maybe it can b... | [
{
"answer_id": 74641210,
"author": "Noam Riahi",
"author_id": 9343039,
"author_profile": "https://Stackoverflow.com/users/9343039",
"pm_score": 1,
"selected": true,
"text": "void Start()\n{\n Application.targetFrameRate = 30;\n}\n void OnDestroy()\n {\n Application.targetFrameRate ... | 2022/11/21 | [
"https://Stackoverflow.com/questions/74518256",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/9343039/"
] |
74,518,262 | <p>I have a css styling problem:</p>
<p>I created a header with text inside. The header has two pseudo elements: <code>::before</code> and <code>::after</code>.
Both elements lay on top of the header element. How do I get the <code>h1</code> to stay in front of everything??</p>
<p>Here is my code example: (got code sni... | [
{
"answer_id": 74641210,
"author": "Noam Riahi",
"author_id": 9343039,
"author_profile": "https://Stackoverflow.com/users/9343039",
"pm_score": 1,
"selected": true,
"text": "void Start()\n{\n Application.targetFrameRate = 30;\n}\n void OnDestroy()\n {\n Application.targetFrameRate ... | 2022/11/21 | [
"https://Stackoverflow.com/questions/74518262",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/17148835/"
] |
74,518,268 | <p>I am running a Java Program to download data from a Stock API. The URL is</p>
<pre><code>https://tvc4.investing.com/49137b20ec52f5d1133789e270e21db8/1668879605/56/56/23/history?symbol=18325&resolution=5&from=1668448858&to=1668880918
</code></pre>
<p>If I run this URL from the browser I get a JSON as a re... | [
{
"answer_id": 74548420,
"author": "Manish Kasera",
"author_id": 1312806,
"author_profile": "https://Stackoverflow.com/users/1312806",
"pm_score": 1,
"selected": false,
"text": " curl -v 'https://tvc4.investing.com/49137b20ec52f5d1133789e270e21db8/1668879605/56/56/23/history?symbol=18... | 2022/11/21 | [
"https://Stackoverflow.com/questions/74518268",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/102040/"
] |
74,518,307 | <p>I'm a neophyte with c++. I wrote this code but the result for q have to be 1.0, but the code give me, changing the variable's order when I recall function "intercetta", for example -34, 0, 9.75. Why?</p>
<pre><code>#include <iostream>
using namespace std;
float coefficienteAngolare(float x1, float x... | [
{
"answer_id": 74548420,
"author": "Manish Kasera",
"author_id": 1312806,
"author_profile": "https://Stackoverflow.com/users/1312806",
"pm_score": 1,
"selected": false,
"text": " curl -v 'https://tvc4.investing.com/49137b20ec52f5d1133789e270e21db8/1668879605/56/56/23/history?symbol=18... | 2022/11/21 | [
"https://Stackoverflow.com/questions/74518307",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/20508454/"
] |
74,518,337 | <p>I am trying to write a schema for swagger api docs which have nested objects and arrays. the output does give error but " unknow type: " .</p>
<p>The schema i have in my node models.js file</p>
<p><a href="https://i.stack.imgur.com/UUnlW.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/UU... | [
{
"answer_id": 74548420,
"author": "Manish Kasera",
"author_id": 1312806,
"author_profile": "https://Stackoverflow.com/users/1312806",
"pm_score": 1,
"selected": false,
"text": " curl -v 'https://tvc4.investing.com/49137b20ec52f5d1133789e270e21db8/1668879605/56/56/23/history?symbol=18... | 2022/11/21 | [
"https://Stackoverflow.com/questions/74518337",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/18955011/"
] |
74,518,386 | <p>I have been playing around with a pandas data frame with 414,000 rows.</p>
<p>Built into pandas is an exponential moving average computed by:</p>
<pre><code>series.ewm(span=period).mean()
</code></pre>
<p>The above executes in < 0.3 seconds. I am however in search of trying to use a weighted moving average (which... | [
{
"answer_id": 74519701,
"author": "Skeletor",
"author_id": 16957329,
"author_profile": "https://Stackoverflow.com/users/16957329",
"pm_score": 2,
"selected": true,
"text": "np import numpy as np\nimport pandas as pd\n\nd1 = pd.DataFrame(np.random.randint(0, 10, size=(500_000))) # x=500_... | 2022/11/21 | [
"https://Stackoverflow.com/questions/74518386",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/4352047/"
] |
74,518,418 | <p>I have such a task</p>
<p>I have file storage, about <strong>50GB</strong></p>
<p>Almost all files are 100KB -> 3MB.
And there are tracing files of ~25mb - but these files are downloaded very often</p>
<p>My task is to configure the software in such a way as to ensure maximum download performance from my Linux Se... | [
{
"answer_id": 74519676,
"author": "Thijs Feryn",
"author_id": 12892695,
"author_profile": "https://Stackoverflow.com/users/12892695",
"pm_score": 1,
"selected": false,
"text": "varnishd -s /etc/varnish/default.vcl"
}
] | 2022/11/21 | [
"https://Stackoverflow.com/questions/74518418",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/8183510/"
] |
74,518,424 | <p>I have the following json format, basically it is a huge file with several of such entries.</p>
<pre><code> [
{
"id": "kslhe6em",
"version": "R7.8.0.00_BNK",
"hostname": "abacus-ap-hf-test-001:8080",
"status":... | [
{
"answer_id": 74519676,
"author": "Thijs Feryn",
"author_id": 12892695,
"author_profile": "https://Stackoverflow.com/users/12892695",
"pm_score": 1,
"selected": false,
"text": "varnishd -s /etc/varnish/default.vcl"
}
] | 2022/11/21 | [
"https://Stackoverflow.com/questions/74518424",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/10286342/"
] |
74,518,429 | <p>Alright so that seems easy but i couldnt find any solution or responses to it. I simply have a dataframe with a column full of nulls, and i just want to fill it with "s" or "n" randomly.</p>
<p>I tried this
`</p>
<pre><code>df.foreach(f=>{
if(random)
f.get(4) = "s"
else{f.... | [
{
"answer_id": 74519676,
"author": "Thijs Feryn",
"author_id": 12892695,
"author_profile": "https://Stackoverflow.com/users/12892695",
"pm_score": 1,
"selected": false,
"text": "varnishd -s /etc/varnish/default.vcl"
}
] | 2022/11/21 | [
"https://Stackoverflow.com/questions/74518429",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/20562262/"
] |
74,518,435 | <p>I want to search in a List of Strings, but the search query does not need to be in order as the result.</p>
<p>Let's say I have a list of strings</p>
<pre><code>List<String> a = [
Fracture of right arm,
Fracture of left arm,
Fracture of right leg,
Fracture of left leg,
];
</code></pre>
<p>and I want to impl... | [
{
"answer_id": 74519676,
"author": "Thijs Feryn",
"author_id": 12892695,
"author_profile": "https://Stackoverflow.com/users/12892695",
"pm_score": 1,
"selected": false,
"text": "varnishd -s /etc/varnish/default.vcl"
}
] | 2022/11/21 | [
"https://Stackoverflow.com/questions/74518435",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/20562344/"
] |
74,518,449 | <p>This is my query within my controller (index action):</p>
<pre><code> @tags = ActiveRecord::Base.connection.execute(
<<~SQL
SELECT t.id, t.name, t.member_tags_count, (
SELECT
json_agg(mt.member_id) as member_ids
FROM member_tags mt
WHERE mt.tag_id = t.... | [
{
"answer_id": 74518872,
"author": "max",
"author_id": 544825,
"author_profile": "https://Stackoverflow.com/users/544825",
"pm_score": 1,
"selected": false,
"text": "json_agg array_agg query = Tag\n .joins(:member_tags)\n .order(Tag.arel_table[:name].lower)\n .group(:id)\n .select(\n... | 2022/11/21 | [
"https://Stackoverflow.com/questions/74518449",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/427499/"
] |
74,518,477 | <p>A collection is defined in a view, where links for each element's successive and previous items need to be generated. (a css-only lightbox. While the index of those items is accessible,</p>
<pre><code><% @gallery.each_with_index do |article_gallery, index| %>
<%= succ = @gallery[index + 1] %><%= su... | [
{
"answer_id": 74518872,
"author": "max",
"author_id": 544825,
"author_profile": "https://Stackoverflow.com/users/544825",
"pm_score": 1,
"selected": false,
"text": "json_agg array_agg query = Tag\n .joins(:member_tags)\n .order(Tag.arel_table[:name].lower)\n .group(:id)\n .select(\n... | 2022/11/21 | [
"https://Stackoverflow.com/questions/74518477",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/2291357/"
] |
74,518,514 | <p>I have this string variable.</p>
<p><code>x <- "[2,3,3,5]"</code></p>
<p>I want to get the average of this. How can I achieve this on R?</p>
| [
{
"answer_id": 74518547,
"author": "user438383",
"author_id": 5784757,
"author_profile": "https://Stackoverflow.com/users/5784757",
"pm_score": 2,
"selected": false,
"text": "library(stringr)\nlibrary(dplyr)\n\nstr_split(x, \",\")[[1]] %>% \n str_remove_all(\"\\\\[|\\\\]\") %>% \n ... | 2022/11/21 | [
"https://Stackoverflow.com/questions/74518514",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/14440209/"
] |
74,518,539 | <p>In Azure Devops while creating queries. anybody knows what is the use of 'Query Text' Parameter?</p>
<p>Not able to figure out what is this used for</p>
| [
{
"answer_id": 74518547,
"author": "user438383",
"author_id": 5784757,
"author_profile": "https://Stackoverflow.com/users/5784757",
"pm_score": 2,
"selected": false,
"text": "library(stringr)\nlibrary(dplyr)\n\nstr_split(x, \",\")[[1]] %>% \n str_remove_all(\"\\\\[|\\\\]\") %>% \n ... | 2022/11/21 | [
"https://Stackoverflow.com/questions/74518539",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/1608636/"
] |
74,518,542 | <p>Trying to add header in prime ng sidebar component but its not working</p>
<pre><code><p-sidebar [(visible)]="visibleSidebar1">
<ng-template p-Template="header">
<p>"Header"</p>
</ng-template>
My content goes here
</p-sidebar>
</code></pre... | [
{
"answer_id": 74545813,
"author": "Vino",
"author_id": 18615238,
"author_profile": "https://Stackoverflow.com/users/18615238",
"pm_score": 0,
"selected": false,
"text": "<p-sidebar [(visible)]=\"visibleSidebar1\"><app-shared-component></app-shared-component></p-sidebar>\n"
}
] | 2022/11/21 | [
"https://Stackoverflow.com/questions/74518542",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/18615238/"
] |
74,518,545 | <p>I am passing a prop called product which has a list of objects inside a variable images. I want to display first image with id number 1 on the frontend. Also if I want to iterate through the images what would be the best way. I have attached the object image as seen on postman as a photo. I am trying to display th... | [
{
"answer_id": 74545813,
"author": "Vino",
"author_id": 18615238,
"author_profile": "https://Stackoverflow.com/users/18615238",
"pm_score": 0,
"selected": false,
"text": "<p-sidebar [(visible)]=\"visibleSidebar1\"><app-shared-component></app-shared-component></p-sidebar>\n"
}
] | 2022/11/21 | [
"https://Stackoverflow.com/questions/74518545",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/7036949/"
] |
74,518,604 | <p>I'm trying to find a way to do something which is probably quite simple. I want to get the average values and standard deviations of "A", "B" and "C" for each day in the following dataset:</p>
<pre><code>M <- c("A", "A", "A", "A", "A"... | [
{
"answer_id": 74518753,
"author": "TarJae",
"author_id": 13321647,
"author_profile": "https://Stackoverflow.com/users/13321647",
"pm_score": 2,
"selected": false,
"text": "df %>% \n as_tibble() %>% \n type.convert(as.is = TRUE) %>% \n dplyr::group_by(DCol) %>%\n summarise(across(c(V... | 2022/11/21 | [
"https://Stackoverflow.com/questions/74518604",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/17438953/"
] |
74,518,632 | <p>I have a wide data frame similar to document term matrix:</p>
<pre><code>df_names_tkns <- tibble::tribble(
~name, ~aaa, ~ddd, ~downing, ~eee, ~london, ~street, ~bbb, ~broadway, ~ccc, ~new, ~york,
"AAA LONDON DOWNING STREET DDD EEE", 1L, 1L, 1L, 1L, 1L,... | [
{
"answer_id": 74518753,
"author": "TarJae",
"author_id": 13321647,
"author_profile": "https://Stackoverflow.com/users/13321647",
"pm_score": 2,
"selected": false,
"text": "df %>% \n as_tibble() %>% \n type.convert(as.is = TRUE) %>% \n dplyr::group_by(DCol) %>%\n summarise(across(c(V... | 2022/11/21 | [
"https://Stackoverflow.com/questions/74518632",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/3480717/"
] |
74,518,649 | <p>I want to get the Maximum date from all the tables in my database. I am using user table ALL_TABLES to get the table_name and column_name but I'm not bale to extract the max date of all the tables present in a database.</p>
<pre><code>SELECT MAX(dt_load)
FROM (SELECT table_name, column_name
FROM all_tabl... | [
{
"answer_id": 74518723,
"author": "Littlefoot",
"author_id": 9097906,
"author_profile": "https://Stackoverflow.com/users/9097906",
"pm_score": 0,
"selected": false,
"text": "SQL> create table test as select 1 id, date '2022-11-21' dt_load from dual;\n\nTable created.\n\nSQL> create tabl... | 2022/11/21 | [
"https://Stackoverflow.com/questions/74518649",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/7863786/"
] |
74,518,668 | <p><strong>Task:</strong>
I have to check if there are any two values consecutively same in an array. If it does. I have to take that repeated value into a different place to not have 2 identical values next to each other.</p>
<p><strong>Problem:</strong>
It returns there are no identical values, when definitely there ... | [
{
"answer_id": 74518844,
"author": "Wang Zerui",
"author_id": 16232205,
"author_profile": "https://Stackoverflow.com/users/16232205",
"pm_score": 0,
"selected": false,
"text": "function noIdenticalConsecutives(arr) {\n let stack = new Stack();\n let repeat = [];\n let hasRepeat = fals... | 2022/11/21 | [
"https://Stackoverflow.com/questions/74518668",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/19129662/"
] |
74,518,680 | <p>This is related to STM32 pre-HAL "Standard Peripheral Library"...</p>
<p>Why use tmpreg in the following code (taken from ADC functions)?</p>
<p>`</p>
<pre><code>/* Get the old register value */
tmpreg = ADCx->CR1;
/* Clear the Analog watchdog channel select bits */
tmpreg &= CR1_AWDCH_RESE... | [
{
"answer_id": 74534220,
"author": "Lundin",
"author_id": 584518,
"author_profile": "https://Stackoverflow.com/users/584518",
"pm_score": 3,
"selected": true,
"text": "volatile tmpreg"
}
] | 2022/11/21 | [
"https://Stackoverflow.com/questions/74518680",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/20562604/"
] |
74,518,693 | <p>i need to give two class Name when i give</p>
<pre><code> <p
className={Styles.headerbtn, Styles.headerbtnchat}
disableElevation
>
<img src="/assets/images/Chat_Bubble.png" alt="" />
<span className={Styles.headerbtntx... | [
{
"answer_id": 74518726,
"author": "Evgeny",
"author_id": 7309962,
"author_profile": "https://Stackoverflow.com/users/7309962",
"pm_score": 1,
"selected": false,
"text": "className className={`${Styles.headerbtn} ${Styles.headerbtnchat}`} className={`another_class ${Styles.headerbtn} ${S... | 2022/11/21 | [
"https://Stackoverflow.com/questions/74518693",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/20376356/"
] |
74,518,702 | <p>I need to access an ID to an adam file setup like this:</p>
<p><a href="https://i.stack.imgur.com/19noz.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/19noz.png" alt="2sxc adam" /></a></p>
<p>MyDocument is the field name, where users can load an image or whatever.
In a list style view, users will... | [
{
"answer_id": 74537670,
"author": "iJungleBoy",
"author_id": 5044294,
"author_profile": "https://Stackoverflow.com/users/5044294",
"pm_score": 1,
"selected": false,
"text": "convertLinks: false"
},
{
"answer_id": 74594173,
"author": "João Gomes",
"author_id": 8507593,
... | 2022/11/21 | [
"https://Stackoverflow.com/questions/74518702",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/8507593/"
] |
74,518,738 | <p>I have some example data that shows some data related to docs (<code>docs.id</code>) and the people which it refers to (<code>details.id</code>) :</p>
<p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
<div class="snippet-code">
<pre class="snippet-code-js lang-js pret... | [
{
"answer_id": 74537670,
"author": "iJungleBoy",
"author_id": 5044294,
"author_profile": "https://Stackoverflow.com/users/5044294",
"pm_score": 1,
"selected": false,
"text": "convertLinks: false"
},
{
"answer_id": 74594173,
"author": "João Gomes",
"author_id": 8507593,
... | 2022/11/21 | [
"https://Stackoverflow.com/questions/74518738",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/11886740/"
] |
74,518,778 | <p>I'm unable to get current user inside serializer. I have passed context but still i get error like</p>
<pre><code>"user": [
"This field is required."
]
</code></pre>
<p>#Serializer.py</p>
<pre><code>class AddressSerializer(ModelSerializer):
class Meta:
model = Address
... | [
{
"answer_id": 74537670,
"author": "iJungleBoy",
"author_id": 5044294,
"author_profile": "https://Stackoverflow.com/users/5044294",
"pm_score": 1,
"selected": false,
"text": "convertLinks: false"
},
{
"answer_id": 74594173,
"author": "João Gomes",
"author_id": 8507593,
... | 2022/11/21 | [
"https://Stackoverflow.com/questions/74518778",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/16853253/"
] |
74,518,826 | <pre><code>DATA = data.frame(STUDENT = c(1,1,1,1,1,2,2,2,2,3,3,3),
YEAR = c(2000,2000,2001,2001,2002,2000,2001,2001,2002,2000,2001,2001),
SEMESTER = c(1,2,1,2,1,2,1,2,1,1,2,1),
SCORE = c(7,4,5,6,8,9,1,1,1,2,3,4),
WANT= c(NA, NA, 1, NA, 1, NA, 0, NA... | [
{
"answer_id": 74519180,
"author": "Andy Baxter",
"author_id": 10744082,
"author_profile": "https://Stackoverflow.com/users/10744082",
"pm_score": 2,
"selected": false,
"text": "library(tidyverse)\n\nDATA = data.frame(STUDENT = c(1,1,1,1,1,2,2,2,2,3,3,3),\n YEAR = c(2000... | 2022/11/21 | [
"https://Stackoverflow.com/questions/74518826",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/5619171/"
] |
74,518,836 | <p><img src="https://i.imgur.com/LYOTjcv.jpg" alt="Text" /></p>
<p>I am using Blazor.</p>
<p>I am trying to get a specific result from dbset.</p>
<p>I have two conditions, salary is 620 and deduction is for p2.</p>
<p>The difficult thing is range, btw 600~700 for salary. Then how I move to specific column to get the re... | [
{
"answer_id": 74520145,
"author": "MrC aka Shaun Curtis",
"author_id": 13065781,
"author_profile": "https://Stackoverflow.com/users/13065781",
"pm_score": 2,
"selected": true,
"text": "using var dbContext = _factory.CreateDbContext();\ndbContext.ChangeTracker.QueryTrackingBehavior = Que... | 2022/11/21 | [
"https://Stackoverflow.com/questions/74518836",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/2136407/"
] |
74,518,856 | <p>I currently learn C, in the kr book there is one paragraph that confuses me:</p>
<p><em>"Q Rather more surprising, at least at first sight, is the fact that a reference to
a[i] can also be written as <code>*(a+i)</code>. In evaluating <code>a[i]</code>, C converts it to
<code>*(a+i)</code> immediately; the two ... | [
{
"answer_id": 74519292,
"author": "Eric Postpischil",
"author_id": 298225,
"author_profile": "https://Stackoverflow.com/users/298225",
"pm_score": 0,
"selected": false,
"text": "*x x *x x x int y y int y; y y = y+1 y y y+1 y y = y y y = y+1 sizeof & ++ -- . y = y+1 y y y *x x *x *x = *x... | 2022/11/21 | [
"https://Stackoverflow.com/questions/74518856",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/20562428/"
] |
74,518,889 | <p>I already have a list adapter that works properly. But I want to divide the object in the list into sections according to the date they were created. Something like this:</p>
<p><a href="https://i.stack.imgur.com/8IBZx.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/8IBZx.png" alt="enter image des... | [
{
"answer_id": 74522121,
"author": "cactustictacs",
"author_id": 13598222,
"author_profile": "https://Stackoverflow.com/users/13598222",
"pm_score": 3,
"selected": true,
"text": "GONE onBindViewHolder VISIBLE GONE val visible = position == 0 || items[position].date != items[position - 1]... | 2022/11/21 | [
"https://Stackoverflow.com/questions/74518889",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/12431078/"
] |
74,518,892 | <p>After login is successful it stays on the login page with the user's info still in inputs, as I want it to redirect to previous location or home.. I don't know if I used useSearchParams the right way and if i should include them in the useEffect. "After login is successful it stays on the login page with the us... | [
{
"answer_id": 74522121,
"author": "cactustictacs",
"author_id": 13598222,
"author_profile": "https://Stackoverflow.com/users/13598222",
"pm_score": 3,
"selected": true,
"text": "GONE onBindViewHolder VISIBLE GONE val visible = position == 0 || items[position].date != items[position - 1]... | 2022/11/21 | [
"https://Stackoverflow.com/questions/74518892",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/19778871/"
] |
74,518,902 | <p>I have created an app for my company. To use the application, you need to log in to the account that We ourselves create for each specific employee, registration of new accounts in the application is not available now and will not be available in the future, since only We can create new accounts for new employees an... | [
{
"answer_id": 74522121,
"author": "cactustictacs",
"author_id": 13598222,
"author_profile": "https://Stackoverflow.com/users/13598222",
"pm_score": 3,
"selected": true,
"text": "GONE onBindViewHolder VISIBLE GONE val visible = position == 0 || items[position].date != items[position - 1]... | 2022/11/21 | [
"https://Stackoverflow.com/questions/74518902",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/19061392/"
] |
74,518,903 | <p>Im supposed to write a method divideByTwo that takes an integer as a parameter and returns the number divided by 2. and i need to try to solve the problem with a single program statement in the method. I don't know how to fix the problem, i've used modulo, while loop, changed the return value but still don't know wh... | [
{
"answer_id": 74522121,
"author": "cactustictacs",
"author_id": 13598222,
"author_profile": "https://Stackoverflow.com/users/13598222",
"pm_score": 3,
"selected": true,
"text": "GONE onBindViewHolder VISIBLE GONE val visible = position == 0 || items[position].date != items[position - 1]... | 2022/11/21 | [
"https://Stackoverflow.com/questions/74518903",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/20035146/"
] |
74,518,908 | <p>I have the following array of objects</p>
<pre><code>var array = [
{first_name: 'Mike', last_name: 'Kelly'},
{first_name: 'Charles', last_name: 'Bronson'},
{first_name: 'Chuck', last_name: 'Norris'},
];
</code></pre>
<p>I wanted to replace underscore with space and capitalize first word of each key as follows<... | [
{
"answer_id": 74522121,
"author": "cactustictacs",
"author_id": 13598222,
"author_profile": "https://Stackoverflow.com/users/13598222",
"pm_score": 3,
"selected": true,
"text": "GONE onBindViewHolder VISIBLE GONE val visible = position == 0 || items[position].date != items[position - 1]... | 2022/11/21 | [
"https://Stackoverflow.com/questions/74518908",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/12499550/"
] |
74,518,909 | <p>I have a 2d array with shape(3,6), then i want to create a condition to check a value of each array.
my data arry is as follows :</p>
<blockquote>
<p>array([[ 1, 2, 3, 4, 5, 6],
7, 8, 9, 10, 11, 12],
[13, 14, 15, 16, 17, 18]])</p>
</blockquote>
<p>if in an array there are numbers < 10 then the value will b... | [
{
"answer_id": 74518930,
"author": "mozway",
"author_id": 16343464,
"author_profile": "https://Stackoverflow.com/users/16343464",
"pm_score": 3,
"selected": true,
"text": "FCDataNew = np.array([[1,2,3,4,5,6],\n [7,8,9,10,11,12],\n [13,14,15,16,17... | 2022/11/21 | [
"https://Stackoverflow.com/questions/74518909",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/20562723/"
] |
74,518,929 | <p>Can I simplify this code without foreach?</p>
<pre><code>$userQuestIds = [2,4,45,586,16,2,143,234,654,78,56];
$typeQuests = [];
foreach ($userQuestIds as $qId) {
$typeQuests[] = Quest::where(['id' => $qId])->first();
}
</code></pre>
| [
{
"answer_id": 74519012,
"author": "Rouhollah Mazarei",
"author_id": 5876267,
"author_profile": "https://Stackoverflow.com/users/5876267",
"pm_score": 1,
"selected": false,
"text": "whereIn $typeQuests = Quest::whereIn('id', $userQuestIds)->get();\n id"
},
{
"answer_id": 74519140... | 2022/11/21 | [
"https://Stackoverflow.com/questions/74518929",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/12213220/"
] |
74,518,932 | <p>Good day,
I am doing Web api rest project and want to include product search for products by size and color, but I want to be able search for example:
1 One size</p>
<pre><code>[httpGet][Route("oneSize/{sizeID}")]
</code></pre>
<p>2 Two Sizes</p>
<pre><code>[httpGet][Route("TwoSizes/{sizeID1}/{sizeID2... | [
{
"answer_id": 74519606,
"author": "theemee",
"author_id": 14299113,
"author_profile": "https://Stackoverflow.com/users/14299113",
"pm_score": 2,
"selected": true,
"text": "FromQuery [HttpGet]\npublic IActionResult SearchProducts([FromQuery] int[] sizeIds, [FromQuery] int[] colorIds) {\n... | 2022/11/21 | [
"https://Stackoverflow.com/questions/74518932",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/17250130/"
] |
74,518,937 | <p>As we all know, we can easy to see the line of an output statement in the browser, just like follow picture</p>
<p><a href="https://i.stack.imgur.com/L8dBk.png" rel="nofollow noreferrer">enter image description here</a></p>
<p>but in the nodejs env, how do I know what line is 'output statement' in.</p>
<hr />
<p>I h... | [
{
"answer_id": 74519057,
"author": "dbonev",
"author_id": 4200334,
"author_profile": "https://Stackoverflow.com/users/4200334",
"pm_score": 0,
"selected": false,
"text": "console.log(error, LINE_NUMBER);\n"
},
{
"answer_id": 74519062,
"author": "T.J. Crowder",
"author_id"... | 2022/11/21 | [
"https://Stackoverflow.com/questions/74518937",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/15527429/"
] |
74,518,944 | <p>I read multiple related threads about how to solve the same problem, but I couldn't apply the solutions to my code.</p>
<p>Also, the code is supposed receive a path to a text file which must contain text composed of only English letters and punctuation symbols and a destination file for encrypted data.</p>
<p>Any su... | [
{
"answer_id": 74519057,
"author": "dbonev",
"author_id": 4200334,
"author_profile": "https://Stackoverflow.com/users/4200334",
"pm_score": 0,
"selected": false,
"text": "console.log(error, LINE_NUMBER);\n"
},
{
"answer_id": 74519062,
"author": "T.J. Crowder",
"author_id"... | 2022/11/21 | [
"https://Stackoverflow.com/questions/74518944",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/20111366/"
] |
74,518,951 | <p>I'm wanting to set a combined maximum length of 1400 for three input fields in angular, so if say that for the first field the user enters 400 characters, in the second and third fields the maxlength becomes 1000.</p>
<p>I have found one answer at StackOverflow but that is for angularjs and not working even if I fol... | [
{
"answer_id": 74519057,
"author": "dbonev",
"author_id": 4200334,
"author_profile": "https://Stackoverflow.com/users/4200334",
"pm_score": 0,
"selected": false,
"text": "console.log(error, LINE_NUMBER);\n"
},
{
"answer_id": 74519062,
"author": "T.J. Crowder",
"author_id"... | 2022/11/21 | [
"https://Stackoverflow.com/questions/74518951",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/16469291/"
] |
74,518,961 | <p>I have this table:</p>
<div class="s-table-container">
<table class="s-table">
<thead>
<tr>
<th>employee number</th>
<th>job</th>
<th>year</th>
</tr>
</thead>
<tbody>
<tr>
<td>111</td>
<td>paramedic</td>
<td>2022</td>
</tr>
<tr>
<td>111</td>
<td>doctor</td>
<td>2021</td>
</tr>
<tr>
<td>111</td>
<td>student</td>
<td>... | [
{
"answer_id": 74519057,
"author": "dbonev",
"author_id": 4200334,
"author_profile": "https://Stackoverflow.com/users/4200334",
"pm_score": 0,
"selected": false,
"text": "console.log(error, LINE_NUMBER);\n"
},
{
"answer_id": 74519062,
"author": "T.J. Crowder",
"author_id"... | 2022/11/21 | [
"https://Stackoverflow.com/questions/74518961",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/13942179/"
] |
74,519,025 | <p>I'd like to create a class with can use any Vector.</p>
<p>Possible types could be std::vector, boost::vector, etl::vector.</p>
<p>All used vector types must implement std::vector member functions.
I'd like to create a concept which validates that the used vector type implements all std::vector member functions</p>
... | [
{
"answer_id": 74519196,
"author": "chi",
"author_id": 3234959,
"author_profile": "https://Stackoverflow.com/users/3234959",
"pm_score": 2,
"selected": false,
"text": "template<typename Element_T,\n template <typename Elem> typename Vector_T>\nrequires IVector_T<Vector_T<Element_... | 2022/11/21 | [
"https://Stackoverflow.com/questions/74519025",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/11729602/"
] |
74,519,028 | <p><strong>DATA IN DATABASE</strong></p>
<pre><code>"data": [
{
"recruiter": "Venkatesh",
"Total": [
{
"_id": "6368de60a13476be793928bb",
"Status": "Client Submitted",
... | [
{
"answer_id": 74519196,
"author": "chi",
"author_id": 3234959,
"author_profile": "https://Stackoverflow.com/users/3234959",
"pm_score": 2,
"selected": false,
"text": "template<typename Element_T,\n template <typename Elem> typename Vector_T>\nrequires IVector_T<Vector_T<Element_... | 2022/11/21 | [
"https://Stackoverflow.com/questions/74519028",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/20562714/"
] |
74,519,043 | <p>How to extract re-captcha token from blockchain in jmeter</p>
<p>I want a token id from blockchain and implement in another graphql Request as variable</p>
| [
{
"answer_id": 74519196,
"author": "chi",
"author_id": 3234959,
"author_profile": "https://Stackoverflow.com/users/3234959",
"pm_score": 2,
"selected": false,
"text": "template<typename Element_T,\n template <typename Elem> typename Vector_T>\nrequires IVector_T<Vector_T<Element_... | 2022/11/21 | [
"https://Stackoverflow.com/questions/74519043",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/20562878/"
] |
74,519,046 | <p>A business feature that came out is to export invoice PDF files with arabic text. Stack we're using is: Spring boot 2.7.5</p>
<p>We're generating our PDFs using jasperreport:</p>
<pre><code> <dependency>
<groupId>net.sf.jasperreports</groupId>
<artifactId>jasperreports</... | [
{
"answer_id": 74519196,
"author": "chi",
"author_id": 3234959,
"author_profile": "https://Stackoverflow.com/users/3234959",
"pm_score": 2,
"selected": false,
"text": "template<typename Element_T,\n template <typename Elem> typename Vector_T>\nrequires IVector_T<Vector_T<Element_... | 2022/11/21 | [
"https://Stackoverflow.com/questions/74519046",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/4682000/"
] |
74,519,060 | <p>So I have a table with name, quantity and price</p>
<pre><code>name quantity price "custom-row"
a 12 5 12*5
b 20 3 20*3
c 18 10 18*10
</code></pre>
<p>Is it possible to add a "c... | [
{
"answer_id": 74519196,
"author": "chi",
"author_id": 3234959,
"author_profile": "https://Stackoverflow.com/users/3234959",
"pm_score": 2,
"selected": false,
"text": "template<typename Element_T,\n template <typename Elem> typename Vector_T>\nrequires IVector_T<Vector_T<Element_... | 2022/11/21 | [
"https://Stackoverflow.com/questions/74519060",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/15671786/"
] |
74,519,064 | <pre><code>data = tibble(x = c("a", "b"), y = c("aa", "b"), z = c("a", "bb"))
data %>%
mutate(str_length = across(c(x, y, z), ~ str_count(., ".")))
</code></pre>
<p>How do I calculate the difference between str_length for each row?</p>
<p>Desi... | [
{
"answer_id": 74519137,
"author": "Josh White",
"author_id": 20289207,
"author_profile": "https://Stackoverflow.com/users/20289207",
"pm_score": 2,
"selected": false,
"text": "data %>% \n mutate(\n str_diff = abs(str_count(x) - str_count(y))\n )\n x y z str_diff\n <ch... | 2022/11/21 | [
"https://Stackoverflow.com/questions/74519064",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/16748103/"
] |
74,519,107 | <p>So I've actually got two issues with <strong>PostgreSQL</strong>. I actually use <strong>npgsql.NET</strong> to create queries, connections, other with PostgreSQL, however I am new to this database software.</p>
<h1>First Issue</h1>
<p>I got the error:</p>
<pre class="lang-cs prettyprint-override"><code>Npgsql.Postg... | [
{
"answer_id": 74519137,
"author": "Josh White",
"author_id": 20289207,
"author_profile": "https://Stackoverflow.com/users/20289207",
"pm_score": 2,
"selected": false,
"text": "data %>% \n mutate(\n str_diff = abs(str_count(x) - str_count(y))\n )\n x y z str_diff\n <ch... | 2022/11/21 | [
"https://Stackoverflow.com/questions/74519107",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/19200377/"
] |
74,519,144 | <p>I am calling some macros via VBA cod i need some changes in it, i will be thankful if any help could be provided</p>
<pre><code>Sub Button1_Click()
Call moveFilesFromListPartial
Call moveFilesFromListPartial_AA
Call moveAllFilesInDateFolderIfNotExist
Application.OnTime Now + TimeValue("00:01:00... | [
{
"answer_id": 74520927,
"author": "Guillaume BEDOYA",
"author_id": 20522241,
"author_profile": "https://Stackoverflow.com/users/20522241",
"pm_score": 1,
"selected": false,
"text": "Application.Wait Sub Button1_Click()\n\n Call moveFilesFromListPartial\n Call moveFilesFromListPart... | 2022/11/21 | [
"https://Stackoverflow.com/questions/74519144",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/20141828/"
] |
74,519,176 | <p>How to remove duplicate entries from a large Oracle table (200M rows, 20 columns)?</p>
<p>The below query <a href="https://stackoverflow.com/questions/529098/removing-duplicate-rows-from-table-in-oracle">from 2014</a> is slow. It took 2 minutes to delete 1 duplicate entry for one specific combination of columns (i.e... | [
{
"answer_id": 74520927,
"author": "Guillaume BEDOYA",
"author_id": 20522241,
"author_profile": "https://Stackoverflow.com/users/20522241",
"pm_score": 1,
"selected": false,
"text": "Application.Wait Sub Button1_Click()\n\n Call moveFilesFromListPartial\n Call moveFilesFromListPart... | 2022/11/21 | [
"https://Stackoverflow.com/questions/74519176",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/19363912/"
] |
74,519,188 | <p>I've a simple question but I couldn't find a plausible solution.</p>
<p>My dataframe looks like this:</p>
<pre><code>dput(prec)
structure(list(date = structure(c(19091, 19091, 19092, 19092,
19093, 19093, 19094, 19094, 19095, 19095, 19096, 19096, 19097,
19097, 19098, 19098, 19099, 19099, 19100, 19100, 19101, 19101,... | [
{
"answer_id": 74519438,
"author": "user2974951",
"author_id": 2974951,
"author_profile": "https://Stackoverflow.com/users/2974951",
"pm_score": 3,
"selected": true,
"text": "prec[duplicated(prec$date),\"Precip_Tot\"]=NA\n\n date target Precip_Tot\n1 2022-04-09 grass 0.0000... | 2022/11/21 | [
"https://Stackoverflow.com/questions/74519188",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/15030195/"
] |
74,519,192 | <p>How can I evaluate an <code>ifelse()</code> statement using a condition stored in a character vector?</p>
<p>For example:</p>
<pre><code>a <- 1
b <- 2
condition <- ">"
ifelse(a condition b, print("good"), print("bad))
</code></pre>
| [
{
"answer_id": 74519322,
"author": "Anoushiravan R",
"author_id": 14314520,
"author_profile": "https://Stackoverflow.com/users/14314520",
"pm_score": 3,
"selected": false,
"text": "ifelse(eval(parse(text = paste0(a, condition, b))), 'good', 'bad')\n"
},
{
"answer_id": 74519376,
... | 2022/11/21 | [
"https://Stackoverflow.com/questions/74519192",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/19305511/"
] |
74,519,210 | <p>What is the <code>-o</code> flag in this .NET CLI command: <code>dotnet new webapi -o RESTfulAPIName</code>?</p>
<p>My .Net Core SDK version is 6.0.403.</p>
| [
{
"answer_id": 74519269,
"author": "gunr2171",
"author_id": 1043380,
"author_profile": "https://Stackoverflow.com/users/1043380",
"pm_score": 2,
"selected": false,
"text": "./<ProjectName>/ dotnet new --help"
},
{
"answer_id": 74519277,
"author": "Mellik",
"author_id": 20... | 2022/11/21 | [
"https://Stackoverflow.com/questions/74519210",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/6805982/"
] |
74,519,257 | <p>I have a multiindex and I want to perform drop_duplicates on a per level basis, I dont want to look at the entire dataframe but only if there is a duplicate with the same main index</p>
<p>Example:</p>
<pre><code>entry,subentry,A,B
1 0 1.0 1.0
1 1.0 1.0
2 2.0 2.0
2 0 1.0 1.0
1 2.0 2.0
2 2.0 2.0
</code></pr... | [
{
"answer_id": 74519273,
"author": "jezrael",
"author_id": 2901002,
"author_profile": "https://Stackoverflow.com/users/2901002",
"pm_score": 3,
"selected": true,
"text": "MultiIndex.get_level_values Index.duplicated entry boolean indexing df1 = df[df.index.get_level_values('entry').dupli... | 2022/11/21 | [
"https://Stackoverflow.com/questions/74519257",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/13981994/"
] |
74,519,289 | <p>I have got a python list</p>
<pre><code>Year= [‘1997JAN’, ‘1997FEB’, ‘1997MAR’‘1997APR’………………………’2021SEP’’2021OCT’]
</code></pre>
<p>I would like to extract only years from the above list but not the months</p>
<p>How can I extract only years?</p>
<pre><code>Year = [1997,1997,1997,…………………2021,2021]
</code></pre>
| [
{
"answer_id": 74519387,
"author": "here_need_help",
"author_id": 19383281,
"author_profile": "https://Stackoverflow.com/users/19383281",
"pm_score": 2,
"selected": true,
"text": "dates = ['1997JAN', '1997FEB', '1997MAR','1997APR', '2022NOV']\n years = [int(x[:4]) for x in dates]\n"
},... | 2022/11/21 | [
"https://Stackoverflow.com/questions/74519289",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/17731735/"
] |
74,519,306 | <p>I have a schema, in which there are many tables and which thus contains many columns. Is there a way I can select specific columns from the scheme?</p>
| [
{
"answer_id": 74519543,
"author": "MT0",
"author_id": 1509264,
"author_profile": "https://Stackoverflow.com/users/1509264",
"pm_score": 1,
"selected": false,
"text": "SELECT column1, column3, column4\nFROM schema_name.table_name\n SELECT t1.column1,\n t1.column3,\n t2.colu... | 2022/11/21 | [
"https://Stackoverflow.com/questions/74519306",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/7518949/"
] |
74,519,334 | <p>The program is meant to remove the '-' from an ISBN code inputted, eg. "978-123456-789" is inputted and "978123456789" is outputted. Instead what I'm getting out is "978123456789978123456789" - it's printing it twice. Can someone please explain to me why? Thanks</p>
<pre><code>#include ... | [
{
"answer_id": 74519543,
"author": "MT0",
"author_id": 1509264,
"author_profile": "https://Stackoverflow.com/users/1509264",
"pm_score": 1,
"selected": false,
"text": "SELECT column1, column3, column4\nFROM schema_name.table_name\n SELECT t1.column1,\n t1.column3,\n t2.colu... | 2022/11/21 | [
"https://Stackoverflow.com/questions/74519334",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/20563109/"
] |
74,519,359 | <p>I need to find all columns that have 5 or more distinct values. Now my query is like:</p>
<pre><code> SELECT TABLE_NAME,COLUMN_NAME, DATA_TYPE
FROM INFORMATION_SCHEMA.COLUMNS
WHERE TABLE_SCHEMA = 'MY_SCHEMA'
AND TABLE_NAME IN ('TABLE_1', 'TABLE_2', 'TABLE_3')
</code></pre>
<p>I thought it could be done like si... | [
{
"answer_id": 74519543,
"author": "MT0",
"author_id": 1509264,
"author_profile": "https://Stackoverflow.com/users/1509264",
"pm_score": 1,
"selected": false,
"text": "SELECT column1, column3, column4\nFROM schema_name.table_name\n SELECT t1.column1,\n t1.column3,\n t2.colu... | 2022/11/21 | [
"https://Stackoverflow.com/questions/74519359",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/12359353/"
] |
74,519,373 | <p>I try to write mock test using jest and @vue/test-utils,
Here is the "<strong>bots.spec.js</strong>" / test file.</p>
<pre><code>jest.mock('axios', ()=>({
getBots: () => {
const result = {
__esModule: true,
data: () => ({
name: "demo",
_id: "... | [
{
"answer_id": 74520094,
"author": "Tobias Souza",
"author_id": 20562925,
"author_profile": "https://Stackoverflow.com/users/20562925",
"pm_score": 2,
"selected": false,
"text": "jest.mock('axios', () => ({\n get: jest.fn(),\n}));\n it('Should load given bots', async() =>{\n (mockAxios... | 2022/11/21 | [
"https://Stackoverflow.com/questions/74519373",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/15383182/"
] |
74,519,394 | <p>I am a beginner python user and I am stuck with a time-calculator program I am trying to create as part of an online certification. The program will calculate in an AM/PM format the time it is added from the initial time and the correct weekday. I have been having problems with this part as for reasons unknown to me... | [
{
"answer_id": 74519521,
"author": "Claude Shannon",
"author_id": 20102259,
"author_profile": "https://Stackoverflow.com/users/20102259",
"pm_score": 1,
"selected": false,
"text": "starting weekday:tuesday\nThis is the starting day of the week's index: 1\nThis is the day count 1\nThis is... | 2022/11/21 | [
"https://Stackoverflow.com/questions/74519394",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/13310599/"
] |
74,519,398 | <p>So I have a stack view and the profile image needs to go next to the the username and stay there. How do I do that in this arranged stack view without conflicts because I have tried to anchor it to the top. Like this but no results:</p>
<p><a href="https://i.stack.imgur.com/JIwWK.png" rel="nofollow noreferrer">Image... | [
{
"answer_id": 74519761,
"author": "md-rubel",
"author_id": 11224645,
"author_profile": "https://Stackoverflow.com/users/11224645",
"pm_score": -1,
"selected": false,
"text": "override init(style: UITableViewCell.CellStyle, reuseIdentifier: String?) {\n super.init(style: style, reuseI... | 2022/11/21 | [
"https://Stackoverflow.com/questions/74519398",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/20143356/"
] |
74,519,442 | <p>I'm trying to make a table that lists 2 types of files linked together. One type are .mp3, and the other are .txt files. I want these files to be linked together, such that the files that share the same name share one row, when the foreach loop passes through them. This is so that the mp3 files can be played, and th... | [
{
"answer_id": 74521294,
"author": "Brian Parker",
"author_id": 1492496,
"author_profile": "https://Stackoverflow.com/users/1492496",
"pm_score": 2,
"selected": true,
"text": "Linq GroupBy @foreach(var fileGroup in myFilesGroupedAndSorted)\n{\n <h3>@fileGroup.Key</h3>\n @foreach(va... | 2022/11/21 | [
"https://Stackoverflow.com/questions/74519442",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/20373344/"
] |
74,519,459 | <p>language: Python 3.7.0
mysql-connector-python==8.0.31</p>
<p>I'm working on a website and have just implemented a database. The response I'm getting from the database looks like this:</p>
<pre><code>[('indigo', 'admin')]
</code></pre>
<p>How do I extract the two values from the tuple in a list and convert it to a li... | [
{
"answer_id": 74521294,
"author": "Brian Parker",
"author_id": 1492496,
"author_profile": "https://Stackoverflow.com/users/1492496",
"pm_score": 2,
"selected": true,
"text": "Linq GroupBy @foreach(var fileGroup in myFilesGroupedAndSorted)\n{\n <h3>@fileGroup.Key</h3>\n @foreach(va... | 2022/11/21 | [
"https://Stackoverflow.com/questions/74519459",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/12908643/"
] |
74,519,478 | <p>The number n^k is entered, I need to output the value in a character array-string</p>
<p>I have no idea how to write the code</p>
| [
{
"answer_id": 74519605,
"author": "abelenky",
"author_id": 34824,
"author_profile": "https://Stackoverflow.com/users/34824",
"pm_score": 1,
"selected": false,
"text": "#include <stdio.h>\n#include <math.h>\n\nint main(void) {\n int n;\n printf(\"Enter N:\\n\");\n scanf(\"%d\", ... | 2022/11/21 | [
"https://Stackoverflow.com/questions/74519478",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/20417945/"
] |
74,519,480 | <p>I want to sum the Amount in my Bill Table via dates and report as daily sales</p>
<p>The table columns are
Client Name, Amount, BDate
This is what I have tried</p>
<pre><code> Dim query = "SELECT SUM(Amount)as sales FROM BillTbl where [BDate] = ? "
Dim conkey As New SqlConnection(con)
Dim... | [
{
"answer_id": 74520187,
"author": "SWR",
"author_id": 20533163,
"author_profile": "https://Stackoverflow.com/users/20533163",
"pm_score": 1,
"selected": false,
"text": "Sales ClientName SELECT [BDate], SUM([Amount]) AS Sales FROM [BillTbl] GROUP BY [BDate]\n BDate SELECT CAST([BDate] AS... | 2022/11/21 | [
"https://Stackoverflow.com/questions/74519480",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/20554111/"
] |
74,519,508 | <p>I have a simple database structure:</p>
<pre><code>CREATE TABLE dbo.Report
(
ID int NOT NULL,
Name varchar(50) NOT NULL
)
CREATE TABLE dbo.ReportText
(
ID int NOT NULL,
Content varchar(max) NOT NULL,
FK_ReportID int NOT NULL,
FK_FontID int NOT NULL
)
CREATE TABLE dbo.Font
(
ID int NOT ... | [
{
"answer_id": 74520249,
"author": "Giovanni Luisotto",
"author_id": 9614903,
"author_profile": "https://Stackoverflow.com/users/9614903",
"pm_score": 2,
"selected": false,
"text": "CREATE FUNCTION dbo.CheckFontUsage (@ReportID int, @FontID int)\nRETURNS bit\nAS\nBEGIN\n DECLARE @Alre... | 2022/11/21 | [
"https://Stackoverflow.com/questions/74519508",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/5819046/"
] |
74,519,530 | <p>I am attempting to conditionally render items of an array from <a href="https://jsonplaceholder.typicode.com/users" rel="nofollow noreferrer">json placeholder</a>, by using a ternary operator to establish if an array has any items, then map through it, and return the items. If not, return a message indicating so. I'... | [
{
"answer_id": 74520249,
"author": "Giovanni Luisotto",
"author_id": 9614903,
"author_profile": "https://Stackoverflow.com/users/9614903",
"pm_score": 2,
"selected": false,
"text": "CREATE FUNCTION dbo.CheckFontUsage (@ReportID int, @FontID int)\nRETURNS bit\nAS\nBEGIN\n DECLARE @Alre... | 2022/11/21 | [
"https://Stackoverflow.com/questions/74519530",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/19433155/"
] |
74,519,531 | <p>So, im trying to make a script that takes code from a pastebin post and runs it. But, for some reason it doesnt run the code. I dont know why. Could someone explain why this wont work so i can fix the issue?</p>
<p>I tried:
(dont mind the imports im gonna use those for later)</p>
<pre><code>import os
from json impo... | [
{
"answer_id": 74519614,
"author": "vineet singh",
"author_id": 12623612,
"author_profile": "https://Stackoverflow.com/users/12623612",
"pm_score": 0,
"selected": false,
"text": "def main():\n exec(test)\n"
}
] | 2022/11/21 | [
"https://Stackoverflow.com/questions/74519531",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/20463334/"
] |
74,519,555 | <p>I am trying to convert python dataframe into column headers. I am using transpose function but results are not as expected. Which function can be used to accomplish the results as given below?</p>
<p>data is:</p>
<pre><code>Year 2020
Month SEPTEMBER
Filed Date 29-11-2020
Year 2022
Month JULY
Filed Date 2... | [
{
"answer_id": 74519904,
"author": "Sam Wittwicky",
"author_id": 20546479,
"author_profile": "https://Stackoverflow.com/users/20546479",
"pm_score": 0,
"selected": false,
"text": "Year 2020\nMonth SEPTEMBER\nFiled Date 29-11-2020\nYear 2022\nMonth JULY\nFiled Date 20-08-2022\... | 2022/11/21 | [
"https://Stackoverflow.com/questions/74519555",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/20546479/"
] |
74,519,566 | <p>I have a player where you move with WASD. Currently, moving forwards and backwards has the same speed, but walking backwards and sideways should be slower.</p>
<pre><code>float x = Input.GetAxis("Horizontal");
float z = Input.GetAxis("Vertical");
Vector3 move = transform.right * ... | [
{
"answer_id": 74519904,
"author": "Sam Wittwicky",
"author_id": 20546479,
"author_profile": "https://Stackoverflow.com/users/20546479",
"pm_score": 0,
"selected": false,
"text": "Year 2020\nMonth SEPTEMBER\nFiled Date 29-11-2020\nYear 2022\nMonth JULY\nFiled Date 20-08-2022\... | 2022/11/21 | [
"https://Stackoverflow.com/questions/74519566",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/20413330/"
] |
74,519,689 | <p>I need custom response to all my controllers, how to make this real?</p>
<p>I have format like this:
<strong>Success response</strong></p>
<pre><code>{
status: string,
code: number,
message: string
data: object | array | any,
request: {
url: string,
method: string
}
}
</code></pre>
<p><strong>Ex... | [
{
"answer_id": 74519746,
"author": "fonzane",
"author_id": 8863088,
"author_profile": "https://Stackoverflow.com/users/8863088",
"pm_score": 1,
"selected": false,
"text": "@Get('path')\nasync getResponse() {\n if(success) {\n return {\n status: string,\n code: number,\n ... | 2022/11/21 | [
"https://Stackoverflow.com/questions/74519689",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/7666874/"
] |
74,519,728 | <p>I'm a true beginner with Terraform, and here is my problem:</p>
<ul>
<li>I need to create multiple objects using the same resource of this type:</li>
</ul>
<pre><code>resource "jamf_smartComputerGroup" "test_smart_1" {
name = "Test Smart 1"
criteria {
priority = 0
name = &qu... | [
{
"answer_id": 74519746,
"author": "fonzane",
"author_id": 8863088,
"author_profile": "https://Stackoverflow.com/users/8863088",
"pm_score": 1,
"selected": false,
"text": "@Get('path')\nasync getResponse() {\n if(success) {\n return {\n status: string,\n code: number,\n ... | 2022/11/21 | [
"https://Stackoverflow.com/questions/74519728",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/20563161/"
] |
74,519,729 | <p>I'm making archives to .exe using <code>pyinstaller</code>, but I have a big problem, every time I create a file, its size multiplies, it seems that it is multiplying the libraries, does anyone know how to solve it?</p>
<pre><code>1° file size: 7mb
2° file size: 52mb
3° file size: 104mb
4° file size: 207mb
5° file ... | [
{
"answer_id": 74519746,
"author": "fonzane",
"author_id": 8863088,
"author_profile": "https://Stackoverflow.com/users/8863088",
"pm_score": 1,
"selected": false,
"text": "@Get('path')\nasync getResponse() {\n if(success) {\n return {\n status: string,\n code: number,\n ... | 2022/11/21 | [
"https://Stackoverflow.com/questions/74519729",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/20563396/"
] |
74,519,754 | <p>I'm doing CRUD operations with Laravel and I added a new input to my 'create' form, "nickname" but I'm getting this error:
SQLSTATE[HY000]: General error: 1364 Field 'nickname' doesn't have a default value</p>
<pre><code>INSERT INTO
`students` (
`name`,
`email`,
`phone`,
`password`,
`... | [
{
"answer_id": 74519792,
"author": "Evans Benedict",
"author_id": 20560614,
"author_profile": "https://Stackoverflow.com/users/20560614",
"pm_score": 1,
"selected": false,
"text": "nickname nickname nickname nickname INSERT INTO\n `students` (\n `name`,\n `nickname`,\n `email`,... | 2022/11/21 | [
"https://Stackoverflow.com/questions/74519754",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/16568985/"
] |
74,519,774 | <p>I have a ReactiveForm in Angular with validators. I'm trying to hand over the input data the user made to my <em>component.ts</em> and save it in a variable.</p>
<p>In my html file:</p>
<pre><code><form [formGroup]="loginForm" (ngSubmit)="submitLogin(emailLogin, passwordLogin)">
</code></pr... | [
{
"answer_id": 74519792,
"author": "Evans Benedict",
"author_id": 20560614,
"author_profile": "https://Stackoverflow.com/users/20560614",
"pm_score": 1,
"selected": false,
"text": "nickname nickname nickname nickname INSERT INTO\n `students` (\n `name`,\n `nickname`,\n `email`,... | 2022/11/21 | [
"https://Stackoverflow.com/questions/74519774",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/20553481/"
] |
74,519,777 | <p>Given a file tree with much dept like this:</p>
<pre><code>├── movepy.py # the file I want use to move all other files
└── testfodlerComp
├── asdas
│ └── erwer.txt
├── asdasdas
│ └── sdffg.txt
└── asdasdasdasd
├── hoihoi.txt
├── hoihej.txt
└── asd
├── dfsdf.txt
└── dsfsdf... | [
{
"answer_id": 74519792,
"author": "Evans Benedict",
"author_id": 20560614,
"author_profile": "https://Stackoverflow.com/users/20560614",
"pm_score": 1,
"selected": false,
"text": "nickname nickname nickname nickname INSERT INTO\n `students` (\n `name`,\n `nickname`,\n `email`,... | 2022/11/21 | [
"https://Stackoverflow.com/questions/74519777",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/5558126/"
] |
74,519,810 | <p>I am trying to find out if a txt file with 'newfile' name exists in a specified directory or not, if not create a new txt file</p>
<pre><code>import os.path
if (os.path.exists("newfile.txt") == False):
open("count.txt", "w")
</code></pre>
<p>but it does not work since I cannot acces... | [
{
"answer_id": 74519868,
"author": "Evans Benedict",
"author_id": 20560614,
"author_profile": "https://Stackoverflow.com/users/20560614",
"pm_score": 0,
"selected": false,
"text": "import os.path\n\nfile = 'yourpath\\file_to_check.txt' # 예제 Textfile\n\nif os.path.isfile(file):\n pri... | 2022/11/21 | [
"https://Stackoverflow.com/questions/74519810",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/20562785/"
] |
74,519,816 | <p>I've an icon and on click of that icon I need to navigate to a different component. That component is neither parent nor child of the component from where the icon was originally clicked.</p>
<pre><code><i class="fa fa-times" (click)="iconClicked()"></i>
</code></pre>
<pre><code>cons... | [
{
"answer_id": 74519868,
"author": "Evans Benedict",
"author_id": 20560614,
"author_profile": "https://Stackoverflow.com/users/20560614",
"pm_score": 0,
"selected": false,
"text": "import os.path\n\nfile = 'yourpath\\file_to_check.txt' # 예제 Textfile\n\nif os.path.isfile(file):\n pri... | 2022/11/21 | [
"https://Stackoverflow.com/questions/74519816",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/11163977/"
] |
74,519,832 | <p>I have created a private repo on github, I want to clone this (empty) repo to my local computer to push changes to.</p>
<p>I'm using MacOS Ventura 13.0.</p>
<p>I have created a keypair and I have uploaded the public key to <code>Settings > SSH and GPG keys</code>. <a href="https://docs.github.com/en/authenticatio... | [
{
"answer_id": 74520780,
"author": "Lazy Badger",
"author_id": 960558,
"author_profile": "https://Stackoverflow.com/users/960558",
"pm_score": -1,
"selected": false,
"text": "/etc/ssh/sshd_config"
}
] | 2022/11/21 | [
"https://Stackoverflow.com/questions/74519832",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/12496104/"
] |
74,519,837 | <p>I'm trying to see if the same "ID" its repeated but with a different "DATE" value.</p>
<p>I was thinking using a numpy.where, so I created the column "Count" to use something like this:</p>
<pre><code>df['FULFILL?'] = np.where((df['Count']>1) & (df['DATE']), 'YES', 'NO')
</code><... | [
{
"answer_id": 74520780,
"author": "Lazy Badger",
"author_id": 960558,
"author_profile": "https://Stackoverflow.com/users/960558",
"pm_score": -1,
"selected": false,
"text": "/etc/ssh/sshd_config"
}
] | 2022/11/21 | [
"https://Stackoverflow.com/questions/74519837",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/17211618/"
] |
74,519,922 | <p>I want to fetch data from the Database and want to show all the records of some columns by using listView.builder in flutter code .How I can do this ??</p>
<pre><code>
</code></pre>
<p>I want to fetch data from the Database and want to show all the records of some columns by using listView.builder in flutter code .H... | [
{
"answer_id": 74520780,
"author": "Lazy Badger",
"author_id": 960558,
"author_profile": "https://Stackoverflow.com/users/960558",
"pm_score": -1,
"selected": false,
"text": "/etc/ssh/sshd_config"
}
] | 2022/11/21 | [
"https://Stackoverflow.com/questions/74519922",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/20531148/"
] |
74,519,930 | <p>I'm trying to create the following Class:</p>
<pre><code>public decimal base { get; set; }
</code></pre>
<p>and I get the error mentioned. Any solution please?
Thank you.</p>
<p>I'm trying to create the following Class and I get the error mentioned. Any solution please? Thank you</p>
| [
{
"answer_id": 74520269,
"author": "theemee",
"author_id": 14299113,
"author_profile": "https://Stackoverflow.com/users/14299113",
"pm_score": 0,
"selected": false,
"text": "base public decimal Base { get; set; }\n"
},
{
"answer_id": 74574444,
"author": "Kroepniek",
"auth... | 2022/11/21 | [
"https://Stackoverflow.com/questions/74519930",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/4160061/"
] |
74,519,934 | <p>im new to flutter and i got a problem on my app,</p>
<p>firstly i was creating a button on my "ReminderPage" to navigate to a different page "AddReminder". it works before, so i try to add BottomNavigator in my "MainPage", but when i add a bottom navigatation from "HomePage" t... | [
{
"answer_id": 74520269,
"author": "theemee",
"author_id": 14299113,
"author_profile": "https://Stackoverflow.com/users/14299113",
"pm_score": 0,
"selected": false,
"text": "base public decimal Base { get; set; }\n"
},
{
"answer_id": 74574444,
"author": "Kroepniek",
"auth... | 2022/11/21 | [
"https://Stackoverflow.com/questions/74519934",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/20229067/"
] |
74,519,937 | <p>I have an existing dataframe with two columns as follows:</p>
<pre><code> reason market_state
0 NaN UNSCHEDULED_AUCTION
1 NaN None
2 NaN CLOSED
3 NaN CONTINUOUS_TRADING
4 NaN None
5 NaN UNSCHEDULED_A... | [
{
"answer_id": 74519968,
"author": "jezrael",
"author_id": 2901002,
"author_profile": "https://Stackoverflow.com/users/2901002",
"pm_score": 2,
"selected": false,
"text": "Series.fillna market_state d = {'F': 'OPENING_AUCTION','SL': 'CLOSING_AUCTION', 'L': 'CLOSED'}\nmarket_info_df['mark... | 2022/11/21 | [
"https://Stackoverflow.com/questions/74519937",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/19667022/"
] |
74,519,945 | <p>I'm trying to get the record count from multiple tables, like this.</p>
<pre><code>Select count(*)
From
(
Select Hist.Common_Name,
Veg.ID,
EDSH.ID
From Hist_Event_View as Hist
Inner Join Vegtables as Veg
ON Hist.Common_Name = Veg.ID
INNER JOIN Final as Final
ON Hist.Common_Name = Final.ID) as Sub
</... | [
{
"answer_id": 74519968,
"author": "jezrael",
"author_id": 2901002,
"author_profile": "https://Stackoverflow.com/users/2901002",
"pm_score": 2,
"selected": false,
"text": "Series.fillna market_state d = {'F': 'OPENING_AUCTION','SL': 'CLOSING_AUCTION', 'L': 'CLOSED'}\nmarket_info_df['mark... | 2022/11/21 | [
"https://Stackoverflow.com/questions/74519945",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/5212614/"
] |
74,519,954 | <p>I have a <code>TabPane</code> declared like this :</p>
<pre><code><?xml version="1.0" encoding="UTF-8"?>
<?import javafx.scene.control.TabPane?>
<TabPane fx:id="rootNode" maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minW... | [
{
"answer_id": 74520221,
"author": "Dmitry",
"author_id": 2769062,
"author_profile": "https://Stackoverflow.com/users/2769062",
"pm_score": -1,
"selected": false,
"text": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n\n<?import javafx.scene.control.Tab?>\n\n<?import javafx.scene.layout.An... | 2022/11/21 | [
"https://Stackoverflow.com/questions/74519954",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/2769062/"
] |
74,519,974 | <p><strong>Problem</strong>:</p>
<p>I want to calculate at several times the adjacency matrix <code>A_ij</code> given the adjacency list <code>E_ij</code>, where <code>E_ij[t,i] = j</code> gives the edge from <code>i</code> to <code>j</code> at time <code>t</code>.</p>
<p>I can do it with the following code:</p>
<pre c... | [
{
"answer_id": 74520182,
"author": "Chrysophylaxs",
"author_id": 9499196,
"author_profile": "https://Stackoverflow.com/users/9499196",
"pm_score": 3,
"selected": true,
"text": "import numpy as np\n\nnTimes = 100\nnParticles = 10\nA_ij = np.full((nTimes, nParticles, nParticles), False)\nE... | 2022/11/21 | [
"https://Stackoverflow.com/questions/74519974",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/12131616/"
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.