-
- 386 views
- 2 answers
- 0 votes
-
I have some data scraped from a website in a string as shown below: myDatastr = ‘United States3.43M+57,9421M138K+282Brazil1.88M+20,2861.21M72,833+733India907K+28,701571K23,727+500Russia734K+6,537504K11,439+104Peru330K+3,797221K12,054+184Chile318K287K7,024Mexico304K+4,685189K35,491+485United Kingdom290K+65044,830+21South Africa288K138K4,172Iran260K+2,349223K13,032+203Spain256K+2,045150K28,406+3Pakistan254K+2,753171K5,320+69Italy243K+169195K34,967+13Saudi …
- 352 views
- 1 answers
- 0 votes
-
I have string [‘tick_calculated_2_2020-05-27T11-59-06.json.gz’] I want to get only 59-06 >>> f.split(‘_’) [‘tick’, ‘calculated’, ‘2’, ‘2020-05-27T11-59-06.json.gz’] >>> f.split(‘_’)[3] ‘2020-05-27T11-59-06.json.gz’ >>> …
- 375 views
- 5 answers
- 0 votes
-
Good day everyone! I have a huge file: 1| something 2| something else 2| something else 2 2| something else …
- 355 views
- 1 answers
- 0 votes
-
I’m trying to write a code, which extracts timecodes from lines that start with "From". Example: "From [email protected] Sat Jan …
- 0 views
- 3 answers
- 0 votes
-
I need the data in the string [$str] that is within quotes to not split. In this case, "Accounting company" …
- 407 views
- 2 answers
- 0 votes
-
I have a PHP array that I am trying to split into 2 different arrays into that particular array. I …
- 376 views
- 1 answers
- 0 votes
-
I have an array of values with a length of y (y = 7267). I am splitting the data based …
- 382 views
- 4 answers
- 0 votes
-
text = input(‘Enter a line of text. (You might consider coping and pasting text’): text = text.lower() words=text.split() words=sorted(words) wordsdict={} …
- 367 views
- 1 answers
- 0 votes
-
I have a single pdf cell with a multi line paragraph which I would like to break into 2 columns …
- 371 views
- 0 answers
- 0 votes