Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
0% found this document useful (0 votes)
16 views

CD125 Python For DataScience

The document outlines the course objectives, outcomes, content, and learning resources for a Python for Data Science course, which introduces Python programming fundamentals and teaches processing of files, data types, NumPy, and Pandas for solving data problems across 4 units of instruction. Successful students will be able to explain Python concepts, create functions, manipulate core data structures, and apply NumPy and Pandas to analyze and visualize data.
Copyright
© © All Rights Reserved
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
16 views

CD125 Python For DataScience

The document outlines the course objectives, outcomes, content, and learning resources for a Python for Data Science course, which introduces Python programming fundamentals and teaches processing of files, data types, NumPy, and Pandas for solving data problems across 4 units of instruction. Successful students will be able to explain Python concepts, create functions, manipulate core data structures, and apply NumPy and Pandas to analyze and visualize data.
Copyright
© © All Rights Reserved
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 2

CD 125 Python for Data Science

Course Objectives:

The objectives of the course are to:

1. Introduce the fundamentals of Python Programming language.


2. Teach students processing of files, mutable and immutable data types.
3. Impart knowledge of NumPy and Pandas.

Course Outcomes:

After successful completion of the course, the students will be able to:

1. Explain the fundamentals of Python programming language.


2. Create user defined functions to solve problems
3. Manipulate the data structures lists, tuples, sets and dictionaries
4. Use NumPy and Pandas in solving problems.

Course Content:

UNIT I
Basics of Python programming: Values and types, variables, Variable names and
keywords, operators and operands, expressions and statements, interactive mode and script
mode, order of operations, string operations, comments and debugging.
Conditionals, recursion and Iteration: Modulus operator, Boolean expressions, Logical
operators, conditional execution, alternative execution, chained conditionals, nested
conditionals, nested conditions, recursion, infinite recursion, keyboard input. Iterations-
Multiple assignment, updating variables, the while statement, break, square roots.
UNIT II
Functions: Function calls, type conversion functions, math functions, composition, adding
new functions, definitions and uses , flow of execution , parameters and arguments, variables
and parameters are local, fruitful functions – return values, incremental development,
composition, Boolean functions, more recursion, Leap of faith, checking types, and void
functions, Functions advantages.
Strings and Files: A string is a sequence, len, Traversal with a for loop, String slices, Strings
are immutable, Searching, Looping and counting, String methods, The in operator, String
comparison. Files: Persistence, Reading and writing, Format operator, File names and paths,
Catching exceptions, Databases, Pickling, Pipes, Writing modules.
UNIT III

Lists: List sequence, Lists are mutable, Traversing a list, List operations, List slices, List
methods, Map, Map, filter and reduce, deleting elements, List and strings , objects and
values, Aliasing, List arguments.
Dictionaries and Tuples: A dictionary is a mapping, Dictionary as a collection of
counters. Looping and dictionaries, Reverse lookup, Dictionaries and lists, Memos, Global
variables.
Tuples: Tuples are immutable, Tuple assignment, Tuples as return values, Variable-length
argument tuples ,Lists and tuples, Dictionaries and tuples.

UNIT IV

Pandas and NumPy: Numpy Basics - Fast Element wise array functions,
Multidimensional Array, Data Processing using arrays, file i/o with arrays;
Pandas - Data Structures, Essential Functionality, Summarizing and Computing
Descriptive Statistics, Handling Missing Data, Hierarchical Indexing

Learning Resources:

Text Book:

1. ThinkPython: How to Think Like a Computer Scientist, Allen Downey, Green Tea
Press, Version2.0.17
2. Python for Data Analysis, 2nd Edition , by Wes Mckinney Publisher(s): O'Reilly
Media, Inc. ISBN: 9781491957660

Reference Books:

1. Introduction to Computer Science Using Python: A Computational Problem-Solving


Focus by Dierbach, Wiley
2. Fundamentals of Python Programming: Richard L.Halterman by Southern
Adventis tUniversity

You might also like