Question: Getting data from Excel using Python is unavailable.

This is my actual code.

```
import pandas as pd

dataset = pd.read_csv('dane.csv')

a = "-JP"

print(dataset.count(a))

```

SAMPLE
<https://gofile.io/d/zjW2EN>

I think to use other library or maybe change every data toString(), but I am not sure about my suggestion.

Answer: 
Just use to\_string() method to convert your frame to string then count your key.

```
import pandas as pd

dataset = pd.read_csv('dane.csv')

a = "-JP"
print(dataset.to_string().count(a))

```

Like this.
first. invoke count method and get "-JP" using bracket notation.

According to [API Reference](https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.DataFrame.count.html):

```
DataFrame.count(axis=0, level=None, numeric_only=False)
// some skipped text..
Parameters
axis: {0 or ‘index’, 1 or ‘columns’}, default 0
If 0 or ‘index’ counts are generated for each column.
If 1 or ‘columns’ counts are generated for each row.

level: int or str, optional
If the axis is a MultiIndex (hierarchical), count along a particular level, collapsing into a DataFrame. A str specifies the level name.

```

you can try this:

```py
print(dataset.count()[a])

```