Python Forum
Identifying items in a csv file that also appear in a Text extract
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Identifying items in a csv file that also appear in a Text extract
#7
(Sep-21-2016, 09:05 PM)wavic Wrote:
from collections import Counter

counter = Counter(iterable)

print(counter['item'])
How does this syntax highlighting works?  :huh:
Use the Python icon sceditor,have upgraded name and color a little ;)
Reply


Messages In This Thread
RE: Identifying items in a csv file that also appear in a Text extract - by snippsat - Sep-21-2016, 09:15 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Cleaning a dataset: How to extract text between two patterns Palke 0 1,880 Mar-06-2023, 05:13 PM
Last Post: Palke
  extract and plot data from a txt file usercat123 2 1,996 Apr-20-2022, 06:50 PM
Last Post: usercat123
  [machine learning] identifying a number 0-9 from a 28x28 picture, not working SheeppOSU 0 2,426 Apr-09-2021, 12:38 AM
Last Post: SheeppOSU
  Comparing and Identifying ID with Percentage jonatasflausino 1 3,062 Jun-23-2020, 06:44 PM
Last Post: hussainmujtaba
  Identifying consecutive masked values in a 3D data array chai0404 12 8,380 Feb-01-2020, 12:59 PM
Last Post: perfringo
  Validate Excel with text in text file Vinci141 3 4,220 Dec-03-2018, 04:03 PM
Last Post: Larz60+
  OpenCV - extract 1st frame out of a video file kerzol81 2 26,868 Nov-12-2018, 09:12 AM
Last Post: kerzol81
  Upload csv file as numbers (floating?) and extract element, row, and column bentaz 7 5,909 Mar-19-2018, 05:34 PM
Last Post: bentaz
  Extract data between two dates from a .csv file using Python 2.7 sujai_banerji 1 11,481 Nov-15-2017, 09:48 PM
Last Post: snippsat

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020