Skip to main content

All Questions

Filter by
Sorted by
Tagged with
3 votes
1 answer
66 views

Sample spreadsheet I've been trying for the life of me to figure out how to do this and cannot. I have a table: ColA is items, ColB is their category. Item Category Apple Fruit Orange Fruit ...
coltzans's user avatar
1 vote
1 answer
164 views

The database I'm working in is Snowflake. I also have to work through an interface and can't edit the SQL query directly. I'm trying to add a JOIN to a FROM clause that is connecting two schemas with ...
Rachel Helm's user avatar
2 votes
1 answer
121 views

I have a dataframes pulled from a file. The variable with all these dataframe names is: Data_Tables. These dataframes all have the same columns, and I want to concatenate the dataframes based on the ...
Jon S's user avatar
  • 55
0 votes
1 answer
45 views

I want to add a custom column to concatenate several columns with some if statements. I am getting a "Token 'else' expected error message. Can you please tell me what I forgot or did wrong? Power ...
Louchie20's user avatar
3 votes
1 answer
149 views

in node, i'm creating the following query: let sql_query = "\ SELECT \ ... \ WHERE \ FACILITY_ID = $1 \ AND (EVENT_START_TIME_UNIX_MS < $2) \ AND (...
4mla1fn's user avatar
  • 335
1 vote
0 answers
51 views

How to combine multiple CSS files into a single output file? In SASS, this was done in a SCSS file by adding in other SCSS files via the @use method. I have found that this can be done by adding in ...
Walrus's user avatar
  • 20.6k
1 vote
1 answer
64 views

I need to search for multiple different strings in the same set of multiple columns in a MySQL table. Here's one way that works (CONCAT / CONCAT_WS): SELECT * from some_table WHERE LOCATE('word1', (...
rgg's user avatar
  • 21
0 votes
0 answers
94 views

The first and last names of customers are found in separate columns and they need to be combined to enable proper analysis. I tried using the CONCATENATE function in Google Sheets and the full names ...
Keri Davis's user avatar
0 votes
2 answers
122 views

I am working on an interactive Excel project. I have a series of UserForms that take user-entered data and writes them to cells. In the final UserForm in the sequence, data is written to a final cell. ...
youngstubbs's user avatar
1 vote
1 answer
60 views

I have two dataframes with timestamp data. It is sensor readouts from different sources. I want to combine them. The left dataframe (df1) can be quite large as it will be a combination of multiple ...
Enesma's user avatar
  • 11
0 votes
1 answer
77 views

I want to produce an insert out of a table for another table with concat. All works well, besides a little devil ... At the end of the concat I get an ' after the ; Without the ' it works all well. ...
MBE's user avatar
  • 119
1 vote
1 answer
90 views

How do I concatenate two string columns horizontally or append a fixed string to a column?
qwr's user avatar
  • 11.6k
0 votes
1 answer
25 views

I have a function that allows access to system variables based on a lookup code. The lookup code has an enum type. typedef enum SystemVariable_e { INT_SYSTEM_VAR_1 = 0x10, INT_SYSTEM_VAR_2 = 0x20 ...
Derek Tables's user avatar
0 votes
1 answer
89 views

I'm working on Nested Set Hierarchies. I'm using a recursive CTE to build the nested equivalent of adjacency list table. MySQL 8.4 is my platform. -- adjacency list table CREATE TABLE dct_node_adjc ( ...
Felipe Lorenzo's user avatar
1 vote
1 answer
73 views

I am trying to write code that produces a deck of cards. The deck is a 2D array that contains each card as an array. Each card array contains its card value as well as its suit, represented by the ...
Kristen's user avatar
  • 21
1 vote
2 answers
60 views

I am trying to get user inputs to create a file where users can store website, username, and password in table format whenever users hit a button. I made the function below, and it looks okay to me. ...
schamane34's user avatar
-2 votes
1 answer
358 views

I want to concatenate the data from each column of a row in an Excel into a single cell. So for example, if I had the following: first_name last_name country Demetra Ioannou US Emmalyn ...
Stevoisiak's user avatar
  • 27.8k
-1 votes
1 answer
71 views

I'm writing a program which generates random letters and determines if there exists a word containing those letters in the order they're generated. No matter which letters are generated, the program ...
Maeve Convery's user avatar
0 votes
2 answers
98 views

I need to CONCATENATE a large table, so I can create a .csv string for a file import. The issue is that the system requires that all text fields are separated by ". In a CONCATENATE I am unable ...
CustomX's user avatar
  • 10.2k
0 votes
1 answer
74 views

sample input image1 I would like to use computer vision to detect the edge like this image2 I wonder if there were some image process algorithms that could help me? Note that some image could be ...
Trí Lê Đình's user avatar
0 votes
0 answers
50 views

One can easily concatenate (stack up) four arrays by using: B = cat(3, A, A, A, A); % here A is 2-dimensional M x N matrix and B is 3-dimensional M x N x 4 stack How is it possible to concatenate (...
Crowley's user avatar
  • 2,341
0 votes
0 answers
30 views

I have been struggling for a while and I hope someone can help me. What I want to do: 1- seek MTS files 2- conact them without re-encoding them How I do that: I write a file concatList.txt file 'file1....
pho's user avatar
  • 1
1 vote
1 answer
69 views

I'm making a file compiler that takes data from csv files and after every 8 files read concatenates the data into a separate csv file. The program is taking quite long to be able to do these functions....
Maor Barzilay's user avatar
0 votes
1 answer
120 views

I have a spreadsheet which I use to record species presence and abundance within a number of woodland zones (see excerpt below). The spreadsheet also contains a lot of other data about each species. ...
JimS-W's user avatar
  • 101
0 votes
1 answer
37 views

I'm new to SQL. I'm using MySQL Ver 15.1 Distrib 10.3.27-MariaDB. For the following. I'm trying to compute paths in a graph like this: a->b. create table edges ( start varchar(4), end ...
user2926204's user avatar
0 votes
0 answers
31 views

I have ID Name City Text ---- ----- ----- ------ 1 Michael London Hey this is text 1 Michael London that should be merged together to this: ID ...
Breznsoiza's user avatar
3 votes
1 answer
124 views

Here is the code: import java.util.Random; public class StringConcatCompilerOptimization { private static long compute() { var random = new Random(); var l = random.nextLong(); ...
nickolay's user avatar
  • 3,925
3 votes
2 answers
69 views

PostgreSQL syntax error when using CONCAT in user defined function. Using DbVisualizer as SQL client. CREATE FUNCTION t() RETURNS TEXT AS ' SELECT CONCAT('some', '_text') ; ' LANGUAGE plpgsql; [Code:...
ziu fas's user avatar
  • 31
1 vote
4 answers
108 views

I have a copy-paste data from a bank that looks as below. The problem is that the data is looks as below. Each transaction is recorded as row-wise for a given date. However, the description of each ...
John Honai's user avatar
0 votes
1 answer
66 views

Names Value Jack A2 Jack A3 Jack A4 Tom A5 Tom A6 How can I join all values in "Value" column in one cell that map to each name in Column Names? Also, have another column that counts the ...
Andy's user avatar
  • 11
4 votes
1 answer
50 views

Just for fun, I wanted to draw a circle and then continue into the sine wave for this circle. Now, I have an error that I can't seem to get around: the " tail," which erases the circle, is ...
Durra durra's user avatar
1 vote
1 answer
48 views

I am writing a test bench in which I am trying to define a bit stream like so: `define PREAMBLE (10'b1010101011) `define FUNC_ENERGY (4'b0001) reg bit_stream_tb = {`PREAMBLE, `FUNC_ENERGY, 1'b1}; ...
tech_scholar's user avatar
0 votes
0 answers
96 views

There are a couple of articles about this issue already, but none of them solve my issue. I have two sets of Python dataframes (df_A1, df_A2 and df_B1, df_B2) and I want to combine the A's together ...
Fish1996's user avatar
  • 567
-1 votes
1 answer
54 views

The apostrophe is this string is breaking a power automate flow. I would like the name to just be "Sheerin, Jon" Instead of "Sheerin, Jon O'Hare" and remove everything else after ...
Joni Van Arsdale's user avatar
-1 votes
1 answer
125 views

I detected that the np.hstack operation over a list of arrays is a bottleneck in my pipeline and I would like to have a more efficient way to perform the concatenation. Here a sample code to get to ...
unter_983's user avatar
  • 155
0 votes
1 answer
73 views

How can I get the result specified below? I tried using the LISTAGG function, but it does not eliminate duplicates. Is there a way to eliminate duplicates at the database itself instead of fetching ...
Jared's user avatar
  • 125
-1 votes
1 answer
49 views

I have a class class Phone: def __init__(self, brand, name): self.brand = brand self.name = name phone = Phone("apple", "iphone3") So I want to concatenate ...
fqv572's user avatar
  • 39
0 votes
0 answers
29 views

Hi :) I want to combine two dataframes, I have been looking on this site in the hopes of getting an answer but I still could not figure it out. My first dataframes looks like this (I put it as table ...
Soef's user avatar
  • 3
-3 votes
1 answer
35 views

Why does my Python code raise a TypeError when trying to concatenate a string and an integer? I tried concatenating a string and an integer like this: message = name + "is" + age I was ...
user28400292's user avatar
1 vote
1 answer
247 views

I have the following script, as seen, it calls the Date method onClick event, like so: <!DOCTYPE html> <html> <body> <p onclick='this.innerHTML = Date();'>click me!</...
iorgu's user avatar
  • 3,160
0 votes
1 answer
37 views

I have XML with product's parameters like colors. <parameter name='color'> <value>black</value> <value>white</value> </parameter> I want to output a value ...
Piotr Orczyk's user avatar
3 votes
2 answers
146 views

What is the principle of std::string concatenation in C++ ? How does it works in memory allocation ? I found out while exploring a leetcode card that in Java: "concatenation works by first ...
Rimso's user avatar
  • 33
-1 votes
2 answers
60 views

Is it possible to use inline conditional statements in concatenation? For instance, console.log("<b>Test :</b> " + "null" == "null" ? "0" : "1"; + "<br>") produces an error....
leparc's user avatar
  • 194
1 vote
1 answer
69 views

I have a variable called BB_NP and I want to add the contents of that (string) to an output text file with a date/time, so just a basic log file. Add-Content -Path ".\LogFile.txt" -Value $(...
UniqueTurbo's user avatar
1 vote
3 answers
94 views

I have an assignment to write a function that takes two C-string parameters and appends the second to the first just like the strcat function but without using said function. Then, write a main driver ...
Marie B.'s user avatar
-2 votes
1 answer
84 views

I'm working with 3D numpy arrays and having trouble stacking two of them. Here’s what I’m trying to do: import numpy as np grid = np.arange(16).reshape((1, 4, 4)) grid2 = grid[:, :-1, ::-1].copy() I ...
r0tten_appl3's user avatar
0 votes
2 answers
48 views

I have a pandas df where each column have some numerical values, followed by some NaNs. The number of values and NaNs differ between columns. I want to append a single value at 'first non-NaN position'...
bearwinterfirth's user avatar
-1 votes
1 answer
73 views

I split the data using train_test_split after preprocessing: from sklearn.model_selection import train_test_split X_train,X_test,y_train,y_test= train_test_split(X,y,test_size=0.2,random_state=42) ...
Dijo Paul's user avatar

1
2 3 4 5
286