Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

typing pandas dataframe

import pandas as pd
def csv_to_df(path: str) -> pd.DataFrame:
    return pd.read_csv(path, skiprows=1, sep='	', comment='#')
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #typing #pandas #dataframe
ADD COMMENT
Topic
Name
5+8 =