Skip to main content

Command Palette

Search for a command to run...

#32 - Python PANDAS

By Ifeanyi Omeata

Published
1 min read
#32 - Python PANDAS
I

Hi, I am a Software Developer of 3-4 years specialising in React, Javascript, Node, NextJS, Express, Python, Django, Fast API, SQL and a few other technology stack, with a good background in Networking and Cloud Infrastructure. I am working to become a DevOps Solutions Engineer and happily married to my long time girlfriend.


Topics:


1. PANDAS


1. PANDAS


>>Return to Menu







pip3 install pandas
pip3 install jupyterlab

https://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:
www.ifeanyiomeata.com
contact@ifeanyiomeata.com

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

LEARN PYTHON/DJANGO

Part 5 of 37

Learn Python and Django the easy way!..... PYTHON | DJANGO | FASTAPI

Up next

#31 - Python JSON Module

By Ifeanyi Omeata