Skip to content

Commit dcc5510

Browse files
authored
Update README.md
1 parent de46d66 commit dcc5510

File tree

1 file changed

+12
-4
lines changed

1 file changed

+12
-4
lines changed

README.md

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,26 +14,34 @@ Booking start date along with its end date, night and their permits.
1414

1515
## File Description
1616

17-
### file1.csv
17+
### file1.py
1818

1919
I have used the csv module to read and write the contents from the dataset csv file named DNR_Camping_Parks_Reservation_Data_2016.csv to file1.csv respectively.
2020
To create the csv file from extracting all the data from dataset, I have used the functions ‘csv.writer’ and ‘csv.reader’ to write and read data respectively.
2121
As I am dealing with csv files, naturally the delimiter used is comma (,).
2222

23-
### file2.csv
23+
Output file: file1.csv
24+
25+
### file2.py
2426

2527
Here I have removed the unnecessary columns and extracted data on ParkName, State, PartySize, BookingType, RateType and Equipment.
2628

27-
### file3.csv
29+
Output file: file2.csv
30+
31+
### file3.py
2832

2933
Scanned the "Equipment" column, and replaced all “less than” with “LT” [e.g. less than 30 ft. after transforming LT30ft]. Similarly, replaced all “Single tent” with “ST”.
3034
I have used the regex module to perform this substitutions. To find and replace these words, I have used the ‘.sub’ function. I have replaced and substituted both the
3135
words consecutively rather than simultaneously to make the code simpler.
3236

33-
### file4.csv
37+
Output file: file3.csv
38+
39+
### file4.py
3440

3541
This file has only the 20 unique parks in Nova Scotia which have the maximum number of "partySize".
3642

43+
Output file: file4.csv
44+
3745
## Visualization using Neo4j
3846

3947
### Load data and node creation

0 commit comments

Comments
 (0)