exists_in_csv

ssapy.io.exists_in_csv(csv_file, column, number, sep='\t')[source][source]

Checks if a number exists in a specific column of a CSV file.

This function reads a specified column from a CSV file and checks if a given number is present in that column.

Parameters:

csv_filestr

Path to the CSV file.

columnstr or int

The column to search in.

numberint or float

The number to check for existence in the column.

sepstr, default=’ ‘

Delimiter used in the CSV file.

Returns:

bool

True if the number exists in the column, False otherwise.