Skip to content

Latest commit

 

History

History
8 lines (8 loc) · 713 Bytes

File metadata and controls

8 lines (8 loc) · 713 Bytes

Python-Basic

Task 1: Write a function that returns the count of characters and words in a string. The string is provided to the function as an argument. Submit a .ipynb file via Blackboard. Task 2 : Write a function that takes a list as the argument and returns a list with each element shifted right by one index. For example, [3, 7, 4, 1] becomes [1, 3, 7, 4]. Task 3: Download data in CSV format from one of the following sites: here or here. Load the data into a Pandas dataframe. Use Pandas to count the number of rows of data and number of columns. Your selection of a CSV should have at least 2 columns and at least 10 rows. Include a link to the data source in the Juptyer notebook you submit.