Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

How to create a new Dataframe in python

df_New = df[['MONTH','DAY', 'DAY_OF_WEEK', 'ORIGIN_AIRPORT','FLIGHT_NUMBER', 'DESTINATION_AIRPORT','DEPARTURE_TIME', 'DEPARTURE_DELAY', 'ARRIVAL_TIME', 'ARRIVAL_DELAY', 'CANCELLED', 'DIVERTED', 'DISTANCE']]
df_New.head()
Source by www.geeksforgeeks.org #
 
PREVIOUS NEXT
Tagged: #How #create #Dataframe #python
ADD COMMENT
Topic
Name
9+2 =