Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python type hinting 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: #python #type #hinting #pandas #dataframe
ADD COMMENT
Topic
Name
9+5 =