BBA (Data Analytics) V Semester (R22)
To introduce the students to the basics of Python as a language/tool for Data
Science
Installation of Python interpreter, simple data types: integer, float, string, accepting input from console, assignment statement, expressions, variable creation, arithmetic and logical operators, input-output statements.
Conditional statement – if, if-else, if-elseif-else, built-in mathematical functions; Looping statements – for, while, flowcharts of for and while, errors and exceptions; Strings – concatenation, repetition, membership, function method, string slicing; Lists – creation of a list, traversal of a list, operation on a list, functions/methods, list slicing, nested listing.
Arrays – creating an array, accessing elements of an array, Tuples; Dictionary – creating, accessing an element, add an item, modify an item in a dictionary, traversal, function methods; Functions – scope, parameter passing, recursion, return values.
Open and close file, read, write and append to a file (Text files); CSV file import csv module; Functions – Open/Close csv file; Read from a csv file and write into a csv file using csv.reader() and csv.writerow().
NumPy: creating arrays, array processing, accessing elements, slicing part of array; Pandas: series, data frames, data alignment, accessing tabular data.
Loading Question Papers
Fetching data from database...