#32 - Python PANDAS

#32 - Python PANDAS

By Ifeanyi Omeata


Topics:


1. PANDAS


1. PANDAS


>>Return to Menu







pip3 install pandas
pip3 install jupyterlab

insights.stackoverflow.com/survey

>>>Jupyter notebook
Import pandas as pd

df = pd.read_csv(‘data/survey_results_public.csv’)

print(df)
print(df.head)
print(df.head(10))
print(df.tail)
print(df.tail(10))
df.shape
df.info()
pd.set_option(‘display.max_columns’, 85)
pd.set_option(‘display.max_rows’, 85)

schema_df = pd.read_csv(‘data/survey_results_schema.csv’)
print(schema_df)

#End


Hope you enjoyed this! :) Follow me for more contents...


Get in Touch:
ifeanyiomeata.com

Youtube: youtube.com/c/IfeanyiOmeata
Linkedin: linkedin.com/in/omeatai
Twitter: twitter.com/iomeata
Github: github.com/omeatai
Stackoverflow: stackoverflow.com/users/2689166/omeatai
Hashnode: hashnode.com/@omeatai
Medium: medium.com/@omeatai
© 2022