Skip to content

Commit

Permalink
- Fixed missing columns in example in readme.md
Browse files Browse the repository at this point in the history
- Added images to repo and fixed readme.md
- Fixes DeepSpace2#50
  • Loading branch information
DeepSpace2 committed Jan 12, 2019
1 parent 6233175 commit 667d3bc
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 3 deletions.
17 changes: 14 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ sf.to_excel('output.xlsx',
columns_and_rows_to_freeze='A2').save()
```
The final output saved under output.xlsx:
<img src="https://files.fm/thumb_show.php?i=b3j5zeeu" />
![Example 1](readme-images/example1.PNG?raw=true)


### Advance Example
Expand Down Expand Up @@ -190,7 +190,9 @@ sf = StyleFrame({'Date': [date(1995, 9, 5), date(1947, 11, 29), date(2000, 1, 15
'Col A': [1, 2004, -3],
'Col B': [15, 3, 116],
'Col C': [33, -6, 9],
'Percentage': [0.113, 0.504, 0.005]})
'Percentage': [0.113, 0.504, 0.005],
'Sum': [49, 2001, 122],
'Mean': [16.333333, 667.000000, 40.666667]})
```

The StyleFrame object will auto-adjust the columns width and the rows height
Expand Down Expand Up @@ -290,8 +292,17 @@ ew.save()
```

**_the result:_**
<img src="https://files.fm/thumb_show.php?i=m2aknfqn">
Sheet 1:

![Example 2 sheet 1](readme-images/example2-sheet-1.PNG?raw=true)

Sheet 2:

![Example 2 sheet 2](readme-images/example2-sheet-2.PNG?raw=true)

Note that Sheet 1 is protected:

![Example 2 sheets](readme-images/example2-sheets.PNG?raw=true)

## Commandline Interface
#### General Information
Expand Down
Binary file added readme-images/example1.PNG
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added readme-images/example2-sheet-1.PNG
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added readme-images/example2-sheet-2.PNG
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added readme-images/example2-sheets.PNG
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 667d3bc

Please sign in to comment.