Skip to content

Commit 9e74997

Browse files
committed
Fixes to README markdown code examples so passes setup.py checks
1 parent d06c6b2 commit 9e74997

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

README.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -9,20 +9,20 @@ A Python package to quickly fetch carbon reservoir records at the Marine Reservo
99
The carbonferret package is simple, but powerful. For instance, let's say we want to find two sediment records
1010
nearest 0° latitude, 0° longitude. We can open a python session and run:
1111

12-
```python
13-
import carbonferret as cf
1412

15-
results = cf.find_near(lat=0, lon=0, n=2)
16-
```
13+
import carbonferret as cf
14+
15+
results = cf.find_near(lat=0, lon=0, n=2)
16+
1717

1818
The variable `results` is a [pandas](http://pandas.pydata.org/) DataFrame with information on sample location and
1919
reservoir values, among other variables provided by the Marine Reservoir Correction database.
2020

2121
We can take advantage of this. For example, we could find the average ΔR of these sites.
2222

23-
```python
24-
results['DeltaR'].mean()
25-
```
23+
24+
results['DeltaR'].mean()
25+
2626
Of course there are several other variables that we can look at, such as site references or site location.
2727

2828
This can be useful if you want to look up a few quick numbers in the lab, or if you're writing a script to
@@ -32,9 +32,9 @@ analyze hundreds of marine sediment cores.
3232

3333
You can install the package [from PyPI](https://pypi.python.org/pypi/carbonferret) with
3434

35-
```
36-
pip install carbonferret
37-
```
35+
36+
pip install carbonferret
37+
3838

3939
## Development and Support
4040

0 commit comments

Comments
 (0)