Skip to content

Commit

Permalink
Merge branch 'dev/1.3.7' of github.com:Erotemic/ubelt into dev/1.3.7
Browse files Browse the repository at this point in the history
  • Loading branch information
Erotemic committed Jul 21, 2024
2 parents c60b3a7 + dfb21d8 commit 9ed7e01
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ubelt/util_path.py
Original file line number Diff line number Diff line change
Expand Up @@ -1533,7 +1533,7 @@ def copy(self, dst, follow_file_symlinks=False, follow_dir_symlinks=False,
]
import pandas as pd
df = pd.DataFrame(rows)
piv = df.pivot(['src'], ['dst'], 'result')
piv = df.pivot(index=['src'], columns=['dst'], values='result')
print(piv.to_markdown(tablefmt="grid", index=True))
See: ~/code/ubelt/tests/test_path.py for test cases
Expand Down

0 comments on commit 9ed7e01

Please sign in to comment.