Skip to main content
Filter by
Sorted by
Tagged with
1 vote
1 answer
153 views

We have an English-Latin dictionary in our hands, that is, a list of words in English and their translations into Latin (there may be several translations) in the form of a file with the following ...
Maksim Barabanov's user avatar
0 votes
1 answer
106 views

I am learning rust macros. In the part on repetition, the following macro is used to demonstrate how repetitions work: macro_rules! repeat_two { ($($i:ident)*, $($i2:ident)*) => { $( ...
kesarling's user avatar
  • 2,334
-2 votes
2 answers
252 views

enter image description here Hello everyone, you will find in my image a Power Automate flow with the creation of a CSV from a Power BI dataset. Everything works very well except for one small detail. ...
user25891342's user avatar
0 votes
1 answer
80 views

I would like to read in a csv-file. Sadly this is created by a buggy software: My header row contains multiple separators ";" and ",". Which wouldn't be a problem if my dataset ...
Swawa's user avatar
  • 273
0 votes
0 answers
125 views

I can easily do this for floats using an f-string like this: x = float(123456789.123456) print(f"{x:_f}") prints 123_456_789.123456 exactly as expected. But if try the same technique for a ...
HaroldFinch's user avatar
0 votes
0 answers
46 views

I want to import a csv file with TAB column separator and CRLF (2 chars) as row separator. I use: .mode ascii .separator "\t" "\r\n" to which sqlite3 complains: Error: multi-...
Kris Van Bruwaene's user avatar
0 votes
1 answer
74 views

In the attached images, you can observe that I am explicitly using both InvariantCulture and a new instance of CultureInfo("en-US") when converting a Double to a String: value.ToString(...
Xavier Junqué's user avatar
3 votes
3 answers
163 views

Here is how one column in my data looks like: dat <- data.frame( A = c("M24656811 M24677722 GREEN,SMITH34/M/B", "M24654999 DOE,JANE V37/F/W", "M24333107 DOE,JOHN24/M/B"...
Lihui Zhang's user avatar
0 votes
0 answers
12 views

enter image description here image from a part of my spread sheet. how can I divide rows number 35-37 to a single row like 34. In the image for example names and numbers are in wrapped text format but ...
Nader Fallah's user avatar
0 votes
1 answer
91 views

I have a .csv file that I’m having trouble processing because the numbers use commas for decimals, which causes issues when reading the file in R. Excel interprets commas for decimals, while R uses ...
user778's user avatar
  • 59
2 votes
1 answer
116 views

If I have a range I can print it with the fmt library, in this way: https://fmt.dev/8.1.0/api.html#ranges-api #include <fmt/ranges.h> std::vector<int> t = {1, 2, 3}; // Prints "[1, 2,...
alfC's user avatar
  • 16.8k
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
2 votes
1 answer
74 views

I'm using form prefix to render the same django form twice in the same template and avoid identical fields id's. When you do so, the separator between the prefix and the field name is '-', I would ...
Nico44044's user avatar
  • 399
0 votes
1 answer
62 views

I have a dataset where each row is a character string like this (and this is all under one column): Jacoby BrissettO 206.5-115U 206.5-115Joe BurrowO 243.5-115U 243.5-155. I want to split this into ...
mankiwsmom's user avatar
1 vote
0 answers
170 views

I'm trying to output a list of custom taxonomies on Wordpress where the final separator is an &. I have three potential taxonomies a post could be in: Category 1, Category 2, and Category 3. Some ...
Scott Goodacre's user avatar
-1 votes
1 answer
48 views

with open(output_file_path_final, 'w') as f: json.dump(final, f, separators=(',', ':')) this is the key lines of my python code and I get output as below, {"frame.number":[80.0,87.0,...
DHAVAL TARAPRA's user avatar
1 vote
6 answers
103 views

I have a long file with provisional SNP IDs and alleles, which looks like this: 14_611646T,C 14_881226CT,C 14_861416.1GGC,GGCGCGCGCG I would like to separate the last number in each line from the ...
narm's user avatar
  • 27
-3 votes
1 answer
89 views

I have to insert into the database a number acquired from various sites for which I don't know what the decimal separator/thousand separator is. Input numbers that express the value 1000 could be: 1,...
cucca's user avatar
  • 17
2 votes
2 answers
87 views

I wrote a awk program which give me the result i needed. Finding any line beginning with 130AB : if the 2nd field contain data, move it on the 9th field My input file : 130DD2532||1|||1| 130AB00100501|...
Abou Ilyès's user avatar
0 votes
3 answers
66 views

I have a dataset in the shape of a txt file that looks like this: beer_name: Legbiter beer_id: 19827 brewery_name: Strangford Lough Brewing Company Ltd brewery_id: 10093 style: English Pale Ale abv: 4....
Eboyer's user avatar
  • 107
0 votes
2 answers
2k views

I use a barcode scanner to read medecine GS1 datamatrix codes. I need the entire data sequence, including Group Separators to parse the code in order to seek for Application identifiers (AI) and get ...
Jean-marc Blanchet's user avatar
6 votes
1 answer
1k views

I am trying to create a pystray menu separator, but I am having a hard time doing so. I have searched here on SO and in its documentation, which I find super confusing and unhelpful and I even tried ...
aurorathorn's user avatar
0 votes
1 answer
54 views

I have several .txt files with data I would like to plot. Since there are so many, I prefer using python to plot these rather than Excel. The .txt files have been generated by German machinery, which ...
Philip de Bruin's user avatar
0 votes
1 answer
32 views

Good evening community, I want to separate a character column of the separate_wider_delim type into several sequential columns. "count_id" "120 987 203 116 77 890 194 88 915 926 1028 ...
Carlos Garibotto's user avatar
1 vote
3 answers
122 views

I'm having an exercise where it told me to print out each person's favourite numbers. When it came to people with more than one number, I couldn't keep the numbers in one line, separated by commas. ...
Hazel P's user avatar
  • 17
-1 votes
2 answers
544 views

In HTML CSS how to make a vertical divider to separate two sections. ::before and :: after do not work. Any genius trick would be appreciated. I also tried margins, but they arent as good. Maybe we ...
Usman Zahid's user avatar
0 votes
1 answer
2k views

I have been trying to use the separator function with a message that uses the input function, but it seems the that the separator function does not work and it only prints out the inputed phrase. For ...
jonathan 's user avatar
-1 votes
1 answer
94 views

I have text file ('1', 6310445) [12, 20]_S:0.6:0:ACAAAAAAAAAAA_i_V ('1', 17704109) [12, 31]_S:0.387:0:CCCCCCCCCCCC_i_V ('1', 18922274) [8, 22]_S:0.364:0:AAAAAAAA_i_V ('1', 22750694) [8, 19]_S:0.421:0:...
SG Kwon's user avatar
  • 135
1 vote
1 answer
44 views

I am reading in a dataset from this link: url = "https://www.bis.doc.gov/dpl/dpl.txt" This is how I have read it in (if I read it in as a csv I get the Forbidden error -> hence the use ...
Giampaolo Levorato's user avatar
0 votes
0 answers
2k views

I had a problem of Rainbow CSV failing to determine the true separator in a file (pipe) and setting it to a wrong one (comma). From Rainbow CSV I learned that to make it determine a separator ...
Ani's user avatar
  • 169
1 vote
2 answers
78 views

I have some data that get imported to R like that (character string): > dput(my_data) c("S Leistung Sub Text Ergebnis Einheit Normal Auffällig Katalog Datum Zeit Kommentar ", " ...
Eric G's user avatar
  • 115
0 votes
2 answers
30 views

I have the following pandas dataframe: import pandas as pd import numpy as np ds1 = {'Name':["Juan Pablo Montoya","Jose Hiero","Martin Vasquez"], "Comments" : [&...
Giampaolo Levorato's user avatar
0 votes
0 answers
63 views

I need to merge two numerical columns in my dataframe as a new column, with 0's as separators. However, the number of 0's is dependent upon the number of digits in the second column. So, what I want ...
Bryn's user avatar
  • 1
1 vote
2 answers
2k views

I would like to change the decimal separator in a Blazor .NET 7 multi-language site when the selected language is Greek. The numbers are by default changed to comma separated when I change the ...
vagelis's user avatar
  • 490
0 votes
1 answer
157 views

Here is array of strings, myArray = ["green","blue","red"], I want to display each value in next line on html page "green" "blue" "red" I ...
raj's user avatar
  • 25
1 vote
2 answers
44 views

I have a list of numbers: list1 = [1, 2, 3, 4] I would like to create a string as follows: Contains([saleID],"1") OR Contains([saleID],"2") OR Contains([saleID],"3") OR ...
Tipo33's user avatar
  • 181
1 vote
1 answer
477 views

I'm trying to change the way a separator appears in my WPF context-menu. The context menu has its own default style, which is already successfully applying a style to all of its menu items. <Style ...
Thomas Slade's user avatar
1 vote
1 answer
212 views

I have a CSV file where the separator is " However, there are also several text variables in the file which have " " around the text "example". Therefore, read.csv does not ...
Daan's user avatar
  • 11
0 votes
1 answer
440 views

I would like to change the decimal separator of all the numbers (risk table, x and y axis, as well as p-value) in a Kaplan Meier curve from "." to "," (e.g. from 3.1415 to 3,1415). ...
kobue1's user avatar
  • 95
-2 votes
2 answers
294 views

Some columns in my data frame have ',' and some have '.' as decimal separator. DateTime a b c 2000-01-01 00:30:00 3,4 6,1 9.5 2000-01-01 00:45:00 3,5 6,8 7.4 I would like to ...
mowxting's user avatar
0 votes
1 answer
605 views

I am plotting graphs but the values on my y-axis goes up to 175 000. Of course, python and pyplot does not use thousand separators by default. The graphs have to go into an article subject to ...
Philip de Bruin's user avatar
3 votes
4 answers
74 views

I need to take a list, multiply every item by 4 and separate them by coma. My code is: conc = ['0.05 ml : 25 ml', '0.05 ml : 37.5 ml', '0.05 ml : 50 ml', '0.05 ml : 62.5 ml', '0.05 ml : 75 ml'] ...
PythonLover's user avatar
0 votes
1 answer
86 views

How can I change the separator that a CSV file is exported with in VBA without changing regional settings etc? The macro should be used across multiple computers and different users, I don't want to ...
Storm1's user avatar
  • 209
1 vote
1 answer
39 views

Is there a way to split the text of each input in an array to words with a separator? Example Input tag_attribute = ['Content_ExportDate','Controller_SoftwareRevision','DataType_Owner'] With the ...
Quan Hoang Nguyen's user avatar
-2 votes
1 answer
288 views

I want to make a ComboBox with 0-N Separators I was able to do this with CompositeCollection like so <ComboBox.ItemsSource> <CompositeCollection> <CollectionContainer Collection =...
styx's user avatar
  • 1,975
2 votes
1 answer
85 views

When processing ip addresses, and comparing them, something goes wrong, and it finds almost all the data from the database. Query: SELECT * FROM superbans WHERE NOT uuid=? AND (MATCH(ip_list) AGAINST(?...
fd fdfd's user avatar
  • 23
0 votes
1 answer
596 views

So, i'm using a separator in a flatlist. I linked the separator to a logging function that logs the key of each item in the flatlist. When i reload the app, the first 10 items are logged, then the ...
Puffycannon's user avatar
2 votes
6 answers
372 views

I am trying to split up one column in a data frame that shows the period active(s) for several artists/ bands into two columns (start_of_career, end_of_career). The variable class is character. I ...
LiLaLaune's user avatar
0 votes
1 answer
354 views

I tried different stack overflow solutions using pd.read_csv for this file. When I use Excel to text to and use ";" as delimiter in Excel, it gives exactly the output I need. data: 'Balance ...
HuiM's user avatar
  • 13
0 votes
1 answer
36 views

I have a .txt file of the following but each value starting on the next line 229 flowers 7 2.99 456 bows 3 19.99 I originally coded for them as if they were separated by commas instead of starting on ...
Lily's user avatar
  • 1

1
2 3 4 5
20