Skip to content

Commit

Permalink
docs: Examples for column and table classes (#302)
Browse files Browse the repository at this point in the history
Closes #224 .

### Summary of Changes

Added examples to the docstrings of all methods of the classes Table and
Column.

---------

Co-authored-by: patrikguempel <[email protected]>
Co-authored-by: Lars Reimann <[email protected]>
Co-authored-by: Simon <[email protected]>
Co-authored-by: megalinter-bot <[email protected]>
  • Loading branch information
5 people authored Jun 23, 2023
1 parent 1da2499 commit ccd1c25
Show file tree
Hide file tree
Showing 9 changed files with 861 additions and 29 deletions.
3 changes: 1 addition & 2 deletions .mega-linter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,4 @@ JSON_PRETTIER_FILE_EXTENSIONS:

# Commands
PRE_COMMANDS:
- command: npm install @lars-reimann/prettier-config
cwd: workspace
- command: npm i @lars-reimann/prettier-config
3 changes: 3 additions & 0 deletions src/resources/from_csv_file.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
a,b,c
1,2,1
0,0,7
Binary file added src/resources/from_excel_file.xlsx
Binary file not shown.
1 change: 1 addition & 0 deletions src/resources/from_json_file.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{ "a": { "0": 1, "1": 2, "2": 3 }, "b": { "0": 4, "1": 5, "2": 6 } }
4 changes: 4 additions & 0 deletions src/resources/to_csv_file.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
a,b
1,4
2,5
3,6
Binary file added src/resources/to_excel_file.xlsx
Binary file not shown.
1 change: 1 addition & 0 deletions src/resources/to_json_file.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{ "a": { "0": 1, "1": 2, "2": 3 }, "b": { "0": 4, "1": 5, "2": 6 } }
Loading

0 comments on commit ccd1c25

Please sign in to comment.