Skip to content

Commit 9e58432

Browse files
Merge pull request #2674 from LAbhilashKumar/CSV_file
added basic csv reading script by using python
2 parents 7feccde + 3d8841b commit 9e58432

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

CSV_file.py

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
import pandas as pd
2+
3+
# loading the dataset
4+
5+
df= pd.read_csv(r"c:\PROJECT\Drug_Recommendation_System\drug_recommendation_system\Drugs_Review_Datasets.csv")
6+
7+
print(df) #prints Dataset
8+
# funtions
9+
print(df.tail())
10+
print(df.head())
11+
print(df.info())
12+
print(df.describe())
13+
print(df.column)
14+
print(df.shape())

0 commit comments

Comments
 (0)