Series.dtype
pandas এ ডেটা টাইপ চেক করা
dtype দিয়ে ডেটা টাইপ চেক করা হয়
import pandas as pd
#string
country= ['Bangladesh','India','Pakistan']
a = pd.Series(country)
print(a.dtype)Output:
object#integer
runs = [23,24,56,78]
run = pd.Series(runs)
print(run.dtype) Output:
int64Last updated