Random Informatics-practices Practice
20 randomly selected questions from all Informatics-practices topics
Write the output of the following code:
import pandas as pd students = pd.Series(['Abhay', 'Ananya', 'Javed']) marks = pd.Series([85, 92, 88]) data = {'Name': students, 'Marks': marks} df = pd.DataFrame(data) df.rename(columns={'Name': 'StuName', 'Marks': 'Score'}, inplace=True) print(df)
Random Practice Session
Community Stats
Track Your Random Practice
Sign up to save your random practice progress and compare your performance across different subjects.