Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Completed concept entry for Postgresql operators #4764 #4785

Merged
Merged
Changes from 1 commit
Commits
Show all changes
19 commits
Select commit Hold shift + click to select a range
c9f7959
added shell for concept
nbarnhouse Jun 3, 2024
53c085b
completed first draft of operator-invocations
nbarnhouse Jun 12, 2024
a884d8b
Merge branch 'Codecademy:main' into main
nbarnhouse Jun 12, 2024
5de5292
added shell for file structure
nbarnhouse Jun 13, 2024
5e4b65e
completed description and syntax, working through examples now
nbarnhouse Jun 15, 2024
7783c09
completed initial write up of numpy.degrees
nbarnhouse Jun 17, 2024
88ef147
corrected missing description
nbarnhouse Jun 17, 2024
2c9017f
corrected md file with missing description
nbarnhouse Jun 17, 2024
8ae7e64
removing file added in error
nbarnhouse Jun 17, 2024
a48af58
Update content/postgresql/concepts/operator-invocations/operator-invo…
nbarnhouse Jun 27, 2024
3ea051a
Update content/postgresql/concepts/operator-invocations/operator-invo…
nbarnhouse Jun 27, 2024
61e08be
Update content/postgresql/concepts/operator-invocations/operator-invo…
nbarnhouse Jun 27, 2024
2ea31a5
Update content/postgresql/concepts/operator-invocations/operator-invo…
nbarnhouse Jun 27, 2024
dff8c89
Update content/postgresql/concepts/operator-invocations/operator-invo…
nbarnhouse Jun 27, 2024
23b2acd
Update content/postgresql/concepts/operator-invocations/operator-invo…
nbarnhouse Jun 27, 2024
ff28c5f
Update content/postgresql/concepts/operator-invocations/operator-invo…
nbarnhouse Jun 27, 2024
d714e37
Update content/postgresql/concepts/operator-invocations/operator-invo…
nbarnhouse Jun 27, 2024
f7f8632
Merge branch 'main' into postgresql-operator_invocations
Sriparno08 Jul 3, 2024
5bbe7b3
Minor changes
Sriparno08 Jul 3, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
completed initial write up of numpy.degrees
  • Loading branch information
nbarnhouse committed Jun 17, 2024
commit 7783c09a1461b4b8b5de27160c7a83c99cbc111c
22 changes: 12 additions & 10 deletions content/numpy/concepts/math-methods/terms/degrees/degrees.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,14 @@ CatalogContent:
- 'paths/computer-science'
---

In NumPy, the **`.degrees()`** function converts angle radians to degrees.
In NumPy, the **`.degrees()`** function converts an angle measure from radians to degrees.

## Syntax

```pseudo
numpy.degrees(x)

numpy.degrees([x, x, x])
```

- `x`: The number or array of numbers in radians that must be converted.
Expand All @@ -29,16 +31,16 @@ numpy.degrees(x)
# Importing the 'numpy' library as 'np'
import numpy as np

# Convert a single number from radians to desgrees
result =

# Convert a single number from radians to degrees
radNum = 4
result = np.degrees(radNum)
print(result)
```

The output of the above code is shown below:

```shell
[3]
229.1831180523293
```


Expand All @@ -49,15 +51,15 @@ The output of the above code is shown below:
import numpy as np

# Convert an array of numbers from radians to degrees
result =

radArray = [ 2, 4, 5, 8]
result = np.degrees(radArray)
print(result)
```

The output of the above code is shown below:

```shell
[3, 5, 6]
[114.59155903 229.18311805 286.47889757 458.3662361 ]
```


Expand All @@ -69,7 +71,7 @@ In this codebyte example, the `.degree()` method converts
```codebyte/python
import numpy as np

result =

radArray = [ 1, 32, 100]
result = np.degrees(radArray)
print(result)
```
Loading