Skip to content

Commit 4b0e83f

Browse files
authored
Fix a couple of tests and update version/changelog for PR654. (#659)
* Fix a couple of tests and update version/changelog for PR654. --------- Signed-off-by: DMcGee-SAS <129913281+DMcGee-SAS@users.noreply.github.com> Signed-off-by: domcge <don.mcgee@sas.com>
1 parent 7c36308 commit 4b0e83f

File tree

4 files changed

+40
-11
lines changed

4 files changed

+40
-11
lines changed

CHANGELOG.md

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,38 @@
11
# Changelog
22

3+
4+
## [5.105.0] - 2026-03-25
5+
6+
### Added
7+
8+
- `Enhancement` Added Apache Arrow support:
9+
10+
1. Conversion between SAS datasets and Apache Arrow tables
11+
2. Arrow-based Parquet conversion with optional parameter
12+
3. Support for converting Parquet files to SAS datasets via Arrow
13+
14+
- `Enhancement` Enhanced metadata retrieval:
15+
16+
1. Add labels parameter to list_tables() to optionally retrieve dataset labels
17+
2. Add schema() method to SASdata to retrieve comprehensive schema information including extended attributes
18+
19+
### Changed
20+
21+
- `Enhancement` Applied autopep8 to fix indentation issues (E101, E11, W191). Some files had inconsistent indentation (width of 3 spaces), which has been standardized.
22+
23+
### Fixed
24+
25+
- `Fix` Fixed tests, updated deprecated syntax so tests would run correctly:
26+
27+
1. test_pandas.test_wide_data
28+
2. test_sasdatatest_sasdata_describe_pandas_chars
29+
30+
### Removed
31+
32+
- `None` Nothing removed
33+
34+
35+
336
## [5.104.1] - 2026-02-09
437

538
### Added

saspy/tests/test_pandas.py

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -209,15 +209,11 @@ def test_wide_data(self):
209209
y = 'y\ny'*12767
210210
z = 'z z'*12767
211211
df = pd.DataFrame([{'x' : x[:32767], 'y' : y[:32767], 'z' : z[:32767], 'z2' : 'z'*32767}])
212-
df = df.append(df, ignore_index=True)
213-
df = df.append(df, ignore_index=True)
214-
df = df.append(df, ignore_index=True)
215-
df = df.append(df, ignore_index=True)
216-
df = df.append(df, ignore_index=True)
217-
df['x' ][0] = np.NaN
218-
df['y' ][1] = np.NaN
219-
df['z' ][2] = np.NaN
220-
df['z2'][3] = np.NaN
212+
df = pd.concat([df, df, df, df, df, df], ignore_index=True)
213+
df['x' ][0] = np.nan
214+
df['y' ][1] = np.nan
215+
df['z' ][2] = np.nan
216+
df['z2'][3] = np.nan
221217

222218
sde = self.sas.df2sd(df, 'wide', results='text')
223219
x = sde.to_df()

saspy/tests/test_sasdata.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ def test_sasdata_describe_pandas_chars(self):
185185

186186
self.cars.set_results('pandas')
187187
ll = self.cars.describe()
188-
actual = ll.iloc[0][0]
188+
actual = ll.iloc[0,0]
189189

190190
self.assertEqual(EXPECTED, actual, msg="cars.describe() result didn't contain expected result")
191191

saspy/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = '5.104.1'
1+
__version__ = '5.105.0'

0 commit comments

Comments
 (0)