Python Data Mining
Jump to navigation
Jump to search
Analyze csv files using pandas
import pandas as pd
df=pd.read_csv('filename.csv)
df.shape # prints the number of columns and rows
df.info() # prints out the names and datatypes of all the columns