python (12.9k questions)
javascript (9.2k questions)
reactjs (4.7k questions)
java (4.2k questions)
java (4.2k questions)
c# (3.5k questions)
c# (3.5k questions)
html (3.3k questions)
Prevent commas in open text columns from messing up spark read csv
I have a directory of CSVs that has some text columns that DO NOT have quotes around them (I cannot control this as these are from an external source). These open text columns have commas in them and...
ben890
Votes: 0
Answers: 1
Split each line in a file based on delimitters
This is the sample data in a file. I want to split each line in the file and add to a dataframe. In some cases they have more than 1 child. So whenever they have more than one child new set of column ...

niharika gadde
Votes: 0
Answers: 1
How do I split a line via a delimiter?
I have a dataframe.
[1] Question 1. What is your name? Question 2. Where do you live? Question 3. ~~~
[2] Question 1. What are your hobbies? Question 2. What is your school? Question 3. ~~~
I...
Yun
Votes: 0
Answers: 2
awk BEGIN insert new column to .txt without overwriting existing file data, include new column header and convert to csv
I have a file vols.txt like this:
LabelID Mean StdD Max Min Count Vol(mm^3) Extent(Vox)
0 0.00000 0.00000 0.00000 0.00000 141218...
Coco Newton
Votes: 0
Answers: 3