Skip to content

Commit

Permalink
clean up changes in sd2df
Browse files Browse the repository at this point in the history
  • Loading branch information
tomweber-sas committed Jul 10, 2024
1 parent 114bc10 commit dafb632
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion saspy/sasbase.py
Original file line number Diff line number Diff line change
Expand Up @@ -1904,7 +1904,7 @@ def sd2df_DISK(self, table: str, libref: str = '', dsopts: dict = None,
:return: Pandas DataFrame
"""
dsopts = dsopts if dsopts is not None else {}
return self.sasdata2dataframe(table, libref, dsopts, method='DISK', tempfile=tempfile, tempkeep=tempkeep,
return self.sasdata2dataframe(table, libref, dsopts, method='DISK',
rowsep=rowsep, colsep=colsep, rowrep=rowrep, colrep=colrep, **kwargs)

def sasdata2dataframe(self, table: str, libref: str = '', dsopts: dict = None,
Expand Down
2 changes: 1 addition & 1 deletion saspy/sasdata.py
Original file line number Diff line number Diff line change
Expand Up @@ -1329,7 +1329,7 @@ def to_df_CSV(self, tempfile: str=None, tempkeep: bool=False, opts: dict = None,
opts = opts if opts is not None else {}
return self.to_df(method='CSV', tempfile=tempfile, tempkeep=tempkeep, opts=opts, **kwargs)

def to_df_DISK(rowsep: str = '\x01', colsep: str = '\x02',
def to_df_DISK(self, rowsep: str = '\x01', colsep: str = '\x02',
rowrep: str = ' ', colrep: str = ' ', **kwargs) -> 'pandas.DataFrame':
"""
This is an alias for 'to_df' specifying method='DISK'.
Expand Down

0 comments on commit dafb632

Please sign in to comment.