Professional Documents
Culture Documents
1 - List-to-Series Conversion
Given a list [2, 4, 5, 6, 9], output the corresponding pandas series and output the corresponding
pandas series with odd indexes only. Apply the function, f(x) = x/2 on each and every element of a given
pandas series
3 - Dictionary-to-Dataframe Conversion
Given a dictionary, convert it into corresponding dataframe and display it
4 - 2D List-to-Dataframe Conversion
Given a 2D List, convert it into corresponding dataframe and display it, store data in
CSV file, read it into a dataframe and display it, change the index of a dataframe from
the default indexes to a particular column
Given list:
lists = [[2, 'Vishal', 22],
[1, 'Kushal', 25],
[1, 'Aman', 24]]