Skip to content

Commit

Permalink
Merge pull request #20 from mabel-dev/0.0.127
Browse files Browse the repository at this point in the history
0.0.127
  • Loading branch information
joocer authored Nov 30, 2023
2 parents b0e65cf + d5ef696 commit 82e7a17
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 10 deletions.
11 changes: 3 additions & 8 deletions orso/dataframe.py
Original file line number Diff line number Diff line change
Expand Up @@ -395,15 +395,10 @@ def __len__(self) -> int:
self.materialize()
return len(self._rows)

def __str__(self) -> str:
from .display import ascii_table

return (
ascii_table(self, show_types=True)
+ f"\n[ {self.rowcount} rows x {self.columncount} columns ]"
)

def __repr__(self) -> str:
return f"<orso.dataframe>"

def __str__(self) -> str:
size: int = 10
try:
from IPython import get_ipython
Expand Down
2 changes: 1 addition & 1 deletion orso/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@
# See the License for the specific language governing permissions and
# limitations under the License.

__version__: str = "0.0.126"
__version__: str = "0.0.127"
__author__: str = "@joocer"
1 change: 0 additions & 1 deletion tests/test_schema.py
Original file line number Diff line number Diff line change
Expand Up @@ -265,5 +265,4 @@ def test_minimum_definition():
if __name__ == "__main__": # prgama: nocover
from tests import run_tests

test_validate_with_additional_columns()
run_tests()

0 comments on commit 82e7a17

Please sign in to comment.