Difference between revisions of "Python Data Mining"

From rbachwiki
Jump to navigation Jump to search
(Created page with "==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...")
(No difference)

Revision as of 16:30, 10 January 2020

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