Astype 2
Fri 14 November 2025
title: "Astype 2" author: "Rj" date: 2019-04-24 description: "-" type: technical_note draft: false
import numpy as np
import pandas as pd
marks = [
[90, 87],
[90, 95],
[92, 95]
]
marks
[[90, 87], [90, 95], [92, 95]]
df = pd.DataFrame(marks, columns=['maths', 'science'])
df
Category: data-wrangling
Read More