Bindeshwar S. Kushwaha

SUMIF

COUNTIF and SUMIF Functions in MS Excel

COUNTIF() and SUMIF are very important  functions  in excel which are used to automate manual tasks. Furthermore, these  functions are frequently used in finance and accounting. In this post, I am going to explain working of these two functions. COUNTIF() function- This function counts the values of a column    when a condition if fulfilled […]

COUNTIF and SUMIF Functions in MS Excel Read More »

K-Nearest Neighbors

K-Nearest Neighbors Algorithm in Python

K-nearest neighbors algorithm is a machine learning algorithm which is used for classification and regression, and it can be applied where other machine learning algorithms are applied. See the typical problem setting , Suppose (x1, y1), (x2, y2), (x3, y3), ……………….(xn, yn) pairs in which x’s are attributes and y’s are labels, suppose another instance

K-Nearest Neighbors Algorithm in Python Read More »

Write a program which opens a CSV file in Python and Reads Data from it

1-import csv 2-fcsv=open(‘mycsv.csv’, ‘r’) 3-table=csv.reader(fcsv) 4-for row in table: 5-          print(row) Program Description In the above program a library csv is imported in the first file which is used to manipulate csv files. Moreover, a file object fcsv is created using open function, thereafter   file object is passed into reader function

Write a program which opens a CSV file in Python and Reads Data from it Read More »

©Postnetwork-All rights reserved.