Created
November 17, 2018 13:28
-
-
Save subhsaha/553a420072f8dc1bb481b55582510c39 to your computer and use it in GitHub Desktop.
Length of National Highways
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import pandas as pd | |
df = pd.DataFrame(pd.read_csv("Lengthofnationalhighway.csv")) | |
df = df.melt(id_vars=['Loc']) | |
df.to_csv("Lengthofnationalhighwaytwo.csv",index = False) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment