masstable/masstable.py
def from_file(cls, filename, name=''):
        "Imports a mass table from a file"
        df = pd.read_csv(filename, header=0, delim_whitespace=True, index_col=[0, 1])['M']
        df.name = name
        return cls(df=df, name=name)
def from_file(cls, filename, name=''):
        "Imports a mass table from a file"
        df = pd.read_csv(filename, header=0, delim_whitespace=True, index_col=[0, 1])['M']
        df.name = name
        return cls(df=df, name=name)
def from_file ( cls , filename , name = '' ) : df = pd . read_csv ( filename , header = 0 , delim_whitespace = True , index_col = [ 0 , 1 ] ) [ 'M' ] df . name = name return cls ( df = df , name = name )
Imports a mass table from a file
Imports a mass table from a file