« Back
in PyCharm Pandas Python read.
Setting up Pandas with PyCharm

Setting up Pandas with PyCharm.

Setting up Environment

and search Pandas

create a new .py file and write this sample code to test if Pandas working

import pandas as pd
data = pd.DataFrame({
'Days':['Monday', 'Tuesday'],
'Months': ['March', 'April']
})
print(data)

Possible Issue:
You might face error while importing pandas to fix the issue all you need is to restart the PyCharm and wait for it to load all of the necessary libraries.

Project structure should look like

Tada and you will have something like below

    Days    Months
0   Monday  March
1   Tuesday April

This shows Pandas working for you and you are good to practice the pandas syntax.

comments powered by Disqus